diff options
| author | Magnus Karlsson <[email protected]> | 2020-08-28 10:26:25 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2020-08-31 21:15:04 +0200 |
| commit | b5aea28dca13456c1a08b9b2ef8a8b92598ac426 (patch) | |
| tree | b4f2c35abc89d52d72e73339f301c56d00361635 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9647c57b11e563f5b33a49ef72b347753917c21c (diff) | |
xsk: Add shared umem support between queue ids
Add support to share a umem between queue ids on the same
device. This mode can be invoked with the XDP_SHARED_UMEM bind
flag. Previously, sharing was only supported within the same
queue id and device, and you shared one set of fill and
completion rings. However, note that when sharing a umem between
queue ids, you need to create a fill ring and a completion ring
and tie them to the socket before you do the bind with the
XDP_SHARED_UMEM flag. This so that the single-producer
single-consumer semantics can be upheld.
Signed-off-by: Magnus Karlsson <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions