ixgbe: delay tail write to every 'n' packets
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 28 Mar 2017 16:47:03 +0000 (09:47 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 30 Apr 2017 03:01:02 +0000 (20:01 -0700)
commit7379f97a4fce3c1aa3b80a85cb8440453bf30411
treea6ec4bd7dd56bd8eaa74d9ce319ee3e38a9789d3
parent33fdc82f08835de4c39a00657742f5b11db00d32
ixgbe: delay tail write to every 'n' packets

Current XDP implementation hits the tail on every XDP_TX return
code. This patch changes driver behavior to only hit the tail after
packet processing is complete.

With this patch I can run XDP drop programs @ 14+Mpps and XDP_TX
programs are at ~13.5Mpps.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c