<div dir="ltr">Hi Thomas,<div><br></div><div>Information like advertising: speed, pause, autonegotiation etc. and that same for link partner advertising. </div><div>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. </div><div>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. </div><div><br></div><div>Regards,</div><div>Marek </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 3, 2024 at 4:48 PM Thomas Monjalon <<a href="mailto:thomas@monjalon.net" target="_blank">thomas@monjalon.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">03/04/2024 15:59, Marek Pazdan:<br>
> There are link settings parameters available from PMD drivers level<br>
> which are currently not exposed to the user via consistent interface.<br>
> When interface is available for system level those information can<br>
> be acquired with 'ethtool DEVNAME' (ioctl: ETHTOOL_SLINKSETTINGS/<br>
> ETHTOOL_GLINKSETTINGS). There are use cases where<br>
> physical interface is passthrough to dpdk driver and is not available<br>
> from system level. Information provided by ioctl carries information<br>
> useful for link auto negotiation settings among others.<br>
<br>
Which information is missing exactly?<br>
Why are you trying to mimic ethtool API?<br>
<br>
Please let's add what is missing instead of adding a full new API.<br>
<br>
<br>
</blockquote></div>