patch 'event/dlb2: remove superfluous memcpy' has been queued to stable release 21.11.7

Kevin Traynor ktraynor at redhat.com
Fri Mar 8 15:27:50 CET 2024


Hi,

FYI, your patch has been queued to stable release 21.11.7

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

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

Thanks.

Kevin

---
>From c87e76f66b66a2d604c707e7f47c9f6f15b6bc2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Morten=20Br=C3=B8rup?= <mb at smartsharesystems.com>
Date: Mon, 16 Jan 2023 14:07:22 +0100
Subject: [PATCH] event/dlb2: remove superfluous memcpy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[ upstream commit c1b086d2abdb7773700b4d216f323bd9278ace7a ]

Copying with the same src and dst address has no effect; removed to
avoid compiler warning with decorated rte_memcpy.

Fixes: e7c9971a857a ("event/dlb2: add probe-time hardware init")

Signed-off-by: Morten Brørup <mb at smartsharesystems.com>
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Abdullah Sevincer <abdullah.sevincer at intel.com>
---
 drivers/event/dlb2/dlb2.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index f76f1c26b0..3560ae768a 100644
--- a/drivers/event/dlb2/dlb2.c
+++ b/drivers/event/dlb2/dlb2.c
@@ -113,5 +113,4 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)
 {
 	struct dlb2_hw_dev *handle = &dlb2->qm_instance;
-	struct dlb2_hw_resource_info *dlb2_info = &handle->info;
 	int ret;
 
@@ -171,6 +170,4 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)
 		dlb2->hw_rsrc_query_results.num_hist_list_entries;
 
-	rte_memcpy(dlb2_info, &handle->info.hw_rsrc_max, sizeof(*dlb2_info));
-
 	return 0;
 }
-- 
2.43.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2024-03-08 13:47:49.136332977 +0000
+++ 0002-event-dlb2-remove-superfluous-memcpy.patch	2024-03-08 13:47:48.975686535 +0000
@@ -1 +1 @@
-From c1b086d2abdb7773700b4d216f323bd9278ace7a Mon Sep 17 00:00:00 2001
+From c87e76f66b66a2d604c707e7f47c9f6f15b6bc2c Mon Sep 17 00:00:00 2001
@@ -8,0 +9,2 @@
+[ upstream commit c1b086d2abdb7773700b4d216f323bd9278ace7a ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 271bbce54a..628ddef649 100644
+index f76f1c26b0..3560ae768a 100644
@@ -26 +27 @@
-@@ -164,5 +164,4 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)
+@@ -113,5 +113,4 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)
@@ -30 +30,0 @@
- 	int num_ldb_ports;
@@ -32 +32,2 @@
-@@ -226,6 +225,4 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)
+ 
+@@ -171,6 +170,4 @@ dlb2_hw_query_resources(struct dlb2_eventdev *dlb2)



More information about the stable mailing list