[dpdk-stable] patch 'net/avp: remove always true condition' has been queued to stable release 20.11.1

luca.boccassi at gmail.com luca.boccassi at gmail.com
Fri Feb 5 12:15:07 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.1

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

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/450415e2733360f8e74e4a46ad4ff0511ce2508d

Thanks.

Luca Boccassi

---
>From 450415e2733360f8e74e4a46ad4ff0511ce2508d Mon Sep 17 00:00:00 2001
From: Ferruh Yigit <ferruh.yigit at intel.com>
Date: Thu, 19 Nov 2020 11:59:00 +0000
Subject: [PATCH] net/avp: remove always true condition

[ upstream commit e6b87501657e681f15b48837fdfcffabc0ed6bef ]

There is already a break above for the case "count >= 1", so at this
stage 'count' should be always '0'.

Fixes: 1a85922369c4 ("net/avp: add device configuration")

Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
Acked-by: Steven Webster <steven.webster at windriver.com>
---
 drivers/net/avp/avp_ethdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
index 5f8187b905..f531e03c02 100644
--- a/drivers/net/avp/avp_ethdev.c
+++ b/drivers/net/avp/avp_ethdev.c
@@ -267,7 +267,7 @@ avp_dev_process_request(struct avp_dev *avp, struct rte_avp_request *request)
 			break;
 		}
 
-		if ((count < 1) && (retry == 0)) {
+		if (retry == 0) {
 			PMD_DRV_LOG(ERR, "Timeout while waiting for a response for %u\n",
 				    request->req_id);
 			ret = -ETIME;
-- 
2.29.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-02-05 11:18:30.259922424 +0000
+++ 0021-net-avp-remove-always-true-condition.patch	2021-02-05 11:18:28.602687228 +0000
@@ -1 +1 @@
-From e6b87501657e681f15b48837fdfcffabc0ed6bef Mon Sep 17 00:00:00 2001
+From 450415e2733360f8e74e4a46ad4ff0511ce2508d Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e6b87501657e681f15b48837fdfcffabc0ed6bef ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org


More information about the stable mailing list