diff options
author | 2025-04-10 10:13:25 +0800 | |
---|---|---|
committer | 2025-04-11 20:17:36 -0700 | |
commit | 1d6c3e06232e5f53458842915bbff28e8fc29244 (patch) | |
tree | e2ff2731ad346b148cc762d8b94e5198be472b82 /scripts/lib/kdoc/kdoc_output.py | |
parent | net: hibmcge: fix wrong mtu log issue (diff) | |
download | wireguard-linux-1d6c3e06232e5f53458842915bbff28e8fc29244.tar.xz wireguard-linux-1d6c3e06232e5f53458842915bbff28e8fc29244.zip |
net: hibmcge: fix the incorrect np_link fail state issue.
In the debugfs file, the driver displays the np_link fail state
based on the HBG_NIC_STATE_NP_LINK_FAIL.
However, HBG_NIC_STATE_NP_LINK_FAIL is cleared in hbg_service_task()
So, this value of np_link fail is always false.
This patch directly reads the related register to display the real state.
Fixes: e0306637e85d ("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>
Link: https://patch.msgid.link/20250410021327.590362-6-shaojijie@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions