[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180214014359.hhr2dudo3kcrcekg@ast-mbp.dhcp.thefacebook.com>
Date: Tue, 13 Feb 2018 17:44:01 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Tushar Dave <tushar.n.dave@...cle.com>
Cc: ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org
Subject: Re: [net-next] samples/bpf: adjust rlimit RLIMIT_MEMLOCK for
xdp_redirect
On Fri, Feb 09, 2018 at 11:56:12AM -0800, 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>
Applied to bpf-next, thanks Tushar.
Powered by blists - more mailing lists