[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171028015934.3aajugi7nqtogwm3@ast-mbp>
Date: Fri, 27 Oct 2017 18:59:36 -0700
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: [PATCH net-next] samples/bpf: adjust rlimit RLIMIT_MEMLOCK for
xdp_redirect_map
On Fri, Oct 27, 2017 at 05:28:22PM -0700, Tushar Dave wrote:
> Default rlimit RLIMIT_MEMLOCK is 64KB, causes bpf map failure.
> e.g.
> [root@...bpf]# ./xdp_redirect_map $(</sys/class/net/eth2/ifindex) \
> > $(</sys/class/net/eth3/ifindex)
> failed to create a map: 1 Operation not permitted
>
> The failure is 100% when multiple xdp programs are running. Fix it.
>
> Signed-off-by: Tushar Dave <tushar.n.dave@...cle.com>
Acked-by: Alexei Starovoitov <ast@...nel.org>
Powered by blists - more mailing lists