[dpdk-dev] [PATCH v1] net/tap: add eBPF ARM and POWERPC architectures support

Thomas Monjalon thomas at monjalon.net
Wed Jan 31 15:28:55 CET 2018


31/01/2018 14:44, Ophir Munk:
> This commit adds eBPF system call definitions for ARM and POWERPC
> architectures.
> Old Linux header files may not define eBPF system call numbers.
> In order to enable a successful eBPF compilation on all Linux
> platforms - the missing system call definitions are explicitly added.
> 
> #elif defined(__powerpc__)
> # define __NR_bpf 361
> #elif defined(__arm__)
> # define __NR_bpf 386

PowerPC is already added on master branch.


More information about the dev mailing list