linux/drivers/net/ethernet/hisilicon
Jijie Shao 62c50180ff net: hibmcge: fix the np_link_fail error reporting issue
Currently, after modifying device port mode, the np_link_ok state
is immediately checked. At this point, the device may not yet ready,
leading to the querying of an intermediate state.

This patch will poll to check if np_link is ok after
modifying device port mode, and only report np_link_fail upon timeout.

Fixes: e0306637e8 ("net: hibmcge: Add support for mac link exception handling feature")
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-08-08 11:48:49 -07:00
..
hibmcge net: hibmcge: fix the np_link_fail error reporting issue 2025-08-08 11:48:49 -07:00
hns treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
hns3 net: Fix typos 2025-07-25 10:29:07 -07:00
hip04_eth.c net: ethernet: hisilicon: Switch to use hrtimer_setup() 2025-02-18 10:35:45 +01:00
hisi_femac.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
hix5hd2_gmac.c net: ethernet: Switch back to struct platform_driver::remove() 2024-10-04 16:39:56 -07:00
hns_mdio.c net: hisilicon: hns_mdio: remove incorrect ACPI_PTR annotation 2025-02-27 13:42:15 +01:00
Kconfig net: hibmcge: Add a Makefile and update Kconfig for hibmcge 2024-10-21 11:26:53 +02:00
Makefile net: hibmcge: Add a Makefile and update Kconfig for hibmcge 2024-10-21 11:26:53 +02:00