aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/tipc
diff options
context:
space:
mode:
authorFuyun Liang <liangfuyun1@huawei.com>2017-11-08 15:52:23 +0800
committerDavid S. Miller <davem@davemloft.net>2017-11-11 15:17:56 +0900
commitc040366bc4a58f719e61111dea4b550b71b2a0b4 (patch)
tree5f518f58026c9126dbe51f9d6ee71e416743346f /net/tipc
parentnet: hns3: fix a bug when getting phy address from NCL_config file (diff)
downloadwireguard-linux-c040366bc4a58f719e61111dea4b550b71b2a0b4.tar.xz
wireguard-linux-c040366bc4a58f719e61111dea4b550b71b2a0b4.zip
net: hns3: cleanup mac auto-negotiation state query in hclge_update_speed_duplex
When checking whether auto-negotiation is on, driver only needs to check the value of mac.autoneg(SW) directly, and does not need to query it from hardware. Because this value is always synchronized with the auto-negotiation state of hardware. This patch removes mac auto-negotiation state query in hclge_update_speed_duplex(). Fixes: 46a3df9f9718 (net: hns3: Add HNS3 Acceleration Engine & Compatibility Layer Support) Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com> Signed-off-by: Lipeng <lipeng321@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions