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 B995342DA6 for ; Sat, 15 Jul 2023 00:35:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2E3A40EDC; Sat, 15 Jul 2023 00:35:18 +0200 (CEST) Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) by mails.dpdk.org (Postfix) with ESMTP id 0259C40DFB for ; Sat, 15 Jul 2023 00:35:16 +0200 (CEST) Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-3fbc656873eso23786285e9.1 for ; Fri, 14 Jul 2023 15:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689374116; x=1691966116; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uRx5EHL3Xel/tUZojtmKPvMofYXgybIqLxh/KsAALhg=; b=UzI/pQSgdGYTx4tTHEwfqTZK1pSXm7eDcgNGfK031ZIjkrF5eCxyTIJT57p6DAjobm JxZ+gLH0WGPBtBzK886ttQW4PgtdvlhWfFIHi0lNEAl2mqZEw4/KxoaJrJiLoIptCQI+ mS8rdF0jvxF1lUUqk43LhB6Fpzgdf2CHDYssvc3xI1R5s/SVoFrMDw0Mnq5qEYgTvX3o GjteZ8lhHRGHmj97HqRjIIfefuXwPgBAFMca4nqANTW6sIQ53Ls/NdI/j3jY5Uurnvd0 3ofqrC2wIp88GV5kcGKVjiFJaebZR4pL4xGDPEcyJ1yFB9ri0xrghFlORTnLGCu4nZxX 46ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689374116; x=1691966116; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=uRx5EHL3Xel/tUZojtmKPvMofYXgybIqLxh/KsAALhg=; b=a/YnazCeqL0PSA5vYoex1X0zvgpYgrA9otCOQbUxw7mOTUAtgHCiL2k3o6fWEMUG8j V8O+DrQjM0jPwEkx9wM/7bLTe4aJ3cp8l6Rqf9UtdIA8HN0GpW25yFXgkzzLZj/fV6Zb 37RM3cRVPVb+4aB6dJ5Yid0+F+KuKYFo4vo72E+sPx7g24Ot/9lfhFROLgdTba9Wcsm0 Tt7izWCwr6ZV1t+TFtq7bX3PiGiceJBOvMGM9HO/qz4JS4k+znlG0D6a5xQU9xwTDvPp 3nqnGKdwTjqGYIUBZRInkbeShg46AuVMYU5xUYeFcHiF4M4oSwa+Muts2Y7l7n15JM+g 135A== X-Gm-Message-State: ABy/qLaAATafZlsE1u28E49RYm277d3OUy5pF8rQxjpVV1ZcwedAsvss InyeeDowtCVPOzMzRsx0UFA= X-Google-Smtp-Source: APBJJlEetrLDKQnVEl/IYz3Ntw3t7UBUqd7Ba4Ayy24dObHgN58Ek2rXf2i+AGWTZ2/Lzy582Hy6Fg== X-Received: by 2002:a05:600c:ad4:b0:3f9:b748:ff37 with SMTP id c20-20020a05600c0ad400b003f9b748ff37mr6045811wmr.20.1689374116677; Fri, 14 Jul 2023 15:35:16 -0700 (PDT) Received: from localhost ([2a01:4b00:d307:1000:f1d3:eb5e:11f4:a7d9]) by smtp.gmail.com with ESMTPSA id 5-20020a05600c028500b003fbcdba1a52sm2313226wmk.3.2023.07.14.15.35.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 15:35:16 -0700 (PDT) From: luca.boccassi@gmail.com To: Yiding Zhou Cc: Luca Boccassi , dpdk stable Subject: patch 'net/ice: fix 32-bit build' has been queued to stable release 20.11.9 Date: Fri, 14 Jul 2023 23:34:39 +0100 Message-Id: <20230714223447.1092828-10-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230714223447.1092828-1-luca.boccassi@gmail.com> References: <20230628141046.2145871-22-luca.boccassi@gmail.com> <20230714223447.1092828-1-luca.boccassi@gmail.com> MIME-Version: 1.0 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 20.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/16/23. 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/d4c3ced186365c13c69f1dd5daad6f707edaedd1 Thanks. Luca Boccassi --- >From d4c3ced186365c13c69f1dd5daad6f707edaedd1 Mon Sep 17 00:00:00 2001 From: Yiding Zhou Date: Wed, 5 Jul 2023 15:32:10 +0800 Subject: [PATCH] net/ice: fix 32-bit build [ upstream commit 910507de1164d1cb7051ddb84ac742bf088f4711 ] Replace 'rte_memcpy' with 'memcpy' like other PMD code to avoid errors when compiling with GCC-12 on 32-bit configure. Compiler reports the follow error: error: array subscript 8 is outside array bounds of "struct rte_mbuf *[32]" [-Werror=array-bounds] Fixes: c68a52b8b38c ("net/ice: support vector SSE in Rx") Signed-off-by: Yiding Zhou Tested-by: Luca Boccassi --- drivers/net/ice/ice_rxtx_vec_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_rxtx_vec_common.h b/drivers/net/ice/ice_rxtx_vec_common.h index bd2450ad5f..2b791a1066 100644 --- a/drivers/net/ice/ice_rxtx_vec_common.h +++ b/drivers/net/ice/ice_rxtx_vec_common.h @@ -72,7 +72,7 @@ ice_rx_reassemble_packets(struct ice_rx_queue *rxq, struct rte_mbuf **rx_bufs, /* save the partial packet for next time */ rxq->pkt_first_seg = start; rxq->pkt_last_seg = end; - rte_memcpy(rx_bufs, pkts, pkt_idx * (sizeof(*pkts))); + memcpy(rx_bufs, pkts, pkt_idx * (sizeof(*pkts))); return pkt_idx; } -- 2.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-07-14 23:33:08.912432734 +0100 +++ 0010-net-ice-fix-32-bit-build.patch 2023-07-14 23:33:08.491305191 +0100 @@ -1 +1 @@ -From 910507de1164d1cb7051ddb84ac742bf088f4711 Mon Sep 17 00:00:00 2001 +From d4c3ced186365c13c69f1dd5daad6f707edaedd1 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 910507de1164d1cb7051ddb84ac742bf088f4711 ] + @@ -15 +16,0 @@ -Cc: stable@dpdk.org @@ -24 +25 @@ -index eec6ea2134..55840cf170 100644 +index bd2450ad5f..2b791a1066 100644