summaryrefslogtreecommitdiffstats
path: root/samples/bpf/asm_goto_workaround.h
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2020-11-30 19:52:03 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2020-12-01 00:09:25 +0100
commit284cbc61f851bf86326b28acfe6d161691d4a4ed (patch)
treec44687179178a42a5ebaead86c51d41f8489334c /samples/bpf/asm_goto_workaround.h
parentf2d2728220ac6482c69c5f018ec09bafd688e7d1 (diff)
downloadlinux-284cbc61f851bf86326b28acfe6d161691d4a4ed.tar.bz2
samples/bpf: Use recvfrom() in xdpsock/l2fwd
Start using recvfrom() the l2fwd scenario, instead of poll() which is more expensive and need additional knobs for busy-polling. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Magnus Karlsson <magnus.karlsson@intel.com> Link: https://lore.kernel.org/bpf/20201130185205.196029-9-bjorn.topel@gmail.com
Diffstat (limited to 'samples/bpf/asm_goto_workaround.h')
0 files changed, 0 insertions, 0 deletions