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 0DA7D45A1F; Fri, 27 Sep 2024 02:49:24 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AB49440294; Fri, 27 Sep 2024 02:49:23 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2077.outbound.protection.outlook.com [40.107.244.77]) by mails.dpdk.org (Postfix) with ESMTP id 5E9D4400EF for ; Fri, 27 Sep 2024 02:49:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OaCxDMJIKMUu+yq7F4cQIkcepPd+pzqaPcsAca37TZPlZrtLWWcOPKo3PXPY5mh5lguMbZ4G0xG4d/U2THugbGx9g40AzL56eTZE1cuOrk3B+ZFlKDPvcCw8C6SsBCiXxq4fQO/t21GvX/BYR192akdLiyrbRNsHoDAKQabYmfBiNCorgulrSr/MZzfhB1iDb/WYymJEsy2lATvkH/kaWduv5DB7JSZVXgywnFtEFP7i5AY+f9/JNqPGoKJJ+01LilBjRd/jJMGcxClHHFOu08P2+cPaf255ojOtcK8/hlwnJoqf2rGTUExdnCgAOZPoE7Byn4cdUKq/5cgaCmqydw== 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=TJHcgFSfIPttz9Pn4prx31TEmH4uvl64AXb+J3QOHTc=; b=YDBADLGQNSZcB+Th8CUbhmX7PdlQ+iIx2yiN6LLtIirPUEX9UX/zUGgT4G+RoE3IDaOaXh4UkzGypKp1wjIyk0rBD4f0Wgy2dCCwQ07tO3sOwCH2JbqvhQgpAdRPuyEzMyJK4x76eT8ZPoccuTghSarid5Y3JiAW2FAtddWX6K3L0NtM224fKRZ70Sdq+qXPw+vlazYzGWy88uoEmG2WzVOhrVTeVofIMyc72vHERR+Q9HzyBcXA456/xblSC0yPpFyDjMTnLrq18ZxIzJ9MN0nPbXv4H1VQoZm6xg/67w373vtq/rGC978eoZQk0OZa34DxiGeoJvQgH6dSUGCJPw== 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=TJHcgFSfIPttz9Pn4prx31TEmH4uvl64AXb+J3QOHTc=; b=xmfPXCJltjv9LaqqnLmPYjJt8JgeVYvxjkx3SrDPIR7m2FValkrVAeMpLoLO3jg9dXwS2pFTGs6tnHfhX2GE9jjjGnUuAaP4TwaSvDcwstoN8IBgv/X8/TKQzMVgK+Scvmfk1A4XFeaKKJT0P7z2Rk6bCxMoYpTKMxVVP5gpVhE= 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 MN2PR12MB4109.namprd12.prod.outlook.com (2603:10b6:208:1d9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8005.22; Fri, 27 Sep 2024 00:49:19 +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.7982.022; Fri, 27 Sep 2024 00:49:19 +0000 Message-ID: Date: Fri, 27 Sep 2024 01:49:14 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] net/nfp: implement the device packet type set interface To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, Long Wu References: <20240619101134.3480274-1-chaoyong.he@corigine.com> <20240926071620.3366399-1-chaoyong.he@corigine.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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0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xKuyO 8Zk= In-Reply-To: <20240926071620.3366399-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO3P265CA0030.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:387::12) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|MN2PR12MB4109:EE_ X-MS-Office365-Filtering-Correlation-Id: a200abce-bcc2-4ff6-9091-08dcde8e385e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|366016|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?MDgrN3F2MVJ6bGhBNVlYZERlWHZLb2wvNElJdXRDR3JDQndTYlRkcG1oVmNl?= =?utf-8?B?S1UzcjRGaW9pbVhpZFFlK1VlZ2RJczVpQnh0dFZYWWp5R0pXbUxTc2tqWFds?= =?utf-8?B?RmozNlhDUzJGZjdMc0JsL2YyR1lZM3ltL1VpZE83VVdaeEsrSHZvNmZqbGkv?= =?utf-8?B?aHlyc2EraWNhdmtoZzZEK014SGJsSFdnZnFtL1RRNUdQZkFLc01pWGlqSVlt?= =?utf-8?B?NGRidWJRUlJ6RnA2b0NoVFdrc1p1MlMrdFdmZHdtVzMweisvZDdmeEU4R0tM?= =?utf-8?B?dm9iSXRubVlJWUFDME5Ya2swTWtSaXFWMWtGa1hXRGpZUFJoRTFQK2lTMjNU?= =?utf-8?B?V2xOdzlHZ1dtQ05GaEZrYkVOcWwzMFpJblRVQkFvalQrS0tJbU1lVEpkWUQy?= =?utf-8?B?N2tIbnMxMVBLMlFtZHpPb2tUZFY3L1NwSllnNnF4NmgwMUNKeUl0TW5PUWVx?= =?utf-8?B?TUxRZjg1TEJXQlhrSmRaY0ZNeG5rZVZXcFVWTDZPVERQRThBS3VSR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kRPRGkwZUhXdHFGY0pkdUZsc0FR?= =?utf-8?B?SjJPOFI0dXk2WlpGb1JIeTBaM0YzckFub0RaaWVEVWJOcE5LS2pnWmxXalFo?= =?utf-8?B?d2hCMm9hT0kzNXdMTDE0bGNnTUVUaVY0dkVzV2hCQS9VNDl2OG5kYjN5NFB6?= =?utf-8?B?OEo5dmtwelA1Uy9VWW5VS2t6ZW5URXNjQ0NDWjZVWTB4TmdEOTh5clZwY2Jq?= =?utf-8?B?ajNPRGZjOGM5enBTelB1UDRic0RKbE5nMkFrTDJJZHI1ck5xTnRPbStQMllV?= =?utf-8?B?eVVoWkFiT1JIU2Fqc2tCUzRENWxpSW96Tk9wVGdYMmVYckR6bjY0Q21KRjE4?= =?utf-8?B?ZkJIb1dtOFpLWjlXK2tQVXRNbElFMDM1YitZeG5VRXRDKzZ0VUI2YUNVVE9s?= =?utf-8?B?Nld0cG5YRFJQd05NRUlBZz09?= 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)(376014)(366016)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RHZHUWxDNzYvQ3A5Y1NMdGtQdTNKWjZKTUdYM2dGVDhxSjNFNjc2aTk2MGh5?= =?utf-8?B?SmU5eDFtMnFDMVFpRjB6VFlkZWNRSmtBSXNPOTR2UG95QzM1ZGJCRnE5TlpI?= =?utf-8?B?YWFhbGxYVTVPRm5kYjlGTU9SL2c2RGxwdTR4ZnNiYW1DL3hZY2VJYlNHRUQr?= =?utf-8?B?bHZZTW41c0ZlZ1ExRExtK01OeVd2cE1Zb0tKZ2RhVmFZTUZPUGZ2UWgrSDdt?= =?utf-8?B?UjNpMEJEQkw4NjJTNXBJVFA2a3NyYzA5U0pDZGNSZjhX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-8?B?NXJrUVh0NzMwR3dFVXJHT2NUQS9ua1JFQlJDZEFFWm80WkpSaHdaUUxMbzds?= =?utf-8?Q?97tSlwULoMbV6Kqds/skQ8/Ou?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a200abce-bcc2-4ff6-9091-08dcde8e385e X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2024 00:49:19.4479 (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: 6GehBqJXu07OCzpGnSYv/QNgbChy6MSnrwYh5e6HhAWO9mfg2q6ty+LRh3xWRTBV X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4109 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/26/2024 8:16 AM, Chaoyong He wrote: > From: Long Wu > > Using the Rx packet offload flag rather than the device > capability to control the packet type offload configuration. > Also implement the device packet type set interface to > let application can set the Rx packet offload flag. > > Signed-off-by: Long Wu > Reviewed-by: Chaoyong He > > --- > V2: > * Following the advice from reviewer, abandon the modification of RTE > layer. > --- > drivers/net/nfp/nfp_ethdev.c | 1 + > drivers/net/nfp/nfp_net_common.c | 42 +++++++++++++++++++++++++++++++- > drivers/net/nfp/nfp_net_common.h | 1 + > 3 files changed, 43 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c > index bd35df2dc9..09c15eedac 100644 > --- a/drivers/net/nfp/nfp_ethdev.c > +++ b/drivers/net/nfp/nfp_ethdev.c > @@ -932,6 +932,7 @@ static const struct eth_dev_ops nfp_net_eth_dev_ops = { > .xstats_get_names_by_id = nfp_net_xstats_get_names_by_id, > .dev_infos_get = nfp_net_infos_get, > .dev_supported_ptypes_get = nfp_net_supported_ptypes_get, > + .dev_ptypes_set = nfp_net_ptypes_set, > Hi Chaoyong, It looks like nfp support "Packet type parsing", can you please advertise this feature in the nfp.ini? I think it is OK to add it into this patch.