Re: [PATCH net-next v8 11/14] ethtool: provide link mode information with LINKMODES_GET request

From: Florian Fainelli
Date: Mon Dec 23 2019 - 23:35:46 EST




On 12/22/2019 3:46 PM, Michal Kubecek wrote:
> Implement LINKMODES_GET netlink request to get link modes related
> information provided by ETHTOOL_GLINKSETTINGS and ETHTOOL_GSET ioctl
> commands.
>
> This request provides supported, advertised and peer advertised link modes,
> autonegotiation flag, speed and duplex.
>
> LINKMODES_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