netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] Fix the multi thread manner of NCSI driver
@ 2023-04-24 11:47 Delphine CC Chiu
  2023-04-24 11:47 ` [PATCH v1 1/1] net/ncsi: " Delphine CC Chiu
  0 siblings, 1 reply; 4+ messages in thread
From: Delphine CC Chiu @ 2023-04-24 11:47 UTC (permalink / raw)
  To: patrick
  Cc: Delphine CC Chiu, Samuel Mendoza-Jonas, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, netdev, linux-kernel

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).

1. Fix the problem of NCSI driver that sending command back
to back without waiting the response of previos NCSI command
or timeout to meet the single thread manner.
2. 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.

Delphine CC Chiu (1):
  net/ncsi: Fix the multi thread manner of NCSI driver

 net/ncsi/internal.h    |   1 +
 net/ncsi/ncsi-manage.c | 101 +++++++++++++++++++++--------------------
 net/ncsi/ncsi-rsp.c    |   4 +-
 3 files changed, 55 insertions(+), 51 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-26 19:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 11:47 [PATCH v1 0/1] Fix the multi thread manner of NCSI driver Delphine CC Chiu
2023-04-24 11:47 ` [PATCH v1 1/1] net/ncsi: " Delphine CC Chiu
2023-04-25  1:21   ` Jakub Kicinski
2023-04-26 19:42   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).