Thread (3 messages) flat view 3 messages, 3 authors, 2018-02-14

Re: [net-next] samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp_redirect

From: John Fastabend <john.fastabend@gmail.com>
Date: 2018-02-14 02:56:19

On 02/09/2018 11:56 AM, Tushar Dave wrote:
Default rlimit RLIMIT_MEMLOCK is 64KB, causes bpf map failure.
e.g.
[root@labbpf]# ./xdp_redirect $(</sys/class/net/eth2/ifindex) \
quoted
$(</sys/class/net/eth3/ifindex)
failed to create a map: 1 Operation not permitted

The failure is seen when executing xdp_redirect while xdp_monitor
is already runnig.

Signed-off-by: Tushar Dave <redacted>
---
Looks good to me.

Acked-by: John Fastabend <john.fastabend@gmail.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help