[Intel-wired-lan] [PATCH bpf-next v6 11/12] samples/bpf: use hugepages in xdpsock app

Jonathan Lemon jonathan.lemon at gmail.com
Fri Aug 30 15:51:12 UTC 2019



On 26 Aug 2019, at 19:25, Kevin Laatz wrote:

> 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 at intel.com>
Acked-by: Jonathan Lemon <jonathan.lemon at gmail.com>


More information about the Intel-wired-lan mailing list