summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/xsk.c
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2019-08-14 10:27:19 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2019-08-18 00:07:32 +0300
commit5c129241e2de79f09cb4e50bbca09e1c14ad787d (patch)
tree73059251450019c7ae9d96bdc45600cdeaaef5d0 /tools/lib/bpf/xsk.c
parent3d0c5f1cd268fdd7d2e75eaf3e0d2fe460ac748b (diff)
downloadlinux-5c129241e2de79f09cb4e50bbca09e1c14ad787d.tar.xz
ixgbe: add support for AF_XDP need_wakeup feature
This patch adds support for the need_wakeup feature of AF_XDP. If the application has told the kernel that it might sleep using the new bind flag XDP_USE_NEED_WAKEUP, the driver will then set this flag if it has no more buffers on the NIC Rx ring and yield to the application. For Tx, it will set the flag if it has no outstanding Tx completion interrupts and return to the application. 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 'tools/lib/bpf/xsk.c')
0 files changed, 0 insertions, 0 deletions