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 E943DA0C48; Wed, 7 Jul 2021 07:20:43 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A607D406FF; Wed, 7 Jul 2021 07:20:43 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80083.outbound.protection.outlook.com [40.107.8.83]) by mails.dpdk.org (Postfix) with ESMTP id C1EC84069E for ; Wed, 7 Jul 2021 07:20:42 +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=72tymxTYXk0fdOSmUSTtmtQKnVp7GQg4h/YbkfRRZUk=; b=MsGvxiI6dcW7VNXEbdlSmGIjcg9cBtMdS+CPiacKyAcVNsKl8gFsFyEj8BwAh4jthwntwd88J9H22iJlQNgQYaTp0CMCYjsGCIU01eXzgIcN26PeAeZ+y+iDCQwemKjdpQ5RSqjrOFfgb3MfCAx9r4IPLy3Z/aSZmM+A3Z4aQDY= Received: from AS8PR05CA0014.eurprd05.prod.outlook.com (2603:10a6:20b:311::19) by PA4PR08MB6176.eurprd08.prod.outlook.com (2603:10a6:102:ea::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.31; Wed, 7 Jul 2021 05:20:39 +0000 Received: from VE1EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:311:cafe::82) by AS8PR05CA0014.outlook.office365.com (2603:10a6:20b:311::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Wed, 7 Jul 2021 05:20:39 +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 VE1EUR03FT054.mail.protection.outlook.com (10.152.19.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4308.20 via Frontend Transport; Wed, 7 Jul 2021 05:20:39 +0000 Received: ("Tessian outbound 71a9bd19c2b9:v97"); Wed, 07 Jul 2021 05:20:38 +0000 X-CR-MTA-TID: 64aa7808 Received: from b5dea5021e78.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9BADCAC4-4548-4F4C-BCF8-BD0C22B87F52.1; Wed, 07 Jul 2021 05:20:32 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b5dea5021e78.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 07 Jul 2021 05:20:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BG0PSLX3L6RZC+6FLx4+LuMmdK2wpEWvYfXV/duVX1MlTsatuIrB3tZguTKpLKCrFTHjJ6GzOk7NU2nnV7/t23ImghMiky2Nvqo0hQ56RxtH36B+6QSVG4AnU/OuhO6hvsCpG6gqAvVKVddmRF5VIemT4lBxVXN5LAdGpJ96V2cml8yTl/PlpLy39SuFHjmVfhidB6PsE4tiPqQsqn3YNbBcbAfDB3wrnJNP2EFmciUmF3iSXjeAP4+qQsCDK8mnCGV1M40tvmyQkhr53gzhd0lxn5Ub97jedXwyby5oqIo5AyjPXEj1FdI87ehGJMRllYmEq6BT402BU8C1VdKOBw== 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=72tymxTYXk0fdOSmUSTtmtQKnVp7GQg4h/YbkfRRZUk=; b=Jbw1K65XpfZ1BZ84UxHGeFukmMmktWrLnepe8c8j3ls2QTfCvr8XwFWWwUEGZIMJIc3hB62migvw8XR2v+0smhs53czfOzmvZzUym8sCANE+SMJVV5u+JtUg4hDfK+FmlL5FgOH6x1zzf6FNyLGx7ShWvCFgrcuHlIObFro0+tC+NkD14NhcDSas5zJLZgMm8STtlHiJM4Bbn31mZ6m1Ka6sSyMWxljz8YHibmYijPE0kfJVCQqxXVh3HaEsCNpgP+fbKos1o5fSnMvnvnWqkjVyMSU2x9Um+pUfYcXfrrf9QU0AE/2WCZ9sMOf/uo+2rQ04zgqjDCJ6PXP/JpArfw== 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=72tymxTYXk0fdOSmUSTtmtQKnVp7GQg4h/YbkfRRZUk=; b=MsGvxiI6dcW7VNXEbdlSmGIjcg9cBtMdS+CPiacKyAcVNsKl8gFsFyEj8BwAh4jthwntwd88J9H22iJlQNgQYaTp0CMCYjsGCIU01eXzgIcN26PeAeZ+y+iDCQwemKjdpQ5RSqjrOFfgb3MfCAx9r4IPLy3Z/aSZmM+A3Z4aQDY= Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com (2603:10a6:203:9f::22) by AM6PR08MB4053.eurprd08.prod.outlook.com (2603:10a6:20b:ab::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Wed, 7 Jul 2021 05:20:30 +0000 Received: from AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::3d12:4220:b215:7c52]) by AM5PR0802MB2465.eurprd08.prod.outlook.com ([fe80::3d12:4220:b215:7c52%8]) with mapi id 15.20.4287.033; Wed, 7 Jul 2021 05:20:30 +0000 From: Ruifeng Wang To: Conor Walsh , "david.marchand@redhat.com" , "konstantin.ananyev@intel.com" , "vladimir.medvedkin@intel.com" , "jerinj@marvell.com" CC: "dev@dpdk.org" , "paulis.gributs@intel.com" , nd Thread-Topic: [PATCH] examples/l3fwd: remove useless reloads in EM main loop Thread-Index: AQHXcl4xuMXjqwBQdEqpVnhC/CwjSas2+jPw Date: Wed, 7 Jul 2021 05:20:29 +0000 Message-ID: References: <20210706115755.1011721-1-conor.walsh@intel.com> In-Reply-To: <20210706115755.1011721-1-conor.walsh@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: F585BE45DA97D14983AA2B729AA60132.0 x-checkrecipientchecked: true Authentication-Results-Original: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 566f8f69-11ff-4e42-c7be-08d94106f55a x-ms-traffictypediagnostic: AM6PR08MB4053:|PA4PR08MB6176: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:459;OLM:459; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: vgmsLQbmiSTcnC7AHHpZ5W5zlVnf8cQmf5wu9J3kKmhBMQ6HZKgIiTIR5zzB0POa1JTQiYmOuD4WUHc46u7oMq2xuQalAEkxzXyhkJjB1yQsJx5t6GvryX2dlZJiZuQ8YgkHx/09eOySJncjsfWr1AAvg88/BBuCO8bmlUXZ2+SQnVOSIxyThat0dCsj3for9PwiKSyx9QlFydgPotD5lxdGxMKjWyl+DBKilrrVrGli1yNZ62E1ejJkjI8QgaQRXfpktNRE8yM5sgnxpXNxwtWfDrLWjIfqLhBuGd7uSb6xibgeJWGoJT22n+EWz7i8xv3YRG5WO6Ljc6bLXVmS3gIL8URtoDcwvsC1xwJzrgPt5uNvjOuAIEQ0kTefjsPGyhOk1WTKz1CMshopczRQJ8ghPJHkdZzutXQMgMyHmeEFvRMB/svb3xgQ7Nnr0EJr6SgqOiYUfz81u8qdn06aCtnXaRysBn6CKOZYkbZ2cqqzE9S47troe9+Yq1vFACBkRx0SwQHIJ+6NApDInbgyc1kVj6ggePa8iNt4ISUDmw6iRJ/0KFIhofo6vz0gRJxpz3H8/XIRX9223F4+VTlv1xtqj6FDaUq9O3T5mhauaEsQQop2aJZriHagzGYRYT8ImF6v0kZ/amVGMrvFhX4l8A== 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)(136003)(366004)(376002)(39850400004)(396003)(346002)(110136005)(316002)(122000001)(83380400001)(71200400001)(66446008)(38100700002)(86362001)(64756008)(2906002)(6506007)(54906003)(9686003)(4326008)(4744005)(55016002)(66476007)(8936002)(478600001)(52536014)(66556008)(8676002)(26005)(186003)(53546011)(5660300002)(76116006)(33656002)(7696005)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cRZlKqqDQt2M3dFvjbi0LTN55gOv0qA+ElLi6KEfW3uQo//+AYXicKKOei++?= =?us-ascii?Q?/LurmvgXE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VIz?= =?us-ascii?Q?2GIf1KK5kzKRyd+/o7QXe2uNJE67jDM9Q74FVeGpkpNjAfx+MDa+9VFbDY+h?= =?us-ascii?Q?vc/rpWrO7nQ17A+tLNOieENCfZ0HHA4KjvxptdpEfybJnOh4gCccvVHGwIHH?= =?us-ascii?Q?dsy1JCbUr7OBIoU3JlhHHetDFPAIDEEXfmfq2jnBUZJFemVeIoQ0OVg1drtj?= =?us-ascii?Q?ZFnl1D498nhdM8jwZrwv7UaODGq9DlDkfSzl/n3tz9Tn4q2eyyXLs9KfCgxp?= =?us-ascii?Q?nFab1dey78A2oQ8CpUisYeeVV22dDTbpwWH7kID+4IiY8kzsEwW4es0af/AW?= =?us-ascii?Q?4YnAqoGxa9jorEyAVI5U1IanhFGfTq9KAicZEIHucrN9ahQew8JAGZ/LhWSP?= =?us-ascii?Q?6i3WbuJ9ZSygGUGsHBrK522W?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4053 Original-Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 90ec9eeb-537f-4571-178e-08d94106f002 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BZwCBESj7jEP9JSX9qwvJTGYkuHfkpFTYFTBejIq8jziPRdW40pPdBCllzUFEwXEQhlqpquX6en7YkSnHb3crUYglOFwHkRkNd/6dfjEjdclchNx90c318MW87YkVeGPryhGMIcN3A49TUU4kDs2lGvXd3mr+NS0gTchArkAGduIVymbWyuAUBmk3LsnktxZBFb+BsayLraESlP393xuqXFroqBAiDR/Cq+3oBzPEggbO0wfMeSol+cYnNdBs8G1gsjzpIKufMNsYkQ60RBk8BKD0k0KvP5dqjJZhXuZ9DbdFBADxs66h+U1NXeObISMp9YLnmD6LRzALVOA1EllwOERky6VMTjI63QopHNWQhcJ0rUk381LEAouZd39194Jg/89uIDhCwg7LrI1XP3yTTOXk4L04gkOoit7KFZr01RvQB1hMZuAGPnmDg97Jx6MuVdEA06bbd5tyAal33pmOR94bxM61GsXm5YPNuqj2C5F8p4l1UaLIxJkCdia2oj2eUTTY6NdWWuhqKnnHcRiPx/iU6WCA7ckIU2QF9iU6kGxA/MHP2gTOMwC+VNLViqmwSBfJQs86KVJDrSWMGp+ziaYQiCltqIU6HcM6Jepz56TyKIMLz7yKMlxuwG2YGUtztN4KKHYbVJM57hhK0zGVHnbBNm08fKsKkDwkFIi3JyoZZ1+z+gP0m0PUm2KQNXtzRPJMt4H9lUB/v0xcpeIPA== 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)(376002)(39860400002)(396003)(346002)(136003)(36840700001)(46966006)(82310400003)(82740400003)(55016002)(9686003)(53546011)(70206006)(4744005)(336012)(110136005)(5660300002)(356005)(70586007)(316002)(7696005)(54906003)(36860700001)(83380400001)(52536014)(8676002)(26005)(6506007)(186003)(2906002)(4326008)(33656002)(478600001)(47076005)(81166007)(86362001)(8936002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jul 2021 05:20:39.0502 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 566f8f69-11ff-4e42-c7be-08d94106f55a 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: VE1EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR08MB6176 Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in EM main loop 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" > -----Original Message----- > From: Conor Walsh > Sent: Tuesday, July 6, 2021 7:58 PM > To: david.marchand@redhat.com; konstantin.ananyev@intel.com; > vladimir.medvedkin@intel.com; Ruifeng Wang ; > jerinj@marvell.com > Cc: dev@dpdk.org; paulis.gributs@intel.com; Conor Walsh > > Subject: [PATCH] examples/l3fwd: remove useless reloads in EM main loop >=20 > This patch aligns the l3fwd EM code with the changes made to LPM in commi= t > 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM main loop"). > This change ensures the compiler knows that the lcore config variables ar= e > constant values and the compiler will then optimize the code accordingly. >=20 > Signed-off-by: Conor Walsh > --- > examples/l3fwd/l3fwd_em.c | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) >=20 Reviewed-by: Ruifeng Wang