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 81CBDA034F for ; Wed, 10 Nov 2021 07:43:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79CF4410E0; Wed, 10 Nov 2021 07:43:44 +0100 (CET) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2056.outbound.protection.outlook.com [40.107.95.56]) by mails.dpdk.org (Postfix) with ESMTP id 5B5184068B for ; Wed, 10 Nov 2021 07:43:43 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D/qDxEMXJ5CT0DANcRa1giDs5KxxNIUkyjCIpV8ce7BPcUjG9IlBIhFlhp1ATn5/7lSsem22DQt1jtvJts03iCjJUJJjKc6h4rFz0t2taNTM0l5ZERH8UMqKnKYtg4O2LMNH9pUI/r6XLblvQ14V5HgFiA565Mg0pkG4HBcLUSXJi6pJsKSkI61XVctFeLah9dXTSTOnIpDHbsbxHKip5GuIoHY6i+IrVev1JRt+4gvFaRIjOspE2hNzZjst0zxreZoqRkuRuOmOb9PFocu1fqivqZ5a+L1bR2draXznquuATMWRwY0NpIkbhOhpszJAr2dtll6mXwJgCyRZkVi8IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qi1SPlChZqAxkXHex9Xb6vm+S2Hhf1x2KerUvPFIkMY=; b=hTq/1//SgTMtmE0T2ik49ppsl4HI0BPIEdAbT86FlaQP2sHCzL6n0yRuuAjnog8QxwC8LUxlLzeCNckkzcIBjLmrwPHDyDXWCJFSgbWyg8xjhhO6XYkHHa1bzTl8JuXEYWcROmMP8L46eJ3HnMqOq5SI3/jAMYdwi7lKLdcAh4FUs9wGLHjiFqYcvnGQPaQj9uEy8PX3DZf/t+tKLr7Wdw8S3T86O4ieaJ0p2mQIvzJ1ms3EnlxN4zhkpI8pQrnoVadKYh9jREuoFTopRsjnlDJQFTXtGbKGeDHfWadIcNFrG3EfKWSnnfYttPpcO7tS4sCWbN898LXUWpIYaDe7qQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qi1SPlChZqAxkXHex9Xb6vm+S2Hhf1x2KerUvPFIkMY=; b=Vsrd/4608j7vxdp0/uNe44c2nAea4jbFPtILjwHipfkAITHYtPYg8AIEU80UNdw2/abLx9qj0MymlsJbGwk+RJd6B3nkbrAUwMo1iWHlarES/GIFz4gF6DAiQnyfw2x7gUXcgorAdNAuqz2dhQyPorwie4tvJmndMlE0dshKN5+Ykl1oF96Mi8kVox9dmAbipH7Gm8Gi7SShN+rUrRJiLpUGWPao1amGfo/8gdwkomGKPcMESHsssuIdckWsg9UxxiEsDNPMlPh88XvuRG6adQDlAxU3N6SRMbnZPPxUVXkxFGadhGu+DsF/BhyzUQUEZXK4qUqM4jKElK1gNVmXCQ== Received: from DM6PR06CA0077.namprd06.prod.outlook.com (2603:10b6:5:336::10) by BL1PR12MB5301.namprd12.prod.outlook.com (2603:10b6:208:31f::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.16; Wed, 10 Nov 2021 06:43:41 +0000 Received: from DM6NAM11FT004.eop-nam11.prod.protection.outlook.com (2603:10b6:5:336:cafe::cf) by DM6PR06CA0077.outlook.office365.com (2603:10b6:5:336::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.15 via Frontend Transport; Wed, 10 Nov 2021 06:43:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT004.mail.protection.outlook.com (10.13.172.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4669.10 via Frontend Transport; Wed, 10 Nov 2021 06:43:40 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:43:38 +0000 From: Xueming Li To: David Marchand CC: Luca Boccassi , Reshma Pattan , dpdk stable Date: Wed, 10 Nov 2021 14:29:47 +0800 Message-ID: <20211110063216.2744012-104-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 447af7ad-36d9-4c5a-23a6-08d9a4156ed7 X-MS-TrafficTypeDiagnostic: BL1PR12MB5301: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bp/4kxyDh1jVpyB+l5cQMY+bfvlx4mNK4OYZYDuFQbWRxcpzVIPCwoOoTYNc3zYg1P7fAjox2f7NwnhhCA2MkvoBjPdFSZDwX+R1Tmv/u2GWqLK9Q/mnysgIlinguq8k7R1l355KuEilWbN+6QGPfnqM8bAwQ1zsrc8vRtG+GgGU/iMNGwkmkJpLLeQQABo3R9NDIOsxMzVWt6/MqsiiWlB65Xa24iAq++Y8bjCx+4GwfrBu3GQ2vj87jT3abGS3oUwnZUB35SSXbsWBsRVP9b1fSH8N01yAkGZvnrAw7FQXjrUbSD6SzdENkhm6huYcZXrBgdNlgasWAoTFLuROsWhEjBsjkFItbt9Nr2LOed/5J/0quBZzwkcqvmeCdRXaeks4Z8b7fEV/dZhF8I/B+BPDwSGjyVgAul/Yo8NcBpG9kg4EaQq8pANzANXQ9+oV6KmLmSgx0PC8ZsCqR1qn9U/L7BkDn6rvRfyVkPKPtTYFbDMFnic1WrpjhS6ljebKBnFGEDdADOo8c9GJHHOfdfFFpYNKw1gH+7Btn0H46A79A/7yFre8+6I3qY9UQjOb7qMmHC1hjJgbQc+v0qeNHpSQtq5NyXvmoPC515MIE+q4yiWAesQ/Z32AymZpLzMX+9WI0vTYvdagPhM/vh7Efutr9UKTv/1hSMJ+3wH8Hn6utBtOHH11ExVrrJ2wzJc/ceA/5BvcPlRffNYxcqPkM7Vrtg7dXoIDk5LevGgZy2u2i89JHTo5JQ4zvJ6zc5hjQo+5nhf19phQZbghEOrGYIhrlKQZ9ohrp1PaUtwpnaWr34uLTuQRSpp/8h/aQT7a343TzpaXNJxv/iOR+hiurQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(7636003)(6286002)(2616005)(336012)(53546011)(4326008)(47076005)(356005)(6666004)(426003)(36756003)(83380400001)(8936002)(36860700001)(1076003)(7696005)(4001150100001)(26005)(86362001)(82310400003)(966005)(6916009)(2906002)(55016002)(5660300002)(508600001)(70206006)(16526019)(70586007)(54906003)(316002)(8676002)(186003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:43:40.9388 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 447af7ad-36d9-4c5a-23a6-08d9a4156ed7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT004.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5301 Subject: [dpdk-stable] patch 'test/latency: fix loop boundary' has been queued to stable release 20.11.4 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.4 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/12/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/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/1b8fac0312d57d969fec4334f8c18450a338fcb5 Thanks. Xueming Li --- >From 1b8fac0312d57d969fec4334f8c18450a338fcb5 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Sat, 2 Oct 2021 18:24:31 +0200 Subject: [PATCH] test/latency: fix loop boundary Cc: Xueming Li [ upstream commit cb3dd14c77f4a44c204b7ac10898ecc33afeb9a0 ] Caught running ASAN. lat_stats_strings[] is an array containing NUM_STATS strings. Fixes: 1e3676a06e4c ("test/latency: add unit tests for latencystats library") Signed-off-by: David Marchand Acked-by: Reshma Pattan --- app/test/test_latencystats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_latencystats.c b/app/test/test_latencystats.c index 427339904d..724acbc315 100644 --- a/app/test/test_latencystats.c +++ b/app/test/test_latencystats.c @@ -80,7 +80,7 @@ static int test_latencystats_get_names(void) /* Success Test: Valid names and size */ size = NUM_STATS; ret = rte_latencystats_get_names(names, size); - for (i = 0; i <= NUM_STATS; i++) { + for (i = 0; i < NUM_STATS; i++) { if (strcmp(lat_stats_strings[i].name, names[i].name) == 0) printf(" %s\n", names[i].name); else -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:06.579007732 +0800 +++ 0103-test-latency-fix-loop-boundary.patch 2021-11-10 14:17:01.864079479 +0800 @@ -1 +1 @@ -From cb3dd14c77f4a44c204b7ac10898ecc33afeb9a0 Mon Sep 17 00:00:00 2001 +From 1b8fac0312d57d969fec4334f8c18450a338fcb5 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit cb3dd14c77f4a44c204b7ac10898ecc33afeb9a0 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org