ixgbevf: Delay tail write for XDP packets
authorTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 16 Mar 2018 22:34:04 +0000 (15:34 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Mar 2018 22:13:45 +0000 (15:13 -0700)
commitefecfd5f803d5957ccf003310bff432c6ebd653b
tree08b5c08c93e7feb18dace16af2aeef43fca1d71f
parent21092e9ce8b1395f45b2648c839a6d60b21c46e8
ixgbevf: Delay tail write for XDP packets

Current XDP implementation hits the tail on every XDP_TX; change the
driver to only hit the tail after packet processing is complete.

Based on
commit 7379f97a4fce ("ixgbe: delay tail write to every 'n' packets")

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c