01/03/2024 19:00, Stephen Hemminger: > On Fri, 01 Mar 2024 16:20:56 +0100 > Thomas Monjalon <tho...@monjalon.net> wrote: > > > > > > > > > The use case is to get capabilities from the kernel driver via ethtool > > > > ioctl. > > > > > > > > > > Sure, as it is adding kernel ethtool conversion, DPDK driver will get > > > link from kernel driver, thanks for clarification. > > > > Yes the PMD uses ethtool API to get device capabilies. > > Is this the old ioctl interface, or the new (and preferred) ethtool over > netlink API?
mlx5 is using ioctl commands ETHTOOL_GSET and ETHTOOL_GLINKSETTINGS