patch 'net/mlx5: skip DevX Tx memory allocation for Verbs' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:03:01 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/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/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/75555ca7de5c4ed242d7d85b5dac12c27fef5f3e
Thanks.
Kevin
---
>From 75555ca7de5c4ed242d7d85b5dac12c27fef5f3e Mon Sep 17 00:00:00 2001
From: Banoth Saikumar <banoth.saikumar at oracle.com>
Date: Tue, 20 Oct 2026 14:58:59 +0300
Subject: [PATCH] net/mlx5: skip DevX Tx memory allocation for Verbs
[ upstream commit 8b1446ddcfe9ad1ad688654f02e6128653c783b7 ]
Previously, the mlx5 PMD attempted to allocate consecutive Tx memory
using DevX without checking whether DevX object operations are used.
This led to allocation failures on legacy or unsupported NICs.
Skip that allocation when the port uses Verbs object operations and let
the Verbs path handle memory allocation and registration.
Fixes: bbfab2eb2528 ("net/mlx5: allocate and release unique resources for Tx queues")
Signed-off-by: Banoth Saikumar <banoth.saikumar at oracle.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
---
.mailmap | 1 +
drivers/net/mlx5/mlx5_trigger.c | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index ef22287715..07ba3bcc63 100644
--- a/.mailmap
+++ b/.mailmap
@@ -187,4 +187,5 @@ Balakrishna Bhamidipati <bbhamidipati at marvell.com>
Balasubramanian Manoharan <balasubramanian.manoharan at caviumnetworks.com>
Balazs Nemeth <bnemeth at redhat.com> <balazs.nemeth at intel.com>
+Banoth Saikumar <banoth.saikumar at oracle.com>
Bao-Long Tran <longtb5 at viettel.com.vn>
Baoyuan Li <updoing at sina.com>
diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c
index 3392325048..906529cbe7 100644
--- a/drivers/net/mlx5/mlx5_trigger.c
+++ b/drivers/net/mlx5/mlx5_trigger.c
@@ -1166,5 +1166,5 @@ static int mlx5_dev_allocate_consec_tx_mem(struct rte_eth_dev *dev)
/* Legacy per queue allocation, do nothing here. */
- if (priv->sh->config.txq_mem_algn == 0)
+ if (priv->sh->config.txq_mem_algn == 0 || !mlx5_devx_obj_ops_en(priv->sh))
return 0;
alignment = (size_t)1 << priv->sh->config.txq_mem_algn;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:46.463697198 +0000
+++ 0255-net-mlx5-skip-DevX-Tx-memory-allocation-for-Verbs.patch 2026-12-03 12:52:39.208938717 +0000
@@ -1 +1 @@
-From 8b1446ddcfe9ad1ad688654f02e6128653c783b7 Mon Sep 17 00:00:00 2001
+From 75555ca7de5c4ed242d7d85b5dac12c27fef5f3e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 8b1446ddcfe9ad1ad688654f02e6128653c783b7 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index 9f55751964..d23dac66db 100644
+index ef22287715..07ba3bcc63 100644
@@ -28 +29 @@
-@@ -191,4 +191,5 @@ Balakrishna Bhamidipati <bbhamidipati at marvell.com>
+@@ -187,4 +187,5 @@ Balakrishna Bhamidipati <bbhamidipati at marvell.com>
@@ -35 +36 @@
-index ef71b59fe9..1dbde509d2 100644
+index 3392325048..906529cbe7 100644
@@ -38 +39 @@
-@@ -1202,5 +1202,5 @@ static int mlx5_dev_allocate_consec_tx_mem(struct rte_eth_dev *dev)
+@@ -1166,5 +1166,5 @@ static int mlx5_dev_allocate_consec_tx_mem(struct rte_eth_dev *dev)
@@ -42 +43 @@
-+ if (priv->sh->config.txq_mem_algn == 0 || !mlx5_devx_obj_ops_en(priv))
++ if (priv->sh->config.txq_mem_algn == 0 || !mlx5_devx_obj_ops_en(priv->sh))
More information about the stable
mailing list