summaryrefslogtreecommitdiff
path: root/net/ethtool/linkstate.c
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2021-02-02 21:06:07 +0300
committerJakub Kicinski <kuba@kernel.org>2021-02-04 05:37:29 +0300
commitc8907043c6ac9ed58e6c1a76f2824be714b42228 (patch)
treef9361d4a8cb2685b05aa3be678bb0008e58ebe2b /net/ethtool/linkstate.c
parent012ce4dd3102a0f4d80167de343e9d44b257c1b8 (diff)
downloadlinux-c8907043c6ac9ed58e6c1a76f2824be714b42228.tar.xz
ethtool: Get link mode in use instead of speed and duplex parameters
Currently, when user space queries the link's parameters, as speed and duplex, each parameter is passed from the driver to ethtool. Instead, get the link mode bit in use, and derive each of the parameters from it in ethtool. Signed-off-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ethtool/linkstate.c')
0 files changed, 0 insertions, 0 deletions