summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf
diff options
context:
space:
mode:
authorMaxim Mikityanskiy <maximmi@mellanox.com>2019-06-26 17:35:25 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-27 22:53:26 +0200
commit2640d3c8123223e0a205b2a25a446df6f072b3ea (patch)
tree363a9ed3c58920994273d03e3c8aa976382f181e /tools/lib/bpf
parentd57d76428ae9abca51fb89f9326da9d4b1cf8270 (diff)
downloadlinux-2640d3c8123223e0a205b2a25a446df6f072b3ea.tar.gz
linux-2640d3c8123223e0a205b2a25a446df6f072b3ea.tar.bz2
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 'tools/lib/bpf')
0 files changed, 0 insertions, 0 deletions