ethtool: set link settings with LINKINFO_SET request
Implement LINKINFO_SET netlink request to set link settings queried by LINKINFO_GET message. Only physical port, phy MDIO address and MDI(-X) control can be set, attempt to modify MDI(-X) status and transceiver is rejected. 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>
Showing
- Documentation/networking/ethtool-netlink.rst 22 additions, 2 deletionsDocumentation/networking/ethtool-netlink.rst
- include/uapi/linux/ethtool_netlink.h 1 addition, 0 deletionsinclude/uapi/linux/ethtool_netlink.h
- net/ethtool/linkinfo.c 71 additions, 0 deletionsnet/ethtool/linkinfo.c
- net/ethtool/netlink.c 5 additions, 0 deletionsnet/ethtool/netlink.c
- net/ethtool/netlink.h 2 additions, 0 deletionsnet/ethtool/netlink.h
Loading
Please register or sign in to comment