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 CFE73A0524; Tue, 13 Apr 2021 10:24:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A120A160C5B; Tue, 13 Apr 2021 10:24:45 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130070.outbound.protection.outlook.com [40.107.13.70]) by mails.dpdk.org (Postfix) with ESMTP id BFBEC160C58 for ; Tue, 13 Apr 2021 10:24:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zdun8LohgEp7liidIjdUqO51ri1NWuyQhgXXW4AEUz8=; b=PTefGjuEU49MHkwf+LaaLzS5ZbRuaQLoRZJFqk2v+YMterCasUZVL23MP//llpV1NY51DnKwEBDNcafvj2kJDCh5DwiNWeIueI302RvsjNJgDu+matdbP5ZwMhO+Kclkta9Tu/JSB3DIggAjo48HLdsK8cvTSxswReuy3agR1wk= Received: from DB6PR0201CA0016.eurprd02.prod.outlook.com (2603:10a6:4:3f::26) by DB6PR0802MB2408.eurprd08.prod.outlook.com (2603:10a6:4:9d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.18; Tue, 13 Apr 2021 08:24:42 +0000 Received: from DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:3f:cafe::b) by DB6PR0201CA0016.outlook.office365.com (2603:10a6:4:3f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17 via Frontend Transport; Tue, 13 Apr 2021 08:24:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT015.mail.protection.outlook.com (10.152.20.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.17 via Frontend Transport; Tue, 13 Apr 2021 08:24:42 +0000 Received: ("Tessian outbound 9bcb3c8d6cb1:v90"); Tue, 13 Apr 2021 08:24:42 +0000 X-CR-MTA-TID: 64aa7808 Received: from 8b9df82feefa.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 54C77B23-EA0A-4A44-BEF3-97530141230E.1; Tue, 13 Apr 2021 08:24:32 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 8b9df82feefa.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 13 Apr 2021 08:24:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QKNXA9pm994ya0CNWevr7hOcka4Z9TsVmKHt4vsb9+e0QMP+yvfqJWPjZkfZKxFa4mzIQpI0RvJmNYvWzFndgWZMnPYJd2Ul2aHPGot4eX8QF/enyG/Cjr0yooMwgxTCr0EQR0XdG1jssVUMe0nxPopDYxP+d90d58r/Jd6tDMIVM0xRmVVcu4C91lYDOCS4fm3KxToRrb0aiK4U2wUf4fQu4Y3vlk2ZjKepe7Gu4eIAcjmiDbqaQcbdtBMweOudk+GnENaKIZEolPp4Ne3uZq2ttvISzyvencasghiBiXpjvswZf1hRamtUlvAgtFB/xIDlcs2x+9b5x8u7xfljJg== 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-SenderADCheck; bh=zdun8LohgEp7liidIjdUqO51ri1NWuyQhgXXW4AEUz8=; b=jZSge7NdwdI2zsDiOadHlXbvG7jlDgSN9eXxZrg/bBBtVJYz+M+QrTWC3ekEyOIcYZz2jGUfYCIJbjmN0VYb0dQFXXt9T92j7b1bnGiGym0OLzGfZlRMcafiwPhCacR+9NEXDvg1NfwmIjJ9xJzts8q3Xp+F+lSM+nHR4ASAKh2yDFc5bvXf7guVMS/oe0tOsPzBuCnbFyavUmiJy8QOABLIMA1iMR/11iQ/xET1KZwYSWUCJFhNoiSBnBAc3FWeTzcckNMW8Um1HSaeDXqtQjWUMoEjWD57pT060zmAqJ37ya3Ky60yjHLfguJOKXG8AUDS/lgB99TMtqiEYDlWqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zdun8LohgEp7liidIjdUqO51ri1NWuyQhgXXW4AEUz8=; b=PTefGjuEU49MHkwf+LaaLzS5ZbRuaQLoRZJFqk2v+YMterCasUZVL23MP//llpV1NY51DnKwEBDNcafvj2kJDCh5DwiNWeIueI302RvsjNJgDu+matdbP5ZwMhO+Kclkta9Tu/JSB3DIggAjo48HLdsK8cvTSxswReuy3agR1wk= Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com (2603:10a6:203:9f::22) by AS8PR08MB6278.eurprd08.prod.outlook.com (2603:10a6:20b:29a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4020.18; Tue, 13 Apr 2021 08:24:30 +0000 Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::e890:2ff8:8cdf:83b2]) by AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::e890:2ff8:8cdf:83b2%4]) with mapi id 15.20.4020.022; Tue, 13 Apr 2021 08:24:30 +0000 From: Ruifeng Wang To: Ruifeng Wang , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "thomas@monjalon.net" , "Ajit Khaparde (ajit.khaparde@broadcom.com)" CC: "dev@dpdk.org" , nd , Honnappa Nagarahalli , "ferruh.yigit@intel.com" , "david.marchand@redhat.com" , nd Thread-Topic: [PATCH 0/4] l3fwd improvements Thread-Index: AQHXG+Enzs8A1MVesUW0Cfi7zb+pe6qyPdHA Date: Tue, 13 Apr 2021 08:24:29 +0000 Message-ID: References: <20210318102550.59265-1-ruifeng.wang@arm.com> In-Reply-To: <20210318102550.59265-1-ruifeng.wang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: DD5948E630B7AA46A18B1992ED7E7744.0 x-checkrecipientchecked: true Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [203.126.0.111] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 24cc902b-c8d7-47ac-0b44-08d8fe55965d x-ms-traffictypediagnostic: AS8PR08MB6278:|DB6PR0802MB2408: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:7691;OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 0s5cUXs7K5Zwfu4/rZjCn+FiNaEqL0CcDh3LciwRqZP9nfyVeZm4DJlaa4jbdmls0JYrzk2Rz+cIuF3IBeFGq0ePd1fuKyBYR77ziTdWXKwaQljS3YKFeGWmeh+Kcuwmc5zImaf9ON4SDO7h49LEh89RG3Ops6crMPBLgKN/tUZFAV0VxGbjK433wkEyjULvkWocqGvf4m2KZ4O193AsOTJ7DAQJO0sl80VmWHpNFpYbrJ0zDKP0y2Zbhs9y4JTyD/kHSqYjmAB+BA9FYA/S7giPDQz2ziuErSetBlrM8zoF+zkV3xlBQk7RrVqBBzVKzBhoG3c+qjqcrZMZ2pINtiVo4qE1jqeMOWEs7QAtmAffGJ87Lv3WTfGMhsl8XH6RJySR67lbC2SjOsVeIgGPhJdoB/kh0piHJqXn/ki1KfMg8ELij+wwoOAbvpTtvrbUUkteEkBeWVg3eSoI1XUSAXMEhFqKLaTYwop7pnTeloE0YOlLiBerq9rClyqkU3FJF0pRnbANj8zp5S+D7RKnrK6QotfXjovGKORr/ZnbbnLpT1o/4OiHIqB/mgCMMjefxM56d+6FGMW/L770mkAH1mB6Rn5scEj/duoLKX6W3R+wJcxgsoz7btOBTy3x5jAdwA2ov/6Qpfy7eaO+AGfKtktKkLQvIUsUrjk5swzOoeqQMMt0xTN5gjVp10w09gzz X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM5PR0802MB2465.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(39860400002)(136003)(376002)(346002)(366004)(6506007)(316002)(8676002)(52536014)(7696005)(54906003)(53546011)(110136005)(38100700002)(4326008)(55016002)(76116006)(8936002)(5660300002)(33656002)(2906002)(66446008)(26005)(83380400001)(186003)(9686003)(64756008)(86362001)(66946007)(478600001)(71200400001)(66476007)(66556008)(122000001)(42413003)(32563001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?HFSAL1yvI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qk5xuPHd?= =?us-ascii?Q?BE+bvd8BjrM622IlUPZCr3la7bJuH6eDCS0Fc/ZIWZ3KQ35RpfRUgk8JCVKM?= =?us-ascii?Q?V6F26ZD8WKAQFm1iUuY/s2qeApn+w6+qLP6C5baDNow2MRXxD8sUCOWcIEz8?= =?us-ascii?Q?FOf2ps6tX2wbcQeCpLP7r7iGoYAZvlX+OJNGIhaA58j2s5N5WQjWMwT8osub?= =?us-ascii?Q?izGCS5OGJPxZ7LTtOJuyGD9+eHkSS+mU4k9Nb4lgTgZy1QhfqVOK2SACaZxs?= =?us-ascii?Q?BCjCQpCI3SLbbYaHhUTWZ7Tv+/u+hzAkAy14eciqpNM7UecLK5kw8/+BKpLd?= =?us-ascii?Q?rda3CWNtA6gbcDX22w2V33neaTOzy87Jy7klEKL46VJX4la5rO72RgLwLNRn?= =?us-ascii?Q?4DHqu8ftnnAgpo6Z7Cbilc6+vwWM6wT+/PTH1i6/hp2Ykhd3OqkL0B1CMIlc?= =?us-ascii?Q?RC/Zu0LoyKURQFWwKspFtdFU?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6278 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: eda944bc-32ab-4591-a949-08d8fe558f22 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wGiUqV8Ei1Lml7F/3luZbA0Hdkx4UtB5rU2Tvq8wHKMZSqPlPSbZSVUslKKJ7U08kI+cy4L7Uams9mbL4h76N5eJxLwxFlqzx4fRJFLpRFKlDD7iXBN3wrCs/mzaXVwntX844numcd79z+UlFTIrVLSaL1cT2PGLeNB5RgLYTwrQGwOm+kYnTJniwegKTbI8YUCiFy34JDoWGUT29fKM8ycFT9AAhnd5qi38B0AirorL/at+eYldWcbv19Xr3h7iH5o4ZkG7K2R4UUH7tMqOck5ZoBnuDYQsE0OEucD86nCYhYw8+M9evMNb2Wy8Epy0iW38zWXRKdVIBDYlwDKlIhPFMRuw4Ee/rS5pYdkOrsaqPIvQg2I7tpFHh0SSlcWisykFkg7kxv3yRzLqqxFt3FOU5P+BlM8AknTi6HOo476Gq9UusXLPZkfWrT3Ssv9xc2T7oY7NwZjNqk/kBEfsJJZh+mibNlK/eq6GJT/6vny65rSFHHvGqKh2ttcsYQZGqge8Kw0p1UZcv0O/EVV7SmmEN7Ohz+JekLhPHfvfeiuIilPnLEM9oQPdsxnIGJeotdhvCvhvGK8K7ttwELQ2/WPFsQBCWsza0fwSdmlZLQb9PsEr57TKTm9yZD52BBJBCPT0lkd5F0WIYKz/OSjkf4X2i7AToyC8GU6pAnDtBWT9UsYkXTiTSr7wXWyCIgo/9cSutZxM73H299kx3zeQrw== X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(39860400002)(136003)(346002)(396003)(376002)(46966006)(36840700001)(70586007)(83380400001)(26005)(9686003)(70206006)(53546011)(186003)(86362001)(54906003)(6506007)(8936002)(33656002)(82310400003)(356005)(5660300002)(55016002)(110136005)(7696005)(47076005)(36860700001)(8676002)(316002)(82740400003)(2906002)(52536014)(4326008)(81166007)(336012)(478600001)(42413003)(32563001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2021 08:24:42.1210 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 24cc902b-c8d7-47ac-0b44-08d8fe55965d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2408 Subject: Re: [dpdk-dev] [PATCH 0/4] l3fwd improvements 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 Sender: "dev" Hello, This patch series targeted to improve L3fwd example. Performance gain was o= bserved on N1SDP platform. It would be good if you can run this series on your platforms and see if th= ere is any performance impact. Thanks, Ruifeng > -----Original Message----- > From: Ruifeng Wang > Sent: Thursday, March 18, 2021 6:26 PM > To: jerinj@marvell.com; hemant.agrawal@nxp.com; ferruh.yigit@intel.com; > thomas@monjalon.net; david.marchand@redhat.com > Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli > ; Ruifeng Wang > > Subject: [PATCH 0/4] l3fwd improvements >=20 > This series of patches include changes to l3fwd example application. > Some improvements are made for better usage of CPU cycles and memory. >=20 > Ruifeng Wang (4): > examples/l3fwd: tune prefetch for better performance > examples/l3fwd: eliminate unnecessary calculations > examples/l3fwd: eliminate unnecessary reloads in loop > examples/l3fwd: make data struct to be memory efficient >=20 > examples/l3fwd/l3fwd.h | 12 ++++++------ > examples/l3fwd/l3fwd_common.h | 4 ++-- > examples/l3fwd/l3fwd_em.c | 6 +++--- > examples/l3fwd/l3fwd_lpm.c | 16 +++++++++------- > examples/l3fwd/l3fwd_lpm_neon.h | 20 ++++++++++---------- > 5 files changed, 30 insertions(+), 28 deletions(-) >=20 > -- > 2.25.1