diff options
author | Eric Dumazet <edumazet@google.com> | 2015-01-22 07:56:18 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-25 00:21:45 -0800 |
commit | 6088beef3f7517717bd21d90b379714dd0837079 (patch) | |
tree | 442e30aec6647e2aee0343f6bc328dfd2e51b98b /net | |
parent | f104fedc0da126abe93dd0f4a9fa13e5133bf9df (diff) | |
download | linux-6088beef3f7517717bd21d90b379714dd0837079.tar.bz2 |
netxen: fix netxen_nic_poll() logic
NAPI poll logic now enforces that a poller returns exactly the budget
when it wants to be called again.
If a driver limits TX completion, it has to return budget as well when
the limit is hit, not the number of received packets.
Reported-and-tested-by: Mike Galbraith <umgwanakikbuti@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: d75b1ade567f ("net: less interrupt masking in NAPI")
Cc: Manish Chopra <manish.chopra@qlogic.com>
Acked-by: Manish Chopra <manish.chopra@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions