summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorMagnus Karlsson <magnus.karlsson@intel.com>2021-05-06 14:43:49 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-05-07 01:19:55 +0200
commit3b80d106e110d39d3f678954d3b55078669cf07e (patch)
tree61d6a2a17c5cbe3f72244fe251a2f412623e4f58 /README
parent9683e5775c75097c46bd24e65411b16ac6c6cbb3 (diff)
downloadlinux-3b80d106e110d39d3f678954d3b55078669cf07e.tar.bz2
samples/bpf: Consider frame size in tx_only of xdpsock sample
Fix the tx_only micro-benchmark in xdpsock to take frame size into consideration. It was hardcoded to the default value of frame_size which is 4K. Changing this on the command line to 2K made half of the packets illegal as they were outside the umem and were therefore discarded by the kernel. Fixes: 46738f73ea4f ("samples/bpf: add use of need_wakeup flag in xdpsock") Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Link: https://lore.kernel.org/bpf/20210506124349.6666-1-magnus.karlsson@gmail.com
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions