]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: disable auto-negotiation off with 1000M setting in ethtool
authorYufeng Mo <moyufeng@huawei.com>
Sat, 9 May 2020 09:27:41 +0000 (17:27 +0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 11 May 2020 02:43:22 +0000 (19:43 -0700)
commitdd339502b4bd1a77672a9502a7c418303d7b808c
tree85c49701511204859d92b8bd12adf49a825a4f39
parent1cdd76cb2608103b60126880a8caa46574e62009
net: hns3: disable auto-negotiation off with 1000M setting in ethtool

The 802.3 specification does not specify the behavior of
auto-negotiation off with 1000M in PHY. Therefore, some PHY
compatibility issues occur. This patch forbids the setting of
this unreasonable mode by ethtool in driver.

Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c