]> git.baikalelectronics.ru Git - kernel.git/commit
octeontx2-pf: ethtool physical link configuration
authorChristina Jacob <cjacob@marvell.com>
Tue, 9 Feb 2021 10:35:31 +0000 (16:05 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Feb 2021 23:19:53 +0000 (15:19 -0800)
commit3335a2bf6af70a9ae393d1f9861a77d6f600798d
tree03ef398a98016247b00b0996c8351489e2e02d37
parent273598d1112e110dccbe36b5e6cef9b3944c7cce
octeontx2-pf: ethtool physical link configuration

Register set_link_ksetting callback with driver such that
link configurations parameters like advertised mode,speed, duplex
and autoneg can be configured.

below command
ethtool -s eth0 advertise 0x1 speed 10 duplex full autoneg on

Signed-off-by: Christina Jacob <cjacob@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c