[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <45a51f5a-4598-4ecb-7374-3a1fccfd258b@iogearbox.net>
Date: Wed, 26 Jun 2019 16:33:10 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: "Daniel T. Lee" <danieltimlee@...il.com>,
Alexei Starovoitov <ast@...nel.org>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v2] samples: bpf: make the use of xdp samples consistent
On 06/25/2019 02:55 AM, Daniel T. Lee wrote:
> Currently, each xdp samples are inconsistent in the use.
> Most of the samples fetch the interface with it's name.
> (ex. xdp1, xdp2skb, xdp_redirect_cpu, xdp_sample_pkts, etc.)
>
> But some of the xdp samples are fetching the interface with
> ifindex by command argument.
>
> This commit enables xdp samples to fetch interface with it's name
> without changing the original index interface fetching.
> (<ifname|ifindex> fetching in the same way as xdp_sample_pkts_user.c does.)
>
> Signed-off-by: Daniel T. Lee <danieltimlee@...il.com>
Applied, thanks!
Powered by blists - more mailing lists