[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6c31924a-f8f0-d646-3212-231d71fee794@gmail.com>
Date: Tue, 13 Feb 2018 18:56:08 -0800
From: John Fastabend <john.fastabend@...il.com>
To: Tushar Dave <tushar.n.dave@...cle.com>, ast@...nel.org,
daniel@...earbox.net, netdev@...r.kernel.org
Subject: Re: [net-next] samples/bpf: adjust rlimit RLIMIT_MEMLOCK for
xdp_redirect
On 02/09/2018 11:56 AM, Tushar Dave wrote:
> Default rlimit RLIMIT_MEMLOCK is 64KB, causes bpf map failure.
> e.g.
> [root@...bpf]# ./xdp_redirect $(</sys/class/net/eth2/ifindex) \
>> $(</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 <tushar.n.dave@...cle.com>
> ---
Looks good to me.
Acked-by: John Fastabend <john.fastabend@...il.com>
Powered by blists - more mailing lists