[dpdk-stable] patch 'distributor: fix clearing returns buffer' has been queued to LTS release 18.11.11

Kevin Traynor ktraynor at redhat.com
Wed Nov 18 17:35:17 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/24/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/c4b0a4bbb4f64d7c9da58e981517ecc413341c1b

Thanks.

Kevin.

---
>From c4b0a4bbb4f64d7c9da58e981517ecc413341c1b Mon Sep 17 00:00:00 2001
From: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>
Date: Sat, 17 Oct 2020 05:06:59 +0200
Subject: [PATCH] distributor: fix clearing returns buffer

[ upstream commit 20fa39d230d1e676c7bfe2a32f958f5851d471fc ]

The patch clears distributors returns buffer
in clear_returns() by setting start and count to 0.

Fixes: 775003ad2f96 ("distributor: add new burst-capable library")

Signed-off-by: Lukasz Wojciechowski <l.wojciechow at partner.samsung.com>
Acked-by: David Hunt <david.hunt at intel.com>
---
 lib/librte_distributor/rte_distributor.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_distributor/rte_distributor.c b/lib/librte_distributor/rte_distributor.c
index 405c5d9dbf..12142ec73a 100644
--- a/lib/librte_distributor/rte_distributor.c
+++ b/lib/librte_distributor/rte_distributor.c
@@ -731,4 +731,6 @@ rte_distributor_clear_returns_v1705(struct rte_distributor *d)
 		__atomic_store_n(&(d->bufs[wkr].retptr64[0]), 0,
 				__ATOMIC_RELEASE);
+
+	d->returns.start = d->returns.count = 0;
 }
 BIND_DEFAULT_SYMBOL(rte_distributor_clear_returns, _v1705, 17.05);
-- 
2.26.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-11-18 16:33:38.539470868 +0000
+++ 0031-distributor-fix-clearing-returns-buffer.patch	2020-11-18 16:33:37.933215065 +0000
@@ -1 +1 @@
-From 20fa39d230d1e676c7bfe2a32f958f5851d471fc Mon Sep 17 00:00:00 2001
+From c4b0a4bbb4f64d7c9da58e981517ecc413341c1b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 20fa39d230d1e676c7bfe2a32f958f5851d471fc ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index fb4e9d93f9..ef34facba6 100644
+index 405c5d9dbf..12142ec73a 100644
@@ -22 +23 @@
-@@ -703,4 +703,6 @@ rte_distributor_clear_returns(struct rte_distributor *d)
+@@ -731,4 +731,6 @@ rte_distributor_clear_returns_v1705(struct rte_distributor *d)
@@ -28 +29 @@
- 
+ BIND_DEFAULT_SYMBOL(rte_distributor_clear_returns, _v1705, 17.05);



More information about the stable mailing list