[PATCH v2] ethdev: add Linux ethtool link mode conversion
Thomas Monjalon
thomas at monjalon.net
Sun Mar 3 10:36:12 CET 2024
01/03/2024 19:00, Stephen Hemminger:
> On Fri, 01 Mar 2024 16:20:56 +0100
> Thomas Monjalon <thomas at 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
More information about the dev
mailing list