commit | 6dfca831c03ef654b1f7bff1b8d487d330e9f76b | [log] [tgz] |
---|---|---|
author | Tushar Dave <tushar.n.dave@oracle.com> | Fri Oct 27 16:12:30 2017 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 29 12:17:13 2017 +0900 |
tree | a61e2bc456827fd8eaed8aef7eda09a0c246c7df | |
parent | 5c1a6eaf0d4eb51e96f193a603af59b55660cb08 [diff] |
samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1 Default rlimit RLIMIT_MEMLOCK is 64KB, causes bpf map failure. e.g. [root@lab bpf]#./xdp1 -N $(</sys/class/net/eth2/ifindex) failed to create a map: 1 Operation not permitted Fix it. Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>