linux/drivers/net/ethernet/intel
Björn Töpel 411dc16ff1 i40e: clean zero-copy XDP Rx ring on shutdown/reset
Outstanding Rx descriptors are temporarily stored on a stash/reuse
queue. When/if the HW rings comes up again, entries from the stash are
used to re-populate the ring.

The latter required some restructuring of the allocation scheme for
the AF_XDP zero-copy implementation. There is now a fast, and a slow
allocation. The "fast allocation" is used from the fast-path and
obtains free buffers from the fill ring and the internal recycle
mechanism. The "slow allocation" is only used in ring setup, and
obtains buffers from the fill ring and the stash (if any).

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2018-09-25 13:15:16 -07:00
..
e1000 e1000: remove set but not used variable 'txb2b' 2018-09-19 23:09:23 -07:00
e1000e intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
fm10k intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
i40e i40e: clean zero-copy XDP Rx ring on shutdown/reset 2018-09-25 13:15:16 -07:00
iavf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ice intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
igb intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
igbvf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ixgb intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ixgbe intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
ixgbevf intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
e100.c intel-ethernet: use correct module license 2018-09-18 15:32:59 -07:00
Kconfig intel-ethernet: rename i40evf to iavf 2018-09-18 08:43:03 -07:00
Makefile intel-ethernet: rename i40evf to iavf 2018-09-18 08:43:03 -07:00