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 4C7DD43C27; Fri, 8 Mar 2024 18:24:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B2EA42FB2; Fri, 8 Mar 2024 18:24:13 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2062.outbound.protection.outlook.com [40.107.243.62]) by mails.dpdk.org (Postfix) with ESMTP id AC2F942FBD for ; Fri, 8 Mar 2024 18:24:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V+ZHGNrWo9B/+2FyoSLHqm/Qgdq8VUQdyiWAJPuRSZJCWGiqDYvVTh8J93DoYYdaVXRatyzXBxe12hu7k4z3guKgoLvWD3qDsi3dye3thI9NqK3dkc9GVMdoyD6fS7T8H9OJPqdQ9F0woONNGZ/0AP6F5XtzoWq5zJOb2/zJ/3cVT1GKTNmxWG3L0eUNFr4lQKLDi6VsLl/CopPer+BvJ1H/t3cSvB9HvqyI0H8kLsbQk8KKxVOPHdg4eEjx7ORYaFur2ioqtcLUY2dDGl1mU4BTn1agqWHZsuxL+8u8uXgzcRfEZdPL57uPdT7GIGTCz+9tdq/wwvLoJuvyzrIRmA== 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=QI5L48q1nla4ktjQq+9fN49pAAfWwVPo+97tDOaqfDY=; b=KmQal7NfpbGYVtrfZXk6iMxJnpyedq7YBNJnqZH67UxBjJwGdPpu2hpcE+wcpOV9O8NAyhFMS0Af6EIxPW850ZttC5JuugabmzzXIdek022MRZ4S3uUJJFhU1GriD72hs3bBz9sDoHioUShafxjjasQB94uPIJ301q35S4N+Z6a6qmp5cTs86j8WtZYtspH5wDghPF6NcpvBjr+7JSQsRbMAZiWdT5lYH3EijoussR7eyGL1umkpysF12XYLBjHc2xFFM///70TOOFtOBC1uULm22a6I5yyl3HdyZB0lm6g1gUsYnmUENcENwEIY3q9+b8TBnr6fVATfU+I/FWSLNw== 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=QI5L48q1nla4ktjQq+9fN49pAAfWwVPo+97tDOaqfDY=; b=HNE39Bd162/IvvNlVomXV975rv68j8HY8UEYGH/tmKZVTEd7seWBfwlGwbPSobYnOgg11BaOGumOsa/czc4n46qS7iGtha5A5ds6xMgxSNfuo5lYUUyzt2tiyHXp9I6JPPAbNnjumYYKwXDU3S5nsFW1R6JLSFt9t8Ww6Qay0KE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by SA3PR12MB7829.namprd12.prod.outlook.com (2603:10b6:806:316::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.27; Fri, 8 Mar 2024 17:24:09 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7362.028; Fri, 8 Mar 2024 17:24:09 +0000 Message-ID: Date: Fri, 8 Mar 2024 17:24:08 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 07/33] net/ena: restructure the llq policy setting process Content-Language: en-US To: shaibran@amazon.com Cc: dev@dpdk.org References: <20240306122445.4350-1-shaibran@amazon.com> <20240306122445.4350-8-shaibran@amazon.com> 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRnQfmKmNVpcBEs4NqceNCWTQlaXdEwL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com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0217.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a6::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|SA3PR12MB7829:EE_ X-MS-Office365-Filtering-Correlation-Id: 346e7131-985d-469c-25be-08dc3f9490b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BrvrxexbWrxjpSN/oAY0E55cMQuKT2RS8yoZr01PGMohMCUyHAYzQGJC2fT1mWr3JvA2VnQltOeSyN+j7WfKJMR7QLRgIgOHKM8FHI8+n9kdwe++D0NvPvuyDVzel0eIhN9z0mZaQsl2xvp2L3ankY6WBbwA9Ky1BIG9FJ28saDW5cPARtz6BYayhzyKLj4f0YbIFsVBGid2W3h7tULTz+9ewm8mz9jy6G7Nyg8n6N4poe/g191/YNMEMbvW44DukMLaeypsiUM9vpGQlW5cFoVegl3ywecTVxg3jWKHLghJv6s+wOuST2iymr1t79NyDeD1sm71MAcMQ6yCbq9xb7G5LIYKrTfxnu7vpqwjKnn0AYaTrbYYu3N5P+RlXlirUAR2T5RdApx2FuUrJgrSZxvcl6/kAjG96IUomm/knvM4MCua4GKUBzCVMe2AgkXwqJaqH0tbjqHa1bpdi0UIK6oWS/eYpjcE6NZIA+J9WHGdfnefPMrWAcTBzEurNhmeaSCOtLz2dnVqNhabTFTwI8DoURw4Loyi2sS8PUGiR3dInAw970o1AJ9U5PutOqKIgONrTe16Vj+6DF8SGHQaSt/cqQKPBO8Dnvbx5MLHJ3vOpENHzEffm8MVLpC1sjo9jVwa37oFog8V5i6z3CYudi0WRcIlLI8cUwnneFAxDs0= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SFByaWc0MHVHYTc0VU90Mkk0RHYwVGFmUEhEc2JGMUprVXBlUGo4R3BsR2I5?= =?utf-8?B?b1MyT2UrVGdNb1p0cHUwQmltSE04bTFaNnZoeWFLT1hjWm90NnlIeW9adGtX?= =?utf-8?B?czRkTnRFaDJZR2VSVWVNL3JXUXZicjRVN2FXd0J6T0FnS0phcTZPcU56TGdR?= =?utf-8?B?ZjlCQ2dkMmNkSmxSaWZHZEVrQmZ1SUJNa1JvOFZXMXREMTFLeXFMR2lkNVY0?= =?utf-8?B?N3RhMmQwTUw5WnNNV0I1RDJxVmJoMy8wUVVSQnZMMTI4NWRKWFNIVUo4c2No?= =?utf-8?B?Z0dqL3hodHBXTStXU25zUmx2b2VUOUorNnZlNERZeHhOWWdMUVpsQ0hQdk1F?= =?utf-8?B?TkRYcVFwU2VvY2dnQmxTV3FHLzZSWWM2OEFFZDNPVEJJVFF3Rm1OdFZKWXJs?= =?utf-8?B?ZnRVc0NTZ3d0STFKY0hLVjc1MFRnQ0V4OVg1T1Urb3l3YytsQlpnZGVxbWNK?= =?utf-8?B?NWlLZzNOTHRIZWRzeGw1SUVUaHVqQ09OMllNK3k0VVgwcnlkU0Nad0VhNURL?= =?utf-8?B?SG0rOTQxYUNER1lDaGQ2RUhybGlCTnFlQ2kyTVAxVFRKQmYxMVBCKy92STEz?= =?utf-8?B?TVlGMW5rU1d6UjVOZXlHVHlNRnkxRlZic3NUeGhzcU90dnhJdWp2OEpoQ0oz?= =?utf-8?B?clFncWVQazJDVW91SUpic2w3VE1idndQejNBSm01cXJKNGxjMno3RncvZjRl?= =?utf-8?B?empuN1NaemNVYTFTeXhwZHRkTWZKWVdN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MjBFWEVaSTBmczJ4TlF6NFlHbDJuTEZxQUFIUGRqaXhCRWM2aDRscnl0?= =?utf-8?B?ejQxN2h5QzMyOVMwTk5Vb3U0cTQrVWd4RWt4WVVZMStnZ0JFTUZEUlpHZUZ6?= =?utf-8?B?TzFkMWtOK3hOL2ppbjh2MDVXdnMzNTB1S1VOaUttK0lIRnN6QjJOR3FYdkov?= =?utf-8?B?ek4xYkNPZFFremg3SWdwUDQxMVpVQ2twS01BSnQzdHdkajgrM1BqdGxjWlky?= =?utf-8?B?MGlwM0V2NjZkM2xVNHMzZVEzK05WSEQ3YkJRdk5UT2JoMTRpdGN4OFNZd2xV?= =?utf-8?B?TzMyNWFpODVHS0piekVzWUNtUEVTbkIzWm91dm5Pblo1dTc0Z3NkR3VpRVhw?= =?utf-8?B?Y0g3QndZUUxBdWgyeXRFL21pUFVvbHppZ1NrZnRhUXFYbWNKRUgyN0JnMm9a?= =?utf-8?B?bGtLWVFFMHRhTmhRQzNQRmRwdVIyblBUTWJyNjk5ZDBJTmNmODVjOXZ3WWVW?= =?utf-8?Q?ccrMR0yvW9DEa9OQlDf+rPbjG?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 346e7131-985d-469c-25be-08dc3f9490b7 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2024 17:24:09.7735 (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: snGN3qJxwDqkpZ7Ku8O3WYajq6WOVfxtg4vhqJORUMOcdUiCYpuJf1ib9XSMgKf6 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7829 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 3/6/2024 12:24 PM, shaibran@amazon.com wrote: > From: Shai Brandes > > The driver will set the size of the LLQ header size according to the > recommendation from the device. > Replaced `enable_llq` and `large_llq_hdr` devargs with > a new devarg `llq_policy` that accepts the following values: > 0 - Disable LLQ. > Use with extreme caution as it leads to a huge performance > degradation on AWS instances from 6th generation onwards. > 1 - Accept device recommended LLQ policy (Default). > Device can recommend normal or large LLQ policy. > 2 - Enforce normal LLQ policy. > 3 - Enforce large LLQ policy. > Required for packets with header that exceed 96 bytes on > AWS instances prior to 5th generation. > We had similar discussion before, although dev_args is not part of the ABI, it is an user interface, and changes in the devargs will impact users directly. What would you think to either keep backward compatilibity in the devargs (like not remove old one but add new one), or do this change in 24.11 release?