[PATCH] lib: add get/set link settings interface
Marek Pazdan
mpazdan at arista.com
Wed Apr 3 16:59:08 CEST 2024
Hi Thomas,
Information like advertising: speed, pause, autonegotiation etc. and that
same for link partner advertising.
I try to mimic ethtool since it's a common, well known and widely used tool
so adding an API which provides the same set of information in case the
interface is passthrough to dpdk will be useful I think.
I've 2 more patches dependent on the one we are discussing now, but I need
patchwork id to add dependency information. I need moderator approval for
the current patch.
Regards,
Marek
On Wed, Apr 3, 2024 at 4:48 PM Thomas Monjalon <thomas at monjalon.net> wrote:
> 03/04/2024 15:59, Marek Pazdan:
> > There are link settings parameters available from PMD drivers level
> > which are currently not exposed to the user via consistent interface.
> > When interface is available for system level those information can
> > be acquired with 'ethtool DEVNAME' (ioctl: ETHTOOL_SLINKSETTINGS/
> > ETHTOOL_GLINKSETTINGS). There are use cases where
> > physical interface is passthrough to dpdk driver and is not available
> > from system level. Information provided by ioctl carries information
> > useful for link auto negotiation settings among others.
>
> Which information is missing exactly?
> Why are you trying to mimic ethtool API?
>
> Please let's add what is missing instead of adding a full new API.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20240403/ada339e1/attachment.htm>
More information about the dev
mailing list