aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-09-07 10:18:46 +0200
committerJeff Kirsher <[email protected]>2018-09-25 13:13:15 -0700
commitf5bd91388e26557f64ca999e0006038c7a919308 (patch)
tree28d868b5c3ed674e3bc2e18cd179657d4301bd9d /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent9dbb137045774f66d036ce3bcdd3f36b9401f8d4 (diff)
net: xsk: add a simple buffer reuse queue
XSK UMEM is strongly single producer single consumer so reuse of frames is challenging. Add a simple "stash" of FILL packets to reuse for drivers to optionally make use of. This is useful when driver has to free (ndo_stop) or resize a ring with an active AF_XDP ZC socket. Signed-off-by: Jakub Kicinski <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions