[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171029.121827.2234787454051152534.davem@davemloft.net>
Date: Sun, 29 Oct 2017 12:18:27 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: 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
From: Tushar Dave <tushar.n.dave@...cle.com>
Date: Fri, 27 Oct 2017 17:28:22 -0700
> 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>
Applied.
Powered by blists - more mailing lists