Thread (1 message) 1 message, 1 author, 2025-09-24

RE: [Intel-wired-lan] [PATCH iwl-next 1/5] idpf: add virtchnl functions to manage selected queues

From: R, Ramu <hidden>
Date: 2025-09-24 05:08:24
Also in: bpf, intel-wired-lan, lkml

-----Original Message-----
From: Intel-wired-lan <redacted> On Behalf Of
Alexander Lobakin
Sent: Thursday, September 11, 2025 9:52 PM
To: intel-wired-lan@lists.osuosl.org
Cc: Lobakin, Aleksander <aleksander.lobakin@intel.com>; Kubiak, Michal
[off-list ref]; Fijalkowski, Maciej
[off-list ref]; Nguyen, Anthony L
[off-list ref]; Kitszel, Przemyslaw
[off-list ref]; Andrew Lunn [off-list ref];
David S. Miller [off-list ref]; Eric Dumazet
[off-list ref]; Jakub Kicinski [off-list ref]; Paolo Abeni
[off-list ref]; Alexei Starovoitov [off-list ref]; Daniel
Borkmann [off-list ref]; Simon Horman [off-list ref];
NXNE CNSE OSDT ITP Upstreaming
[off-list ref]; bpf@vger.kernel.org;
netdev@vger.kernel.org; linux-kernel@vger.kernel.org
Subject: [Intel-wired-lan] [PATCH iwl-next 1/5] idpf: add virtchnl functions to
manage selected queues

From: Michal Kubiak <redacted>

Implement VC functions dedicated to enabling, disabling and configuring not
all but only selected queues.

Also, refactor the existing implementation to make the code more modular.
Introduce new generic functions for sending VC messages consisting of
chunks, in order to isolate the sending algorithm and its implementation for
specific VC messages.

Finally, rewrite the function for mapping queues to q_vectors using the new
modular approach to avoid copying the code that implements the VC
message sending algorithm.

Signed-off-by: Michal Kubiak <redacted>
Co-developed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Signed-off-by: Alexander Lobakin <aleksander.lobakin@intel.com>
---
 drivers/net/ethernet/intel/idpf/idpf_txrx.h   |    3 +
 .../net/ethernet/intel/idpf/idpf_virtchnl.h   |   32 +-
 drivers/net/ethernet/intel/idpf/idpf_txrx.c   |    1 +
 .../net/ethernet/intel/idpf/idpf_virtchnl.c   | 1160 +++++++++++------
 4 files changed, 767 insertions(+), 429 deletions(-)
Tested-by: Ramu R <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help