Re: [PATCH iproute2-next v2] iplink: add support for reporting multiple XDP programs

2018-07-15 Thread David Ahern
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 (

Re: [PATCH iproute2-next v2] iplink: add support for reporting multiple XDP programs

2018-07-14 Thread Daniel Borkmann
On 07/14/2018 12:54 AM, 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 > the

[PATCH iproute2-next v2] iplink: add support for reporting multiple XDP programs

2018-07-13 Thread Jakub Kicinski
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 sli