[dpdk-stable] patch 'net/iavf: fix stats query error code' has been queued to stable release 19.11.3

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue May 19 15:04:06 CEST 2020


Hi,

FYI, your patch has been queued to stable release 19.11.3

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/21/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 c1b7cb6792de8f9f301940b24c4a1d07694db1bc Mon Sep 17 00:00:00 2001
From: Cheng Peng <cheng.peng5 at zte.com.cn>
Date: Tue, 14 Apr 2020 09:56:57 +0800
Subject: [PATCH] net/iavf: fix stats query error code

[ upstream commit fdfbfe7085934f3b84c5c8d89f4ab7d7016cb458 ]

The iavf_dev_stats_get function should return ret instead of -eio.

Fixes: f4a41a6953af ("net/avf: support stats")

Signed-off-by: Cheng Peng <cheng.peng5 at zte.com.cn>
Acked-by: Xiaolong Ye <xiaolong.ye at intel.com>
---
 drivers/net/iavf/iavf_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
index f544303c05..266200dbe6 100644
--- a/drivers/net/iavf/iavf_ethdev.c
+++ b/drivers/net/iavf/iavf_ethdev.c
@@ -1079,7 +1079,7 @@ iavf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
 	} else {
 		PMD_DRV_LOG(ERR, "Get statistics failed");
 	}
-	return -EIO;
+	return ret;
 }
 
 static int
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-19 14:04:49.009675974 +0100
+++ 0111-net-iavf-fix-stats-query-error-code.patch	2020-05-19 14:04:44.368651128 +0100
@@ -1,12 +1,13 @@
-From fdfbfe7085934f3b84c5c8d89f4ab7d7016cb458 Mon Sep 17 00:00:00 2001
+From c1b7cb6792de8f9f301940b24c4a1d07694db1bc Mon Sep 17 00:00:00 2001
 From: Cheng Peng <cheng.peng5 at zte.com.cn>
 Date: Tue, 14 Apr 2020 09:56:57 +0800
 Subject: [PATCH] net/iavf: fix stats query error code
 
+[ upstream commit fdfbfe7085934f3b84c5c8d89f4ab7d7016cb458 ]
+
 The iavf_dev_stats_get function should return ret instead of -eio.
 
 Fixes: f4a41a6953af ("net/avf: support stats")
-Cc: stable at dpdk.org
 
 Signed-off-by: Cheng Peng <cheng.peng5 at zte.com.cn>
 Acked-by: Xiaolong Ye <xiaolong.ye at intel.com>
@@ -15,10 +16,10 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c
-index 4280a92bb1..117fbc5f73 100644
+index f544303c05..266200dbe6 100644
 --- a/drivers/net/iavf/iavf_ethdev.c
 +++ b/drivers/net/iavf/iavf_ethdev.c
-@@ -1083,7 +1083,7 @@ iavf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
+@@ -1079,7 +1079,7 @@ iavf_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
  	} else {
  		PMD_DRV_LOG(ERR, "Get statistics failed");
  	}


More information about the stable mailing list