]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add new ethtool supported port types based on media.
authorRahul Verma <rahulv@marvell.com>
Tue, 6 Aug 2019 06:59:50 +0000 (23:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 01:14:07 +0000 (18:14 -0700)
commit67d06aa5650192f67d76e53ea1d6d10b764f5732
tree9533aef3153ffc326a0a43d2277ba32797a34acf
parentf35f82962ecb8a344067735387301163ec90ff91
qed: Add new ethtool supported port types based on media.

Supported ports in ethtool <eth1> are displayed based on media type.
For media type fibre and twinaxial, port type is "FIBRE". Media type
Base-T is "TP" and media KR is "Backplane".

V1->V2:
Corrected the subject.

Signed-off-by: Rahul Verma <rahulv@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
include/linux/qed/qed_if.h