patch 'net/i40e: fix error handling for QinQ filter' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:00:35 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/9e5b32532d6cddf497ed0fdee99dcd62a0773db2

Thanks.

Kevin

---
>From 9e5b32532d6cddf497ed0fdee99dcd62a0773db2 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Fri, 11 Sep 2026 10:40:43 +0100
Subject: [PATCH] net/i40e: fix error handling for QinQ filter

[ upstream commit 79ffb884262abe9caa297447b054b30057593969 ]

When installing a QinQ tunnel filter, errors were not properly caught
leading to the situation where the app got a successful return code even
though the filter was not properly installed. Add an appropriate log
message and error return code on error to fix.

Fixes: 116b7910d641 ("net/i40e: add QinQ filter create function")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
 drivers/net/intel/i40e/i40e_ethdev.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/drivers/net/intel/i40e/i40e_ethdev.c b/drivers/net/intel/i40e/i40e_ethdev.c
index cbf9088026..563f1e836d 100644
--- a/drivers/net/intel/i40e/i40e_ethdev.c
+++ b/drivers/net/intel/i40e/i40e_ethdev.c
@@ -8665,7 +8665,9 @@ i40e_dev_consistent_tunnel_filter_set(struct i40e_pf *pf,
 		if (!pf->qinq_replace_flag) {
 			ret = i40e_cloud_filter_qinq_create(pf);
-			if (ret < 0)
-				PMD_DRV_LOG(DEBUG,
-					    "QinQ tunnel filter already created.");
+			if (ret < 0) {
+				PMD_DRV_LOG(ERR, "Failed to create QinQ tunnel filter.");
+				/* ret is a raw i40e_status_code, not an errno */
+				return -ENOTSUP;
+			}
 			pf->qinq_replace_flag = 1;
 		}
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:42.389927973 +0000
+++ 0109-net-i40e-fix-error-handling-for-QinQ-filter.patch	2026-12-03 12:52:39.103938633 +0000
@@ -1 +1 @@
-From 79ffb884262abe9caa297447b054b30057593969 Mon Sep 17 00:00:00 2001
+From 9e5b32532d6cddf497ed0fdee99dcd62a0773db2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 79ffb884262abe9caa297447b054b30057593969 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index ba1f170135..defdff0378 100644
+index cbf9088026..563f1e836d 100644
@@ -24 +25 @@
-@@ -8614,7 +8614,9 @@ i40e_dev_consistent_tunnel_filter_set(struct i40e_pf *pf,
+@@ -8665,7 +8665,9 @@ i40e_dev_consistent_tunnel_filter_set(struct i40e_pf *pf,



More information about the stable mailing list