diff options
author | Tushar Dave <tushar.n.dave@oracle.com> | 2017-10-27 16:12:30 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-29 12:17:13 +0900 |
commit | 6dfca831c03ef654b1f7bff1b8d487d330e9f76b (patch) | |
tree | a61e2bc456827fd8eaed8aef7eda09a0c246c7df /samples/bpf/cgroup_helpers.c | |
parent | 5c1a6eaf0d4eb51e96f193a603af59b55660cb08 (diff) | |
download | lwn-6dfca831c03ef654b1f7bff1b8d487d330e9f76b.tar.gz lwn-6dfca831c03ef654b1f7bff1b8d487d330e9f76b.zip |
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>
Diffstat (limited to 'samples/bpf/cgroup_helpers.c')
0 files changed, 0 insertions, 0 deletions