[Intel-wired-lan] [PATCH v2 bpf 0/5] New netdev feature flags for XDP

Toke Høiland-Jørgensen toke at redhat.com
Fri Dec 4 17:26:10 UTC 2020


Jakub Kicinski <kuba at kernel.org> writes:

> On Fri,  4 Dec 2020 11:28:56 +0100 alardam at gmail.com 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? And for XDP you even use it to configure the number of
TXQs.

I mean, it could be an rtnetlink interface as well, of course, but I
don't think it's completely weird if this goes into ethtool...

-Toke



More information about the Intel-wired-lan mailing list