summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMaxim Mikityanskiy2019-06-26 16:35:25 +0200
committerDaniel Borkmann2019-06-27 22:53:26 +0200
commit2640d3c8123223e0a205b2a25a446df6f072b3ea (patch)
tree363a9ed3c58920994273d03e3c8aa976382f181e /samples
parentxsk: Add API to check for available entries in FQ (diff)
downloadkernel-qcow2-linux-2640d3c8123223e0a205b2a25a446df6f072b3ea.tar.gz
kernel-qcow2-linux-2640d3c8123223e0a205b2a25a446df6f072b3ea.tar.xz
kernel-qcow2-linux-2640d3c8123223e0a205b2a25a446df6f072b3ea.zip
xsk: Add getsockopt XDP_OPTIONS
Make it possible for the application to determine whether the AF_XDP socket is running in zero-copy mode. To achieve this, add a new getsockopt option XDP_OPTIONS that returns flags. The only flag supported for now is the zero-copy mode indicator. Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com> Signed-off-by: Tariq Toukan <tariqt@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Acked-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions