mirror_ubuntu-kernels/drivers/net/ethernet/hisilicon
Guangbin Huang 510d7b6ae8 net: hns3: fix setting incorrect phy link ksettings for firmware in resetting process
Currently, if driver is in phy-imp(phy controlled by imp firmware) mode, as
driver did not update phy link ksettings after initialization process or
not update advertising when getting phy link ksettings from firmware, it
may set incorrect phy link ksettings for firmware in resetting process.
So fix it.

Fixes: f5f2b3e4dc ("net: hns3: add support for imp-controlled PHYs")
Fixes: c5ef83cbb1 ("net: hns3: fix for phy_addr error in hclge_mac_mdio_config")
Fixes: 2312e050f4 ("net: hns3: Fix for deadlock problem occurring when unregistering ae_algo")
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: Hao Lan <lanhao@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-11-15 13:29:26 +01:00
..
hns net: hns: fix possible memory leak in hnae_ae_register() 2022-10-19 17:28:52 -07:00
hns3 net: hns3: fix setting incorrect phy link ksettings for firmware in resetting process 2022-11-15 13:29:26 +01:00
hip04_eth.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
hisi_femac.c eth: switch to netif_napi_add_weight() 2022-05-08 11:33:57 +01:00
hix5hd2_gmac.c net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
hns_mdio.c net: hns: Fix spelling mistakes in comments. 2022-07-04 11:15:45 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile