I'm running this Ubuntu: Linux anemie 5.0.0-31-generic #33~18.04.1-Ubuntu SMP I've cloned and compiled the Linux kernel - the same version and config as of my machine's. When trying to run the xdp_redirec_map sample program from samples/bpf I get: sudo ./xdp_redirect_map 2 1 #=> failed to create map 0 (tx_port): 1 Operation not permitted I read that, on certain systems, the default limit of locked memory might pose problems, and I mitigated that as seen below: ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 31231 max locked memory (kbytes, -l) 1024 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 31231 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited What else can I try? Regards -- Radu Stoenescu