[PATCH]  lib: add get/set link settings interface
    Thomas Monjalon 
    thomas at monjalon.net
       
    Wed Apr  3 16:48:19 CEST 2024
    
    
  
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.
    
    
More information about the dev
mailing list