Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ethtool: provide link state with LINKSTATE_GET request | Michal Kubecek | 2019-12-28 | 1 | -0/+74 |
Implement LINKSTATE_GET netlink request to get link state information. At the moment, only link up flag as provided by ETHTOOL_GLINK ioctl command is returned. LINKSTATE_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@suse.cz> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> |