[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d7c06d26-a1c2-baaf-d7d1-5b1ba87e4fd7@gmail.com>
Date: Sun, 15 Jul 2018 14:11:49 -0600
From: David Ahern <dsahern@...il.com>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>,
alexei.starovoitov@...il.com, daniel@...earbox.net,
stephen@...workplumber.org
Cc: netdev@...r.kernel.org, oss-drivers@...ronome.com
Subject: Re: [PATCH iproute2-next v2] iplink: add support for reporting
multiple XDP programs
On 7/13/18 4:54 PM, Jakub Kicinski wrote:
> Kernel now supports attaching XDP programs in the driver
> and hardware at the same time. Print that information
> correctly.
>
> In case there are multiple programs attached kernel will
> not provide IFLA_XDP_PROG_ID, so don't expect it to be
> there (this also improves the printing for very old kernels
> slightly, as it avoids unnecessary "prog/xdp" line).
>
...
>
> Signed-off-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
> Reviewed-by: Quentin Monnet <quentin.monnet@...ronome.com>
> ---
> v2:
> - const char * for constant string;
> - add more compat for older kernels.
> ---
> ip/iplink_xdp.c | 73 +++++++++++++++++++++++++++++++++++++++++--------
> 1 file changed, 61 insertions(+), 12 deletions(-)
>
applied to iproute2-next. Thanks
Powered by blists - more mailing lists