diff options
author | Magnus Karlsson <magnus.karlsson@intel.com> | 2019-08-14 09:27:20 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-17 23:07:32 +0200 |
commit | a4500432c2587cb2ae7554537886a4516ff2e7aa (patch) | |
tree | 0d47b6abb6500eec416b23f908a974e101aff3b2 /samples/bpf/xdpsock_user.c | |
parent | ixgbe: add support for AF_XDP need_wakeup feature (diff) | |
download | linux-a4500432c2587cb2ae7554537886a4516ff2e7aa.tar.xz linux-a4500432c2587cb2ae7554537886a4516ff2e7aa.zip |
libbpf: add support for need_wakeup flag in AF_XDP part
This commit adds support for the new need_wakeup flag in AF_XDP. The
xsk_socket__create function is updated to handle this and a new
function is introduced called xsk_ring_prod__needs_wakeup(). This
function can be used by the application to check if Rx and/or Tx
processing needs to be explicitly woken up.
Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdpsock_user.c')
0 files changed, 0 insertions, 0 deletions