From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6A0C243B67 for ; Fri, 8 Mar 2024 15:29:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5615842F3F; Fri, 8 Mar 2024 15:29:17 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9056040E2D for ; Fri, 8 Mar 2024 15:29:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709908155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qQ26THf3+iwUcqSfYYzI1nwVhhqznasDdnLO2xyP+zg=; b=RQSjaxSoHRZ0FOCn3kJNvn6/SguuurSSoDNZeAXRuVuPU3Vi5aHaIjGCgo/n8mkIx6FNzQ iV5Lu3wKg6xv+NfEYQItnm0wELxPrtTZzCw7xfax3xVlq3uaNS0xS53O2SqXnTQKqwjIhI HJQtrCCma8QQoLCOxd/WcoF8zaGawJ4= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-161-Aau2dlb0O3WA-vjU5xuVDA-1; Fri, 08 Mar 2024 09:29:11 -0500 X-MC-Unique: Aau2dlb0O3WA-vjU5xuVDA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 147312800167; Fri, 8 Mar 2024 14:29:11 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.194.94]) by smtp.corp.redhat.com (Postfix) with ESMTP id D2E453701; Fri, 8 Mar 2024 14:29:03 +0000 (UTC) From: Kevin Traynor To: =?UTF-8?q?Morten=20Br=C3=B8rup?= Cc: Stephen Hemminger , Abdullah Sevincer , dpdk stable Subject: patch 'event/dlb2: remove superfluous memcpy' has been queued to stable release 21.11.7 Date: Fri, 8 Mar 2024 14:27:50 +0000 Message-ID: <20240308142824.528417-2-ktraynor@redhat.com> In-Reply-To: <20240308142824.528417-1-ktraynor@redhat.com> References: <20240308142824.528417-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 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?= 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 Acked-by: Stephen Hemminger Acked-by: Abdullah Sevincer --- 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@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)