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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Wed Oct 28 11:43:11 CET 2020


Hi,

FYI, your patch has been queued to stable release 19.11.6

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

Thanks.

Luca Boccassi

---
>From 908a58c8067c71282aa287ffa783f830c07222e1 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 d7c9922a55..4443e0f133 100644
--- a/drivers/net/dpaa2/dpaa2_ethdev.c
+++ b/drivers/net/dpaa2/dpaa2_ethdev.c
@@ -249,8 +249,6 @@ 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;
 	dev_info->min_rx_bufsize = DPAA2_MIN_RX_BUF_SIZE;
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-10-28 10:35:12.793271257 +0000
+++ 0032-net-dpaa2-fix-misuse-of-interface-index.patch	2020-10-28 10:35:11.476829611 +0000
@@ -1,14 +1,15 @@
-From 88e584a60d48b4416ad35649c2468656b514a449 Mon Sep 17 00:00:00 2001
+From 908a58c8067c71282aa287ffa783f830c07222e1 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")
-Cc: stable at dpdk.org
 
 Reported-by: Stephen Hemminger <stephen at networkplumber.org>
 Signed-off-by: Sachin Saxena <sachin.saxena at nxp.com>
@@ -18,10 +19,10 @@
  1 file changed, 2 deletions(-)
 
 diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c
-index 0e9f836e55..02daa4d250 100644
+index d7c9922a55..4443e0f133 100644
 --- a/drivers/net/dpaa2/dpaa2_ethdev.c
 +++ b/drivers/net/dpaa2/dpaa2_ethdev.c
-@@ -241,8 +241,6 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
+@@ -249,8 +249,6 @@ dpaa2_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
  
  	PMD_INIT_FUNC_TRACE();
  


More information about the stable mailing list