Subject: Re: [PATCH v2 bpf 0/5] New netdev feature flags for XDP

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Mon, 07 Dec 2020 13:04:30 +0100

Jakub Kicinski <[email-masked]> writes:

> On Fri, 04 Dec 2020 18:26:10 +0100 Toke Høiland-Jørgensen wrote:
>> Jakub Kicinski <[email-masked]> writes:
>> 
>> > On Fri,  4 Dec 2020 11:28:56 +0100 [email-masked] wrote:  
>> >>  * Extend ethtool netlink interface in order to get access to the XDP
>> >>    bitmap (XDP_PROPERTIES_GET). [Toke]  
>> >
>> > That's a good direction, but I don't see why XDP caps belong in ethtool
>> > at all? We use rtnetlink to manage the progs...  
>> 
>> You normally use ethtool to get all the other features a device support,
>> don't you?
>
> Not really, please take a look at all the IFLA attributes. There's 
> a bunch of capabilities there.

Ah, right, TIL. Well, putting this new property in rtnetlink instead of
ethtool is fine by me as well :)

-Toke