diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2020-11-30 19:52:03 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-12-01 00:09:25 +0100 |
commit | 284cbc61f851bf86326b28acfe6d161691d4a4ed (patch) | |
tree | c44687179178a42a5ebaead86c51d41f8489334c /samples/mei | |
parent | f2d2728220ac6482c69c5f018ec09bafd688e7d1 (diff) |
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/mei')
0 files changed, 0 insertions, 0 deletions