]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix handling of NAPI budget when multiple queues are enabled per vector
authorAlexander Duyck <aduyck@mirantis.com>
Tue, 22 Sep 2015 21:35:41 +0000 (14:35 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 23 Nov 2015 19:08:49 +0000 (11:08 -0800)
commit3a643e3cea98652b858a2b84e64835c74dfa394e
tree38e9e489192df6b629ac4e5c48a2557c635d2492
parent1a951b462f5f34ce6f7a34376665d3f5d743bb9e
ixgbe: Fix handling of NAPI budget when multiple queues are enabled per vector

This patch corrects an issue in which the polling routine would increase
the budget for Rx to at least 1 per queue if multiple queues were present.
This would result in Rx packets being processed when the budget was 0 which
is meant to indicate that no Rx can be handled.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Darin Miller <darin.j.miller@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c