aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2018-09-07 10:18:47 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-09-25 13:15:16 -0700
commit411dc16ff1775517ec91cdb64be7ee0daca44e22 (patch)
tree73b00ba78878f326e111c092c94f0d3200a4957c /COPYING
parentnet: xsk: add a simple buffer reuse queue (diff)
downloadlinux-dev-411dc16ff1775517ec91cdb64be7ee0daca44e22.tar.xz
linux-dev-411dc16ff1775517ec91cdb64be7ee0daca44e22.zip
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions