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 35D4F43E8E; Wed, 17 Apr 2024 08:13:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F3D12402D6; Wed, 17 Apr 2024 08:13:26 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B90F14029C for ; Wed, 17 Apr 2024 08:13:25 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 43GK1n67016671; Tue, 16 Apr 2024 23:13:23 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3xhfdn54pk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 Apr 2024 23:13:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fT58YS3dAUD06rkBGFE529sc18BNhQHNbIGsmNM/v8Q7AguuHK6TXZ20NriUytpHPsCXCVPBKhhSOlKmHBeHPajKzeMeQBye81j9pWKprYqTs2rryfSh1vIueMiYOVIOxpARtxOjBZyCClrvph4W3IsyYh5MsQtz09JW5vUQwKPNJ2w+oHdPF4NIZ4T7e2jldDiH1PViX4uJE0+xFQ66gIuP5L4EmBdHKcLlvZFjdf570COJfiyei3xD7uPO9Pumy9VNXKaI+YdN+uWOpLSIemFBwnz671pMuRaf3o291kcvEa3YcTDmcGKu7/oIHhyD9n+s2R4qbPGnZ+BwQYBM1w== 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=p/6bIPTY9xIH3YsP8qjZiAsD6iTP+5JLzciylsBeKPw=; b=mEoXnfc/L5mMkHXyJ3TpaUwP4Uw3GY42QwTNCh/ZcvJAGwBniucY+dUocsSFhpne9L2dzhiPtmUIq4KiLRhQm0WKdjJL2IONQ7AcP/r3gwWNTYUE0kFzTVtE872V24B+1S1pUcsR/2gaefXivGABF/wYUpQMhmhD3o+qLMXD0TZNWdkem88vqbK4uuETn+Xn2Csn4CauN71XIEiuftrQMATTp17Z7uEeUz1HKluvyhG3WKaG8/FmdjbPvPizDRHc9MS0PI9dMPHA8G/k/ttjHBMb/SZrJHZRgNEliI23ePCsw+1GMzjbF7jXMPAdso1/GzA1c9TNsd5mnIStDr7Ezg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=p/6bIPTY9xIH3YsP8qjZiAsD6iTP+5JLzciylsBeKPw=; b=ZleLYUjs4709Wd3zTJcSRUtp3Qra7KXQygJCv/MvbOY88CQfkTf12HChnATB65ID3vNqcRWCZvXwvMHYpXDDgxJQG2qXqo/xf9YZ7UB3n4T8aqXZw/lo7YOoFxPmG911xM2RDKIqt+WejBRkCUIV3VM5AXU+M371BEOvfB+yM6U= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CH0PR18MB4212.namprd18.prod.outlook.com (2603:10b6:610:bf::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Wed, 17 Apr 2024 06:13:19 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::4e74:4cf3:63b6:b149]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::4e74:4cf3:63b6:b149%4]) with mapi id 15.20.7452.049; Wed, 17 Apr 2024 06:13:19 +0000 From: Akhil Goyal To: Stephen Hemminger , "dev@dpdk.org" CC: Wisam Jaddo , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Anoob Joseph Subject: RE: [EXTERNAL] [PATCH 2/5] app: use RTE_DIM Thread-Topic: [EXTERNAL] [PATCH 2/5] app: use RTE_DIM Thread-Index: AQHakBHEQOFuw0TgnEa1jt8VMHWQF7Fr/GUQ Date: Wed, 17 Apr 2024 06:13:19 +0000 Message-ID: References: <20240416152124.69590-1-stephen@networkplumber.org> <20240416152124.69590-3-stephen@networkplumber.org> In-Reply-To: <20240416152124.69590-3-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|CH0PR18MB4212:EE_ x-ms-office365-filtering-correlation-id: ac34a951-6346-40dc-b466-08dc5ea57a44 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: =?us-ascii?Q?7Ve0El3eI+/UwMKrosvJKJWZV04wJBXjvUC/vxQT0wytF3E3rMdOHKnfjiH7?= =?us-ascii?Q?cyJPtCxmKZAxco+2TXJqMTQufykLPm3R0Ejz9vGWcqHg5BKdVGnwZLdDvQmb?= =?us-ascii?Q?FQy2OH/aV0hcfKjq3g2J0JtJ9DhKwgzvbafyWKPwPvoHjTZUm+cSOsNGwYSP?= =?us-ascii?Q?RmdQVRgfhsC9myaZn0dVvIL3BX7EIzA9SjP3W78FcRs7BezER+mVKpfsawsx?= =?us-ascii?Q?NhrGlJ9oj5Ne6Zwus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yl5UvrAsqGnYv?= =?us-ascii?Q?U2u3LCyb0RuqWRSi6BSGx4oV006OLXHGW7ORn8SvZneIUK97saVf8ZGWfPBg?= =?us-ascii?Q?zLIxi4Be58lLUsob+jhF+I0XNOsIthjMTkab8b2pKNlG2rS3ir72Hn7JNE1N?= =?us-ascii?Q?pIn+G3WloMw7DXAWOQxPnOPaNRSPfSiyev7DEHnXwtWzTbh5yuvb6PPtNZKv?= =?us-ascii?Q?5x+5dVsQGviPA7xq/cA5GfrboI30673FMf/aRaVQgcBrKg=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(366007)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?tH/O0WqmLl6nSYCTFDE32O3vHAs0zjkYsDp1YQ9SPIERYspMzBuheqxN2/DN?= =?us-ascii?Q?4cdtQcdv2GXn1L34zXB5Whx30LyBtt7FxG5h9RGTaR4FNvGVPkI5INXLQefE?= =?us-ascii?Q?myzvbYi3DIlITZvc4/x+mEhgYCcCajllVmvvblsL2miDVNzdcpU4ftwcEjAr?= =?us-ascii?Q?uaFWGMrP+Q7cOdhpaUXla1dffHzXQKf52JoRRV2a6GXszo9MMBtQhwfQzSUk?= =?us-ascii?Q?dErIf83SJlCj5NBfkItj3IoYFTWjTCXgepnLxz/MkxgYWzkWm6TNEekkGNRm?= =?us-ascii?Q?yW1mFtZygruX1K8ZAzjok4wyMYzOgzNRAtrfI11RaqxvaWLSIJNyFXlQq4rS?= =?us-ascii?Q?4xKv78x6x1Q8gCYrEyzHuPZOm1YD/JFxwJ4vt9JlUwSuUY/HeQBgUnY72hhF?= =?us-ascii?Q?anGr4cCVwVBjIAu4yrqcEB16RpZ/JkcCXU0vfWWvkSXRD8uv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ApXChTmiqn+szNNzh7zPmkLFUBjRuyT1JIJin/CimQTR?= =?us-ascii?Q?9Vn5VsPpPQ8MhNcfrqciDWmpbjhG6AYhB6KSIQhGg1u+ec68EntMy+oqbr5y?= =?us-ascii?Q?80yrHFapWau9lrr06v97YLqB0+2YLhuHZ2GFeVNIJ037L3CkCMpzxBuPoK9z?= =?us-ascii?Q?MpP5mjpjurz/sQOAQOEZhv3mnQfyM3g7gSFXCyjwRp98VeeFrCkdX0ZPMYPq?= =?us-ascii?Q?9XAHvCA/vdiOhgwRkXEpR54uZtXTUYoKLpzurOho?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ac34a951-6346-40dc-b466-08dc5ea57a44 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2024 06:13:19.3294 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Wu3rz9+lLjn278yEfg65A4Ea13WaMAw1/qk260bgoOTcE3f0L2mUJ9SwagOSAuexx9ZKF/uTHZdZywYMnMhK+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR18MB4212 X-Proofpoint-GUID: wrDa37jsr2bOz2p6_B3Bc-FHGkQ2_lBH X-Proofpoint-ORIG-GUID: wrDa37jsr2bOz2p6_B3Bc-FHGkQ2_lBH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-17_05,2024-04-16_01,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > Use RTE_DIM instead of computing directly with sizeof. > Patch automatically generated via cocci/rte_dim.cocci. >=20 > Signed-off-by: Stephen Hemminger > --- > app/test-flow-perf/main.c | 4 +-- > app/test/test_ethdev_link.c | 3 +- > app/test/test_security_inline_macsec.c | 47 +++++++++++++------------- > 3 files changed, 25 insertions(+), 29 deletions(-) Acked-by: Akhil Goyal