summaryrefslogtreecommitdiffstats
path: root/samples/bpf/test_ipip.sh
diff options
context:
space:
mode:
authorKevin Laatz <kevin.laatz@intel.com>2019-08-27 02:25:30 +0000
committerDaniel Borkmann <daniel@iogearbox.net>2019-08-31 01:08:27 +0200
commit3945b37a975d22bed33b525f2933bac82424793d (patch)
tree96d0f8a9bd273899be911c3c6a2e41fa72eb8ff2 /samples/bpf/test_ipip.sh
parent03895e63ff97447e5eab1b71ed46e3662a45bfe8 (diff)
downloadlinux-3945b37a975d22bed33b525f2933bac82424793d.tar.bz2
samples/bpf: use hugepages in xdpsock app
This patch modifies xdpsock to use mmap instead of posix_memalign. With this change, we can use hugepages when running the application in unaligned chunks mode. Using hugepages makes it more likely that we have physically contiguous memory, which supports the unaligned chunk mode better. Signed-off-by: Kevin Laatz <kevin.laatz@intel.com> Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/test_ipip.sh')
0 files changed, 0 insertions, 0 deletions