linux/net/ncsi
DelphineCCChiu 50a5dd6de1 net/ncsi: Fix the multi thread manner of NCSI driver
[ Upstream commit e85e271dec ]

Currently NCSI driver will send several NCSI commands back to back without
waiting the response of previous NCSI command or timeout in some state
when NIC have multi channel. This operation against the single thread
manner defined by NCSI SPEC(section 6.3.2.3 in DSP0222_1.1.1)

According to NCSI SPEC(section 6.2.13.1 in DSP0222_1.1.1), we should probe
one channel at a time by sending NCSI commands (Clear initial state, Get
version ID, Get capabilities...), than repeat this steps until the max
number of channels which we got from NCSI command (Get capabilities) has
been probed.

Fixes: e6f44ed6d0 ("net/ncsi: Package and channel management")
Signed-off-by: DelphineCCChiu <delphine_cc_chiu@wiwynn.com>
Link: https://lore.kernel.org/r/20240529065856.825241-1-delphine_cc_chiu@wiwynn.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 09:14:06 +02:00
..
internal.h net/ncsi: Fix the multi thread manner of NCSI driver 2024-07-05 09:14:06 +02:00
Kconfig net/ncsi: add NCSI Intel OEM command to keep PHY up 2021-07-08 14:16:39 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ncsi-aen.c Revert ncsi: Propagate carrier gain/loss events to the NCSI controller 2023-11-28 16:56:33 +00:00
ncsi-cmd.c net/ncsi : Add payload to be 32-bit aligned to fix dropped packets 2021-12-01 09:04:51 +01:00
ncsi-manage.c net/ncsi: Fix the multi thread manner of NCSI driver 2024-07-05 09:14:06 +02:00
ncsi-netlink.c net/ncsi: Fix netlink major/minor version numbers 2024-01-25 14:52:36 -08:00
ncsi-netlink.h net/ncsi: Fix netlink registration 2020-11-12 17:00:13 -08:00
ncsi-pkt.h net/ncsi: Fix netlink major/minor version numbers 2024-01-25 14:52:36 -08:00
ncsi-rsp.c net/ncsi: Fix the multi thread manner of NCSI driver 2024-07-05 09:14:06 +02:00