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.