summaryrefslogtreecommitdiff
path: root/tools/memory-model
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2021-02-02 20:06:11 +0200
committerJakub Kicinski <kuba@kernel.org>2021-02-03 18:37:29 -0800
commit25a96f057a0fab318376c85bd83afda267f8ad33 (patch)
tree3234b5861265d434ca85e193c34478c5c03e31f9 /tools/memory-model
parent763ece86f0c27c751d6fac6b15863f5124f79a52 (diff)
mlxsw: ethtool: Pass link mode in use to ethtool
Currently, when user space queries the link's parameters, as speed and duplex, each parameter is passed from the driver to ethtool. Instead, pass the link mode bit in use. In Spectrum-1, simply pass the bit that is set to '1' from PTYS register. In Spectrum-2, pass the first link mode bit in the mask of the used link mode. Signed-off-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/memory-model')
0 files changed, 0 insertions, 0 deletions