linux-loongson/drivers/net/ethernet/hisilicon/hibmcge
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
..
hbg_common.h net: hibmcge: support for statistics of reset failures 2025-07-25 11:01:53 -07:00
hbg_debugfs.c net: hibmcge: fix the incorrect np_link fail state issue. 2025-04-11 20:17:36 -07:00
hbg_debugfs.h net: hibmcge: Add debugfs supported in this module 2024-12-17 20:01:38 -08:00
hbg_diagnose.c net: hibmcge: support for statistics of reset failures 2025-07-25 11:01:53 -07:00
hbg_diagnose.h net: hibmcge: Add support for BMC diagnose feature 2025-03-04 13:45:33 +01:00
hbg_err.c net: hibmcge: fix rtnl deadlock issue 2025-08-08 11:48:49 -07:00
hbg_err.h net: hibmcge: Add support for abnormal irq handling feature 2025-03-04 13:45:33 +01:00
hbg_ethtool.c net: hibmcge: support for statistics of reset failures 2025-07-25 11:01:53 -07:00
hbg_ethtool.h net: hibmcge: Add support for dump statistics 2025-03-04 13:45:33 +01:00
hbg_hw.c net: hibmcge: fix the np_link_fail error reporting issue 2025-08-08 11:48:49 -07:00
hbg_hw.h net: hibmcge: Add pauseparam supported in this module 2024-12-17 20:01:39 -08:00
hbg_irq.c net: hibmcge: fix the share of irq statistics among different network ports issue 2025-04-11 20:17:36 -07:00
hbg_irq.h
hbg_main.c net: hibmcge: fix wrong mtu log issue 2025-04-11 20:17:36 -07:00
hbg_mdio.c net: hibmcge: support scenario without PHY 2025-07-08 08:54:25 -07:00
hbg_mdio.h net: hibmcge: Add support for mac link exception handling feature 2025-03-04 13:45:33 +01:00
hbg_reg.h net: hibmcge: configure FIFO thresholds according to the MAC controller documentation 2025-07-08 08:54:26 -07:00
hbg_txrx.c net: hibmcge: Add support for checksum offload 2025-03-04 13:45:33 +01:00
hbg_txrx.h net: hibmcge: fix the division by zero issue 2025-08-08 11:48:49 -07:00
Makefile net: hibmcge: Add support for BMC diagnose feature 2025-03-04 13:45:33 +01:00