]> 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)
commit43fc2e300738b3420c3a9a7e796c5d9faa61dbef
tree85c49701511204859d92b8bd12adf49a825a4f39
parentd1e7cb324fc88a92ee70a4e2d6cd5f1ca7019cd0
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