patch 'net/mana: fix Rx interrupt vector beyond device count' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Nov 16 23:51:18 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/18/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/543afca65d54e0e6b39a95743b9bfec91a7381b8
Thanks.
Luca Boccassi
---
>From 543afca65d54e0e6b39a95743b9bfec91a7381b8 Mon Sep 17 00:00:00 2001
From: Orgad Shaneh <orgads at gmail.com>
Date: Mon, 2 Nov 2026 07:08:08 +0000
Subject: [PATCH] net/mana: fix Rx interrupt vector beyond device count
[ upstream commit 4f29f00216d4dd246e258a7349d61fc1f3aa3cd7 ]
With Rx interrupts enabled, the CQ of Rx queue i is created on
completion vector i. The device may expose fewer completion vectors
than Rx queues (the RHEL 8.10 mana_ib driver reports one), so
ibv_create_cq() fails with EINVAL for queue 1 and the port does not
start.
Spread the queues over the vectors the device has.
Fixes: afd5d170727e ("net/mana: support Rx interrupts")
Signed-off-by: Orgad Shaneh <orgads at gmail.com>
---
.mailmap | 1 +
drivers/net/mana/rx.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index 060a46d203..e00d17fc18 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1203,6 +1203,7 @@ Omkar Maslekar <omkar.maslekar at intel.com>
Omri Mor <omrimor2 at illinois.edu>
Ophir Munk <ophirmu at nvidia.com> <ophirmu at mellanox.com>
Or Ami <ora at mellanox.com>
+Orgad Shaneh <orgads at gmail.com>
Ori Kam <orika at nvidia.com> <orika at mellanox.com>
Ouyang Hao <ouyanghao at tencent.com>
Owen Hilyard <ohilyard at iol.unh.edu>
diff --git a/drivers/net/mana/rx.c b/drivers/net/mana/rx.c
index 9782dd4116..f762736a5e 100644
--- a/drivers/net/mana/rx.c
+++ b/drivers/net/mana/rx.c
@@ -281,7 +281,8 @@ mana_start_rx_queues(struct rte_eth_dev *dev)
rxq->cq = ibv_create_cq(priv->ib_ctx, rxq->num_desc,
NULL, rxq->channel,
- rxq->channel ? i : 0);
+ rxq->channel ?
+ i % priv->ib_ctx->num_comp_vectors : 0);
if (!rxq->cq) {
ret = -errno;
DRV_LOG(ERR, "failed to create rx cq queue %d", i);
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-16 22:52:16.708488796 +0000
+++ 0004-net-mana-fix-Rx-interrupt-vector-beyond-device-count.patch 2026-11-16 22:52:16.416231577 +0000
@@ -1 +1 @@
-From 4f29f00216d4dd246e258a7349d61fc1f3aa3cd7 Mon Sep 17 00:00:00 2001
+From 543afca65d54e0e6b39a95743b9bfec91a7381b8 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4f29f00216d4dd246e258a7349d61fc1f3aa3cd7 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index b4a4646568..a4af517007 100644
+index 060a46d203..e00d17fc18 100644
@@ -27 +28 @@
-@@ -1268,6 +1268,7 @@ Omkar Maslekar <omkar.maslekar at intel.com>
+@@ -1203,6 +1203,7 @@ Omkar Maslekar <omkar.maslekar at intel.com>
@@ -36 +37 @@
-index 274c6e88ce..aa21136167 100644
+index 9782dd4116..f762736a5e 100644
@@ -39 +40 @@
-@@ -289,7 +289,8 @@ mana_start_rx_queues(struct rte_eth_dev *dev)
+@@ -281,7 +281,8 @@ mana_start_rx_queues(struct rte_eth_dev *dev)
More information about the stable
mailing list