commit | 59486329b46f31532ab032014fbaae72e9f190c3 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@redhat.com> | Fri May 01 10:34:38 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon May 04 00:06:55 2015 -0400 |
tree | bc80091cb635563920b38e95698977263eb90b3a | |
parent | 4212b5433187d01b5ae83664b06e990a9116250f [diff] |
fm10k: Do not assume budget will never be 0 for NAPI The netpoll path will call napi->poll with a budget of 0 in order to clean the Tx rings only. This change updates the fm10k driver so that it will correctly support that instead of cleaning 1 Rx frame if a budget of 0 is received. Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>