]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
i40e/i40evf: Fix handling of napi budget
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 24 Sep 2015 16:04:26 +0000 (09:04 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 16 Oct 2015 11:26:33 +0000 (04:26 -0700)
commitc67caceb864cf15731532ab25162166c228fa270
tree3b8a21efa80fb4834d50770ba7f7854b2a6bbb02
parent51161aa98d0aa4eb20952e16d6c6dbb1d085330e
i40e/i40evf: Fix handling of napi budget

The polling routine for i40e was rounding up the budget for Rx cleanup to
1.  This is incorrect as the netpoll poll call is expecting no Rx to be
processed as the budget passed was 0.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c