[dpdk-stable] patch 'net/dpaa2: fix misuse of interface index' has been queued to LTS release 18.11.11

Kevin Traynor ktraynor at redhat.com
Thu Nov 5 13:39:19 CET 2020


Hi,

FYI, your patch has been queued to LTS release 18.11.11

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/10/20. 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-queue

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable-queue/commit/6e2c9c0d4d1d62b06f9b1647a07fc099aa19dccf

Thanks.

Kevin.

---
>From 6e2c9c0d4d1d62b06f9b1647a07fc099aa19dccf Mon Sep 17 00:00:00 2001
From: Sachin Saxena <sachin.saxena at nxp.com>
Date: Mon, 14 Sep 2020 19:51:18 +0530
Subject: [PATCH] net/dpaa2: fix misuse of interface index

[ upstream commit 88e584a60d48b4416ad35649c2468656b514a449 ]

Dpaa2 pmd has no need to bound host interface
for which we require if_index field.
Setting it to 0 as unused.

Fixes: 3e5a335d3f88 ("net/dpaa2: add basic operations")

Reported-by: Stephen Hemminger <stephen at networkplumber.org>
Signed-off-by: Sachin Saxena <sachin.saxena at nxp.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
 drivers/net/dpaa2/dpaa2_ethdev.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
index c801d922cf..bea14ad6fd 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethdev.c
@@ -193,6 +193,4 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 	PMD_INIT_FUNC_TRACE();
 
-	dev_info->if_index = priv->hw_id;
-
 	dev_info->max_mac_addrs = priv->max_mac_filters;
 	dev_info->max_rx_pktlen = DPAA2_MAX_RX_PKT_LEN;
-- 
2.26.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-05 12:38:54.493981691 +0000
+++ 0012-net-dpaa2-fix-misuse-of-interface-index.patch	2020-11-05 12:38:54.171895966 +0000
@@ -1 +1 @@
-From 88e584a60d48b4416ad35649c2468656b514a449 Mon Sep 17 00:00:00 2001
+From 6e2c9c0d4d1d62b06f9b1647a07fc099aa19dccf Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 88e584a60d48b4416ad35649c2468656b514a449 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 0e9f836e55..02daa4d250 100644
+index c801d922cf..bea14ad6fd 100644
@@ -24 +25 @@
-@@ -242,6 +242,4 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
+@@ -193,6 +193,4 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)



More information about the stable mailing list