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 ECC28A0A02; Tue, 27 Apr 2021 22:21:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63C50410FD; Tue, 27 Apr 2021 22:21:23 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140072.outbound.protection.outlook.com [40.107.14.72]) by mails.dpdk.org (Postfix) with ESMTP id 6EF87410D8 for ; Tue, 27 Apr 2021 22:21:21 +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=K/4fSh4Ou196q6m+GoU5QHDTFSZEZKY7+0r8nHZIjXg=; b=s+ns8e8ilkASulDJ83nksy8QqPJOK3/PU/Zj0AUGiCX4RlANIotyfpGyKR8RFTA3TKH+MjSS95BOF+jkQNeexIFiA3RdO36hV5Y04MeqOecwpvX8sHxFAcF+U0/QZpOxGr5d1hiMNpxB8AQdgQH6zqBxCSnQPUw3ArvqBesnDDQ= Received: from AM6PR08CA0032.eurprd08.prod.outlook.com (2603:10a6:20b:c0::20) by AM5PR0802MB2482.eurprd08.prod.outlook.com (2603:10a6:203:98::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.23; Tue, 27 Apr 2021 20:21:10 +0000 Received: from VE1EUR03FT028.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:c0:cafe::ce) by AM6PR08CA0032.outlook.office365.com (2603:10a6:20b:c0::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.25 via Frontend Transport; Tue, 27 Apr 2021 20:21:09 +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 VE1EUR03FT028.mail.protection.outlook.com (10.152.18.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Tue, 27 Apr 2021 20:21:09 +0000 Received: ("Tessian outbound 9bcb3c8d6cb1:v90"); Tue, 27 Apr 2021 20:21:08 +0000 X-CR-MTA-TID: 64aa7808 Received: from d36a57c40d98.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 437CE408-AEB7-4E10-A42B-0477509116B4.1; Tue, 27 Apr 2021 20:21:08 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d36a57c40d98.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 27 Apr 2021 20:21:08 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QyltwS8ZTVNjWvyQm5aYOvshXBHhDoSCqhCbGol6kzALKPPXuE1lUFFWiY6KN5dtuMhykn9xv9FcqRswpYdDccYlRBY3LgyFaM3a4s5tlm6fMCIP7DXc7hOVM7K2jsgABjY0kYJhE2JdoM15NNYIRYJsx5tXszna8ktMmNleRhB0px3P1SHuRUsO6BcFT1uoBNclErFWxY3abzBQCQScBD1VgPzKoYBqEPyR9LxrvFAhKyk3wYXlzJ3iHWVxsKYASEXRiowFyhIDj2UKsvjGfdchDfT5FFllzDd8ZpZby2vSunWSv/NF8N7IgyW464j+4294i5enH/RucyzUVAmvXQ== 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=K/4fSh4Ou196q6m+GoU5QHDTFSZEZKY7+0r8nHZIjXg=; b=YAzpjsYQZJwvRB9CfJvrq9ruMeTXwQPWzO41BXiHWZu7xZ5qT8IlwQrRKG+Y9vcYgf356X711bJp9hqOVlIZJ1zyi2VsHOmcJjbaFe5IBwW9XicPTjaXjdT3xJxN368cWDJI12eMkECfkal+7iL8tR0GZ466RmTi2i49pPvVNxfyc3CooBg/MbcIMIArSXNuzmM6wI5RKj19hrrb7dKtXJU4dZ/QcyaaV3EKLtDAhxFY40wM5HKhvGUdHEhzTQSsOzL9wgZcXqSVSdSjhSllH5gczDfpoXeWgOphId+1FfKCY0J8pM5ZCFfMth6m/0gnNYSn0qBxFSls51taUlAkFA== 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=K/4fSh4Ou196q6m+GoU5QHDTFSZEZKY7+0r8nHZIjXg=; b=s+ns8e8ilkASulDJ83nksy8QqPJOK3/PU/Zj0AUGiCX4RlANIotyfpGyKR8RFTA3TKH+MjSS95BOF+jkQNeexIFiA3RdO36hV5Y04MeqOecwpvX8sHxFAcF+U0/QZpOxGr5d1hiMNpxB8AQdgQH6zqBxCSnQPUw3ArvqBesnDDQ= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB9PR08MB6634.eurprd08.prod.outlook.com (2603:10a6:10:23f::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.26; Tue, 27 Apr 2021 20:20:48 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::2994:a01e:2de:f94e]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::2994:a01e:2de:f94e%7]) with mapi id 15.20.4065.027; Tue, 27 Apr 2021 20:20:48 +0000 From: Honnappa Nagarahalli To: Stephen Hemminger , Ferruh Yigit CC: Jerin Jacob , Kathleen Capella , "thomas@monjalon.net" , "dev@dpdk.org" , Dharmik Thakkar , Ruifeng Wang , "david.marchand@redhat.com" , Bruce Richardson , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "Ananyev, Konstantin" , Stephen Hemminger , nd , Honnappa Nagarahalli , nd Thread-Topic: [dpdk-dev] L3fwd mode in testpmd Thread-Index: AdcV2H0Bhkmz7z6QTBeC8FixZy3dngAaQ6AAABIFuOAAAQNCAAAAQNqgA/efEhAAAYi7gAAF6HhgAAl7GoAEe3+OoAB4fPWAABDYiwAABc478AAb06kAAAz1JoAABPozEA== Date: Tue, 27 Apr 2021 20:20:48 +0000 Message-ID: References: <2273212.ItJIoklBD0@thomas> <20210426104720.2b892045@hermes.local> <81781e97-735c-f584-4148-ff07dedc5cb4@intel.com> <20210427090121.4f6f0089@hermes.local> In-Reply-To: <20210427090121.4f6f0089@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: B7BA51D8A070C844A69F5FCF0ADD8085.0 x-checkrecipientchecked: true Authentication-Results-Original: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=arm.com; x-originating-ip: [70.113.13.105] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: aa2330b2-8965-45b7-3349-08d909b9feb0 x-ms-traffictypediagnostic: DB9PR08MB6634:|AM5PR0802MB2482: 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:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 8IXnYboHrN/bd0wKxaGirJezTk9nKlJ3pr3xeNLzvz491etesU6ra8Rb89WspfbdPA8NGAyTGD4sPuTbb82LsOFN6BNmZhf1rUCor1V0xpaB6SzDIhNE68ZBbur6Jrb7yAd6EmNd1Gt3XT5Uv4LKfD128D6Vc8azlbMHRetgg5/FvaxJ4t0o0CmU/Jen2NQ/BR/PBNcL2eeLpmOzG0MojQThcH4xZXIOa8AmTvorDKN/eV3RNV+2Hul8eSsTev0+gB8b+3CG3xNyw/FpifOS9F7pFzcgPTxWlyr0iu+cjSSYAfLYdYCCnIKI2sd5B8RTTT8yqi97SAvGs8vZ1gJ+otbyL9ijFRnPpaFCx69zj7UB/g19HCdnx7RSXRj4B7YXKsj22B2XmwT9zgz0x88puI8BI+V9ATpxkC3Ms51S1m/dA/7XT/wzieSjPAk4Pm/ZiOcgquZorqOyPDfRJZuNsJ36yaw6q+cJOgCTi4DznMUfU3dXA5uANVdUroYBXuGwH3mIPK2i4xS9q1h3wtRJ9sobqFjmOxWQ7eS5MvaIZ7SX798GO9qMDDeidaZM/iApHH+HFJrZnfoPPCbynRpvDCj6bpcFBlAhHBaYbcIvMGJnlXw4OfmiuVJsXqwmF0ZHnuQlnOmjJS6EVhzb7YmTUA== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(366004)(39850400004)(346002)(376002)(396003)(71200400001)(86362001)(4744005)(186003)(8676002)(26005)(5660300002)(33656002)(478600001)(6506007)(76116006)(55016002)(9686003)(66556008)(66476007)(66446008)(64756008)(66946007)(7696005)(8936002)(52536014)(316002)(54906003)(110136005)(4326008)(38100700002)(122000001)(7416002)(2906002)(32563001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?lHv77gxsueSwXRMA1m1Dd9Dn9vfxugKX4Aykp3a5xA0Cd3+5D7BssLNRKkvh?= =?us-ascii?Q?Rt2QsFBHJZrZfxoDSRRjJM8QPTiOgpDb0CvvClAxYgDtw4LTsqWlM8VaBFf7?= =?us-ascii?Q?hXN3qbmRmFtbvPzJ/TOFaZpF7a/r7l5mljsJShWYk+1Sg/1LgJEYN6vjLeQY?= =?us-ascii?Q?X2AT35KqnP7nr3j+GNOn23+eeqlV4iDFIwTucy/5FQFcx0uwihjjUVMJmGky?= =?us-ascii?Q?bkTZPOZnWeTdYJlep6XMRIQXl/0g3QF22YRXCccceb4HcwH+e8rKPrOOULsu?= =?us-ascii?Q?7Nz+jU+72Pr3JjGGr1X0khjmR+XJbETv9HUefvI/iV7WfyoxjkRbrJxHhyIV?= =?us-ascii?Q?ZsKZw+y1ZbpPiOB0nPoDd4TW4oSjmnI4bnI/BcP5O7Jd9JYTsejbh/Cj2ltv?= =?us-ascii?Q?NOP6cte0LoDYqOmJgvAFhgsaOZFhRM3l0ydKy4PTDmSUz5mZybgfcf9UbRmi?= =?us-ascii?Q?f8AbIOTPcKyugLiUiMnVdalxux70HFE0WlF0LnnNCvwvi6ICWdsDWsgot4rW?= =?us-ascii?Q?rUwQWr0kwb9geC91zQ9+cVZfcHXyv+FRji/1smmkm0MGyL6za7FOO14jSCnN?= =?us-ascii?Q?wdiuEC3FBNUqTIfCvKIzynxm8Z1P7G+2ixsIzCU3WltcRyugXUWZA3kaRpdl?= =?us-ascii?Q?3A6wRlZh13OrxIByuHqvKjUMAtgEap5XhsJ1S1L18tCt/YoGUIT2p3AjQvzA?= =?us-ascii?Q?Fi10cAuMFQq3KjdGGEBVZ+fE2R4F7btzb4lQnhnjQHfLlwrvmoeECM2qGt7T?= =?us-ascii?Q?vcTbFQTK+NZlr/eGLtb7l0Jv8KJ0Hww1EP2DV1+/KZRyHEGMgOdZewJSt91G?= =?us-ascii?Q?qWjIYI5j9uGi49NhuUJ+LTloAM33B4PAd9SgMpgLqIs9ClAYZi2LSqpE60lD?= =?us-ascii?Q?bj+dl46gY8vkwk890HSQ0X6OC87PI7FDxJusEl2JovFQgWOVQX60horDOGuY?= =?us-ascii?Q?B8ljwYztxuYIwU0WFagE0qNrrAGxishs06u4PI0E9NHd+YjGdmpIRBjgwYjX?= =?us-ascii?Q?+jC5hL7xSeTfiVFZCrt0Y29ihmSOfb65PaQJhvWojRuzyiwpWGe5NSpUxlqw?= =?us-ascii?Q?BZKYiS2D3EiUe3CWjFWKu+M5GPvp4WHJ5GPsjVjBsH5jkLtJEN4UfZCV9h8P?= =?us-ascii?Q?MG/AMHgmaibKKCQgqtxXgm+Sjdg13kFxUWX7BM2Cz3AqrcNs1Kv8dN48N2HF?= =?us-ascii?Q?byuFB4vugOFsOgTAY2ymqzT9mVLrgj4SOnhK5D6nzWIpueDIpqSJ3nftSJFs?= =?us-ascii?Q?tnNBzSJQOBaNjla9+csgJ48LB3lLqKUWnUuYsz/Cj7cXHR4cM5cADYB+rw8c?= =?us-ascii?Q?s55fx6u4/QQmyMHMD6EUsO5Q?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6634 Original-Authentication-Results: networkplumber.org; dkim=none (message not signed) header.d=none; networkplumber.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 13a25d7b-5ae7-49cd-f3fd-08d909b9f207 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XKqi7m0I+AQ7tBzMNdVS6pGjYaGlCH20kg980a243i4vbXnfrxW7nc6s9TekdUNgPELWjd5UcSKrURETnApoWPVyRCoRj9DK/NUeajazxqB6RpZrhiB+A5XjcGvYPWBwzN5NCtNj6JE/gp5gL74x3M1GABML+wiO9iiVzLhrQDSVCuefodjd4TmTTAv1d3So7LvhQojIsFziEXcvqsJVoEZke6Ruh0Jh1qJ6+p0CuOfcV0kxioW1BK0cEJNKJvjUsWJ2HR8wS1J8O5fe9oFlxfX1WbpCy8xRzklTfKAfuRZrP8QOwtdlRpAGSx3UwmEDxGwXkYf5nswnOo+AXoGeOXReUU/defBkuf9VSnengqxNUUTOIYssMLlVGXrvMjEElPbehyV+tDprb7903EUgJeBAupzcZP+x3IMW+sEWUJixxZLWyBTpKDIDPh/UogWs9MuxdmCFqRw+UJk3lfUCtF5hvXWKhOyhUeH8m6GOwxLigGIXStkFbp7bMATp//OVHgdrhZKjkWcWoPhzNaFkVUNQSkwGkEZO0/ROV2LFQPi1Ael3OQtiRiJRn61d+CQHGy5GwBkQ4We5cPShNL7r63oe4IVfb1eQ6qVlRrSjt+Obu1qQLElysdQJxCmXTQ6F+kTxWbOxd1t7hiPnnibIJI0mbd30wIQR6HHWdhMxHZgKh7hGUulzL7KxzDXwriLGb1gjubhysHQI9ts+YjHqYw== 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)(346002)(39850400004)(136003)(376002)(396003)(46966006)(36840700001)(33656002)(336012)(70206006)(47076005)(110136005)(54906003)(36860700001)(34020700004)(82310400003)(4326008)(6506007)(5660300002)(4744005)(8676002)(7696005)(356005)(82740400003)(316002)(86362001)(81166007)(186003)(70586007)(478600001)(9686003)(55016002)(8936002)(26005)(52536014)(2906002)(32563001); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Apr 2021 20:21:09.4886 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa2330b2-8965-45b7-3349-08d909b9feb0 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: VE1EUR03FT028.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0802MB2482 Subject: Re: [dpdk-dev] L3fwd mode in testpmd 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" >=20 > On Tue, 27 Apr 2021 10:50:20 +0100 > Ferruh Yigit wrote: >=20 > > Agree that it may help testing to have l3fwd support on the testpmd. > > > > Two concerns, > > 1) Testpmd already too complex. > > 2) Code duplication. > > > > For 1), if the l3fwd can be implemented in testpmd as new, independent > > forwarding mode, without touching rest of the testpmd, I think it can b= e > OK. > > > > Not sure how to address 2), also lets say we want to add new feature > > to l3fwd, where it should go, to the sample or to the testpmd? >=20 > The original purpose of l3fwd seems to be getting lost here. > It was intended as an example, not a complete test or real life applicati= on. The issue is, this app has become an industry standard for performance comp= arison between platforms (whether we like it or not). But, it does not have= a whole lot of debugging capabilities. I think adding a L3fwd mode to test= pmd will be helpful to keep the sample application simpler.