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 8B19645C0F; Tue, 29 Oct 2024 22:51:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6220642EE8; Tue, 29 Oct 2024 22:51:51 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2080.outbound.protection.outlook.com [40.107.94.80]) by mails.dpdk.org (Postfix) with ESMTP id 2DA6D4060F for ; Tue, 29 Oct 2024 22:51:50 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GbyrghSSs6i+xEDql9V4c+szzPaL/vjJexGt3amqZU6EVWhaLtreh9fUZy8FMUc+HkHXHs0PqxmpXaWEzQaED4MVbDmm5lxQF/wjwXk5hgQkBfXeRIOTJd3jsFJBH0zwFkizakNho/i2NyD7gCiYqdjLEsWXerqWJVFOI3aAWn/KOwE3wDCIi3f3fgiYaNG+GlyCmbeubz/e/ntGae4v2KVAFh5h2I+3xBcZvpGdMzHQbCnLqrDGQfInCHLfizrF8BO4ycpROuIpTzSacyzLsyDFynh8auAcsA7nQ5M/ewSA+YwfEmZS+i3wjl3F+yR+5GEO9/62R/T4VrXQiGbQdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=PeQN/LpTBzoQ8wNBs3LC83jtTOsL94lqb9gzOZ+ChZY=; b=Q6zUuvkv/a95hojLbAhVKC+t6gtzq6Si2tuoLJFpuLINm9upcuYO7DZ/k7eCPTmYVMiYzvDRHSnXzJMbcIEK4wVXvJG7QnmxTH04/JU5IHnrrFxFrZ2leGWax/cbV97d7elWXVzPJM+vPGYkY0wPvV+IUJLc67uJB6YwXnLVEuV7z0f2YFx58gCjUdDmOfAavKme+0ykJD2pPc9k1H94RQ7+QmSUMyRKd4ethYxCJvpNOPsYxRIX725Ow/eSUwo5gLuxq1QXZqY3WuFyRigna6qqUgYhbE80fR8yKcd0LRZV7Paang2qGfzxVdTQ7FKy8LBGWoMYHEhWrtovOFwtrQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PeQN/LpTBzoQ8wNBs3LC83jtTOsL94lqb9gzOZ+ChZY=; b=pejYCFdgzh5LxfYFeErfEp2MTou7liwQu0Ha8zHXdf6Y3ZzeX8waiBMnkKwhyqWrwoaoJ3CrP9efPtb2wJwFphSF/kb5EK4yiLNbipXwfR2ffqbsFucMWUloLz4NgS2eQ9o+0k7/fKlhRa7NtxWuU+IEQkrGlIl3vdAEbLpuExo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by DM6PR12MB4386.namprd12.prod.outlook.com (2603:10b6:5:28f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.32; Tue, 29 Oct 2024 21:51:47 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8093.024; Tue, 29 Oct 2024 21:51:47 +0000 Message-ID: <2785a2fb-2daf-4da4-9da3-0528740addde@amd.com> Date: Tue, 29 Oct 2024 21:51:40 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/1] testpmd: add hairpin-map parameter To: Gregory Etelson , aman.deep.singh@intel.com, dev@dpdk.org, Praveen Shetty , Stephen Hemminger Cc: david.marchand@redhat.com, mkashani@nvidia.com, thomas@monjalon.net, yuying.zhang@intel.com, Dariusz Sosnowski References: <20240922065053.996568-1-getelson@nvidia.com> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkIC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IjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240922065053.996568-1-getelson@nvidia.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DUZP191CA0029.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:4f8::17) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|DM6PR12MB4386:EE_ X-MS-Office365-Filtering-Correlation-Id: 5bdd6afa-6f52-49b0-e2ec-08dcf863e2e9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|7416014|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?bi9ENXB0KythdXJJZXloNGUzZ1daOE1sVkJLendMS0xRSnAyeWMySnR2YnRF?= =?utf-8?B?Q1NyYjdZczBidFRTbXJCOGFSUHk1YWJFNE0yTzZGSDN6N1ZtL3pVQlh4Zm5o?= =?utf-8?B?TVp2YXIweEV5QytBUXVKN2FTTVpZaDhwbTMwMXlLUjhYTmxpRkFlZWJtcTVi?= =?utf-8?B?QTZVSjdOWWZvVjYzQlBOT041dk9jaFRYVVFpejNBcllZSGdUbFJjb2RuU2w3?= =?utf-8?B?RjY0VS9OT0RHWStiVUwvNWN5bklvTTQ4Sk1HY25nTzdyUXNUbCs2MlMzdU1R?= =?utf-8?B?aHVRVTZQSVJEZmpGWTZLdFpKeDVHYXVINmdXblNZaWpnUDl6SlJlZXdEYkt1?= =?utf-8?B?UlBGZ203REliS1VrMmNLR1JlL1JXVUFiVU0rMllkdjhoMm5ibVVpMStLMS9h?= =?utf-8?B?UnRvRDhLcjd5QUtsUmlmcDFubDY1K1R1VkpRW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9LVnl6VU5Hdk50MkI1YkptOEND?= =?utf-8?B?SE1qQWgvNXBMUVZmbU5DbndZK2JwS1VicXJBRFpoNFdzamt4LzhORGZvdDRR?= =?utf-8?B?UEh1RnMwZGZtaFBONHZsT0lpeFBWekNxTTZqRG45RG0rdXBoS2NhRHcxbitl?= =?utf-8?B?Rm9kaFErZkIvZjRuSnAwbjNoTlhra3RQb3RsZktEREFVeG5IbVp1T21nSjYy?= =?utf-8?B?TzdXS3dlc3NWTjQ5YndEb0JFZlovc0k5ZGZzdGtLQURmRGVqalVaYkRRVXdw?= =?utf-8?B?TE1JNTBVMEJQZExIYnNRYUd2anJxZks2Kzh3VVJUbTNGNU9sUjlLay9WNE91?= =?utf-8?B?VlVHTnlMd0FSZE9ibWJmMy9JU2FBcnBXNHZVRzdzYXFzWkdRVjUxdmtBbFJO?= =?utf-8?Q?xNWaUVzRx3upFmPxxiqm05XcAz/dc6OZSbhw7Ja?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(7416014)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MWFWbW5sM2FoV3JDMXJ4MGE4ckpobklVOUxSRXRWY0lKQ0lPdUpjNTl2ZU1V?= =?utf-8?B?Vk5waVp3TnFLUDJoaW5XRk84QUFlMVJBbCtKd3lmSHBVeUtHc1hlblhhcnNN?= =?utf-8?B?UEdJcFcyUkVZZjUvNXVNYkZKb1R2ZGh0enU0czBnUW1EblFoY0pRMElzZjUr?= =?utf-8?B?NGFVdkpqRnB1M1pJdUtFaXlzSG9SNmhYRUx6aFhtRTB2ZlBFb0I1aHJxNjVF?= =?utf-8?B?UFB3OXI1cEQxWkRXeTVBNmJ0RDJGT0RvSWorK3FwNWN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EhEWjRMNkM3aytoMEVPM29HTDY0aGVZTlhwV0J0aVRyakd6SzJTbUYy?= =?utf-8?Q?TR+X0sF6H7JU5dY+RCjyced+o?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5bdd6afa-6f52-49b0-e2ec-08dcf863e2e9 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Oct 2024 21:51:47.4788 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: JKje6Rv9WfuSWqETFPCdJdvy2CTuxG5/SYwMbRW9JPoyOpYfPiNpry55O0+wJuhM X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4386 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 On 9/22/2024 7:50 AM, Gregory Etelson wrote: > Hairpin offloads packet forwarding between ports. > Packet is expected on Rx port , Rx queue and is forwarded > to Tx port Tx queue . > > Testpmd implements a static hairpin configuration scheme. > > The new parameter allows explicit selection of Rx and Tx ports and > queues in hairpin configuration. > The new `hairpin-map` parameter is provided with 5 parameters, > separated by `:` > > `--hairpin-map=Rx port id:Rx queue:Tx port id:Tx queue:queues number` > > Testpmd operator can provide several `hairpin-map` parameters for > different hairpin maps. > Example: > > dpdk-testpmd -- \ > \ > --rxq=2 --txq=2 --hairpinq=2 --hairpin-mode=0x12 \ > --hairpin-map=0:2:1:2:1 \ # [1] > --hairpin-map=0:3:2:2:3 # [2] > > Hairpin map [1] binds Rx port 0, queue 2 with Tx port 1, queue 2. > Hairpin map [2] binds > Rx port 0, queue 3 with Tx port 2, queue 2, > Rx port 0, queue 4 with Tx port 2, queue 3, > Rx port 0, queue 5 with Tx port 2, queue 4. > > The new `hairpin-map` parameter is optional. > If omitted, testpmd will create "default" hairpin maps. > > Signed-off-by: Gregory Etelson > Acked-by: Dariusz Sosnowski > +Praveen cpfl is only other driver that implements hairpin, @Praveen can you please help reviewing this patch, and confirm change works fine with your changes. @Stephen, if you have any free cycles, can you please help on this patch too? Thanks, ferruh