Thread (30 messages) 30 messages, 2 authors, 2026-04-28

RE: [Intel-wired-lan] [PATCH iwl-next v7 05/14] libie: add bookkeeping support for control queue messages

From: Loktionov, Aleksandr <hidden>
Date: 2026-04-28 10:10:34
Also in: intel-wired-lan, linux-doc, lkml

quoted hunk ↗ jump to hunk
-----Original Message-----
From: Intel-wired-lan <redacted> On Behalf
Of Larysa Zaremba
Sent: Tuesday, April 28, 2026 10:27 AM
To: intel-wired-lan@lists.osuosl.org; Nguyen, Anthony L
[off-list ref]
Cc: Lobakin, Aleksander <aleksander.lobakin@intel.com>; Samudrala,
Sridhar [off-list ref]; Michal Swiatkowski
[off-list ref]; Zaremba, Larysa
[off-list ref]; Fijalkowski, Maciej
[off-list ref]; Tantilov, Emil S
[off-list ref]; Chittim, Madhu [off-list ref];
Hay, Joshua A [off-list ref]; Keller, Jacob E
[off-list ref]; Shanmugam, Jayaprakash
[off-list ref]; Jiri Pirko [off-list ref];
David S. Miller [off-list ref]; Eric Dumazet
[off-list ref]; Jakub Kicinski [off-list ref]; Paolo Abeni
[off-list ref]; Simon Horman [off-list ref]; Jonathan Corbet
[off-list ref]; Richard Cochran [off-list ref]; Kitszel,
Przemyslaw [off-list ref]; Andrew Lunn
[off-list ref]; netdev@vger.kernel.org; linux-
doc@vger.kernel.org; linux-kernel@vger.kernel.org; Burra, Phani R
[off-list ref]; R, Bharath [off-list ref]; Salin,
Samuel [off-list ref]
Subject: [Intel-wired-lan] [PATCH iwl-next v7 05/14] libie: add
bookkeeping support for control queue messages

From: Phani R Burra <redacted>

All send control queue messages are allocated/freed in libie itself
and tracked with the unique transaction (Xn) ids until they receive
response or time out. Responses can be received out of order,
therefore transactions are stored in an array and tracked though a
bitmap.

Pre-allocated DMA memory is used where possible. It reduces the driver
overhead in handling memory allocation/free and message timeouts.

Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Signed-off-by: Phani R Burra <redacted>
Co-developed-by: Victor Raj <redacted>
Signed-off-by: Victor Raj <redacted>
Co-developed-by: Pavan Kumar Linga <redacted>
Signed-off-by: Pavan Kumar Linga <redacted>
Co-developed-by: Larysa Zaremba <redacted>
Signed-off-by: Larysa Zaremba <redacted>
Tested-by: Bharath R <redacted>
Tested-by: Samuel Salin <redacted>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
---
 drivers/net/ethernet/intel/libie/controlq.c | 599
++++++++++++++++++++
 include/linux/intel/libie/controlq.h        | 177 ++++++
 2 files changed, 776 insertions(+)
diff --git a/drivers/net/ethernet/intel/libie/controlq.c
b/drivers/net/ethernet/intel/libie/controlq.c
index 934721c98f34..5b06d797facf 100644
--- a/drivers/net/ethernet/intel/libie/controlq.c
+++ b/drivers/net/ethernet/intel/libie/controlq.c
@@ -609,6 +609,605 @@ u32 libie_ctlq_recv(struct libie_ctlq_info
*ctlq, struct libie_ctlq_msg *msg,  }
EXPORT_SYMBOL_NS_GPL(libie_ctlq_recv, "LIBIE_CP");
...
 #endif /* __LIBIE_CONTROLQ_H */
--
2.47.0
Reviewed-by: Aleksandr Loktionov <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