linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3/hns3pf
Fuyun Liang c040366bc4 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: 46a3df9f97 (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>
2017-11-11 15:17:56 +09:00
..
hclge_cmd.c net: hns3: Refactor the initialization of command queue 2017-11-02 21:28:35 +09:00
hclge_cmd.h net: hns3: fix a bug when getting phy address from NCL_config file 2017-11-11 15:17:56 +09:00
hclge_dcb.c net: hns3: Add mqprio hardware offload support in hns3 driver 2017-10-19 12:45:45 +01:00
hclge_dcb.h net: hns3: Add hclge_dcb module for the support of DCB feature 2017-09-28 10:35:12 -07:00
hclge_main.c net: hns3: cleanup mac auto-negotiation state query in hclge_update_speed_duplex 2017-11-11 15:17:56 +09:00
hclge_main.h net: hns3: Add reset process in hclge_main 2017-11-02 21:28:35 +09:00
hclge_mdio.c net: hns3: fix a bug for phy supported feature initialization 2017-11-03 21:36:50 +09:00
hclge_mdio.h net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC 2017-08-03 15:08:17 -07:00
hclge_tm.c net: hns3: remove a couple of redundant assignments 2017-11-02 15:53:14 +09:00
hclge_tm.h net: hns3: Add some interface for the support of DCB feature 2017-09-28 10:35:11 -07:00
hns3_dcbnl.c net: hns3: Add hns3_get_handle macro in hns3 driver 2017-10-09 09:46:54 -07:00
hns3_enet.c net_sch: mqprio: Change TC_SETUP_MQPRIO to TC_SETUP_QDISC_MQPRIO 2017-11-08 12:23:38 +09:00
hns3_enet.h net: hns3: Add timeout process in hns3_enet 2017-11-02 21:28:35 +09:00
hns3_ethtool.c net: hns3: add support for nway_reset 2017-11-03 21:36:49 +09:00
Makefile net: hns3: Add dcb netlink interface for the support of DCB feature 2017-09-28 10:35:12 -07:00