[PATCH] lib: add get/set link settings interface

Stephen Hemminger stephen at networkplumber.org
Wed Apr 3 19:23:02 CEST 2024


On Wed, 3 Apr 2024 16:59:08 +0200
Marek Pazdan <mpazdan at arista.com> wrote:

> 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

DPDK already had this info under rte_eth_conf and it is supported
on all drivers. Why introduce yet another API and only for some drivers?


More information about the dev mailing list