Skip to content
Commit c8907043 authored by Danielle Ratson's avatar Danielle Ratson Committed by Jakub Kicinski
Browse files

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: default avatarDanielle Ratson <danieller@nvidia.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 012ce4dd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment