net: aquantia: Add renegotiate ethtool operation support
authorAnton Mikaev <amikaev@aquantia.com>
Mon, 2 Jul 2018 14:03:38 +0000 (17:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Jul 2018 14:23:48 +0000 (23:23 +0900)
commitb8d68b62d99355c827243c62f00de70168e1661f
tree051f6979d087a78603efc0961481cceacb354cf5
parent288551de45aa39a751bc03e7976919aa896c5093
net: aquantia: Add renegotiate ethtool operation support

Adds ethtool -r|--negotiate operation support. It triggers special
control bit on FW interface causing FW to restart link negotiation.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: Anton Mikaev <amikaev@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c
drivers/net/ethernet/aquantia/atlantic/aq_hw.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c