Re: [PATCH net-next v8 07/14] ethtool: provide link settings with LINKINFO_GET request
From: Florian Fainelli
Date: Mon Dec 23 2019 - 23:32:59 EST
On 12/22/2019 3:45 PM, Michal Kubecek wrote:
> Implement LINKINFO_GET netlink request to get basic link settings provided
> by ETHTOOL_GLINKSETTINGS and ETHTOOL_GSET ioctl commands.
>
> This request provides settings not directly related to autonegotiation and
> link mode selection: physical port, phy MDIO address, MDI(-X) status,
> MDI(-X) control and transceiver.
>
> LINKINFO_GET request can be used with NLM_F_DUMP (without device
> identification) to request the information for all devices in current
> network namespace providing the data.
>
> Signed-off-by: Michal Kubecek <mkubecek@xxxxxxx>
Reviewed-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian