patch 'net/dpaa2: fix dpdmux default interface' has been queued to stable release 21.11.2

Kevin Traynor ktraynor at redhat.com
Tue May 10 14:29:39 CEST 2022


Hi,

FYI, your patch has been queued to stable release 21.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 05/15/22. 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/9c267cbd10950651dee13efe1280830b2c2bd7f8

Thanks.

Kevin

---
>From 9c267cbd10950651dee13efe1280830b2c2bd7f8 Mon Sep 17 00:00:00 2001
From: Tianli Lai <laitianli at tom.com>
Date: Wed, 30 Mar 2022 06:01:07 +0800
Subject: [PATCH] net/dpaa2: fix dpdmux default interface

[ upstream commit 0b5da8cc52b3b4be9046ef1eabe2381d5566a8f8 ]

if dpdmux objects created by restool tools with
the argument "--default-if=<if-id-number>", this
function would change it to 1

Fixes: 1def64c2d79e ("net/dpaa2: add dpdmux initialization and configuration")

Signed-off-by: Tianli Lai <laitianli at tom.com>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 drivers/net/dpaa2/dpaa2_mux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dpaa2/dpaa2_mux.c b/drivers/net/dpaa2/dpaa2_mux.c
index cd2f7b8aa5..54f53b7ea0 100644
--- a/drivers/net/dpaa2/dpaa2_mux.c
+++ b/drivers/net/dpaa2/dpaa2_mux.c
@@ -297,5 +297,5 @@ dpaa2_create_dpdmux_device(int vdev_fd __rte_unused,
 
 	ret = dpdmux_if_set_default(&dpdmux_dev->dpdmux, CMD_PRI_LOW,
-				    dpdmux_dev->token, 1);
+				    dpdmux_dev->token, attr.default_if);
 	if (ret) {
 		DPAA2_PMD_ERR("setting default interface failed in %s",
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-05-10 13:24:21.669924613 +0100
+++ 0002-net-dpaa2-fix-dpdmux-default-interface.patch	2022-05-10 13:24:21.548646288 +0100
@@ -1 +1 @@
-From 0b5da8cc52b3b4be9046ef1eabe2381d5566a8f8 Mon Sep 17 00:00:00 2001
+From 9c267cbd10950651dee13efe1280830b2c2bd7f8 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0b5da8cc52b3b4be9046ef1eabe2381d5566a8f8 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index bd4596b891..e8689a7832 100644
+index cd2f7b8aa5..54f53b7ea0 100644



More information about the stable mailing list