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 A538343EA8 for ; Fri, 19 Apr 2024 02:54:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79F744027D; Fri, 19 Apr 2024 02:54:31 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2069.outbound.protection.outlook.com [40.107.236.69]) by mails.dpdk.org (Postfix) with ESMTP id 65F7940273; Fri, 19 Apr 2024 02:54:29 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h3mGdL84DFepXyVUh9WTCEFaHfWlDiJO6gYSa6osHd/jAv4NOxUUdTB/9cyIlHgWXjfAEZFiBe5ZAB1xp4sxKUX2A3yo5nX3sT+P5BrEf0rk6Q2V8ZCnOUoUQ5wMtConqq8nT/vjogk/CiYqKBakRFqnNhZ/s14umbINSw4XqyJxrTdetoatSmfFLRauliFlPrhaBQMEw5lMxSlR/vb5Q9E6bzXg6pXIB9GqlkLO4FjuWkveNSeKUeVFfM5Fc/6er1YSwaX2BMHN9VTiie1TbyjzVqN5DESueMt7C6iqBIqK/Rbk1kalgnFDU5Jh+cVpT8Qb6+AlgByZ2LAYHRUWrw== 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=CG8w1/JAOLfU6xtXXIDQBBZ05soYcTlx02SmV0EW5oI=; b=JavmZ/iyvE8yoizXL6TPWy+NHjbSTABTaBH/kkpgM+vMrrJmYTAIvmQyYAtmB3rh1W4AUZN+lNex5TYWSfV4uoGuVHEU+uh+Fw40NT9ST29vdCI1qF0pFJydbU8bVu60rbXBYFPBEDTTMyQqb1/jqJ8dkdFKHJkb5oQFTmijiNqkP1Yeo5O7aMRrjWjHJqneCmVRmADfbCDlcHpggipzPAn7Q4O8R4PCiSWd2AYmAkwa0wPLzzvaVC2afh/422x6qGfyoWuZ9in3BQZRShxfc0lYyjj8LiVS13LRyX969xDpwXBgyW8oDHoBP+kUzpI+20ErKtyccLs8guUnZUOiYw== 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=CG8w1/JAOLfU6xtXXIDQBBZ05soYcTlx02SmV0EW5oI=; b=m2VJBsdYAENJp3/U690cgvhGqgZblSud5XaNh/8aD+2Ms2Zl/gXSehPcRV7pagGnEq3BJ6aIv0dU0tMsTvd33dJjLtXKEOnH7U36Y+kbF7A8EUNDY0uEnHO48GrLLa8HRJZZlhKqPdMIaRxHnHKk3qRqGWaftTQqI3Y2Mu1NFmA= 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 CY5PR12MB6276.namprd12.prod.outlook.com (2603:10b6:930:f::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.54; Fri, 19 Apr 2024 00:54:27 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::282f:29d3:cac1:cde3%7]) with mapi id 15.20.7452.049; Fri, 19 Apr 2024 00:54:26 +0000 Message-ID: Date: Fri, 19 Apr 2024 01:54:22 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net/nfp: fix parsing non-exist meta data To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, Long Wu , stable@dpdk.org, Peng Zhang , Zerun Fu References: <20240415024758.1001527-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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KuyO 8Zk= In-Reply-To: <20240415024758.1001527-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0506.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:13b::13) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CY5PR12MB6276:EE_ X-MS-Office365-Filtering-Correlation-Id: 7da92426-f9bd-4468-db5b-08dc600b4305 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jPedJW+bipzm/M1C2Ax3EC4k20IfxjbXGq2Lqi3lnYs405i32FyX8AsEIK5AiskA1ItLmDI9laZUrk2KJwZozCcSsKZp6a/If7eX/2MxArq+G87iuYq69fUqiZjGwkpRuwCG0jjh6D6F2SWlijvZ3KJw7A7N6xcfCilDUCOx7XXEHDHNAXuC4p3PqID2CdzNs5dFU/kzYVU/6tk22wBTltM2Oj/HkgOlRzXxl/rEbRbEPko9LqCmQC80f/dyzWkb8zHetIseFdr//lFVve09MZ6XsbaKu5AUA+UbjrN+/XQPVdksboTLKVvJ2LV3xMVYLNYZP3DSF4CWLyN/tG/gr5JM5uPOCNjGFrtzOZVVUUN9k/IJfcg/PhW6wtVzof4aK7EEbpAJ+fHfONlqc7v9qL77dpSDAeuwM9i93jSP48U2Y5B6uy3vXkGcXG0YHXjAgfUXL6Uy3UjFQLkjoHR5RQhS0qzvh9BRHxbGjiGiXV1MfDQSM0GzcTiD4csrOTBroTRRIpLYvotKpKJmg9/rOrMHhFMkevFCdJRJEIvhWIhHP/oWWD3cM9fM+KxYUMgvovsaiUsXbYY4fGuWf/AxV342jycrIaQIb+0dfE6ep3Pt8KNAARiyjLFyWQa1p8yqcsZtdnjnu8GTPQa9V48EJ//owSgsSGo19q5B447xVWU= 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)(366007)(376005)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T3RxZ2srYUhZT0duRVpXNXc3VS9ORW9ZWnB3Slc4NURzbjM3cnd6TXFJTE1L?= =?utf-8?B?WndHVWVjbGp2NkMzUm9ROXJsZ2crdzRtUWRxYThDNWp4SGlzSjBrYTV6YlVT?= =?utf-8?B?bTNRd0dYTk5leW9mQmI4ZSs2WnU4NG51ZDJGVHM5RWdUa0xObVh6L3VId05R?= =?utf-8?B?UHZpUnlnZmZHZWNNMVV4NXk4NTZvS3hFbXVHeFI3SXRHTkZpbHZFQTFzOFdt?= =?utf-8?B?RVRjbFFQQlRRVC9RaC9IWXRSWHRVQ3JST0xKN3phcEh6ZjFZZm5iNldRd29v?= =?utf-8?B?VXZ5OXVvSmFsdmZQSXJIdmpONE4yRGlNSEJIYXdtWDVUa0x2WWw0V3lYTlVF?= =?utf-8?B?QjBWanRGNVZIbGN0NVA2NGptMXovNzVuNHZFYzNQTmwwVE4zR0JuZnRvWXo0?= =?utf-8?B?eTFlL1N1V0lqK0FLMHUyVkkzUHgrRENsbUw5RDVZQmNwTWJGNWlRc3BrL2Jl?= =?utf-8?B?Y2k5cnAvTDd2U2w4ME0xUlBaZGpsY2dDK1ljRkhBVmlsMWlWY2VPOTBoTnF1?= =?utf-8?B?UU10T0haWmpSVi8xVkNVQ1VrZDNnRTVwVEFPcmdYejhzN0pQNHJCYi94UXh6?= =?utf-8?B?dy9laGx6SlFKM3JBdFZ2bmdibkhyWWUwYlRnMVEyWERrakhhRXo3YWthWlhE?= =?utf-8?B?NWRDOG1HV0xJTk0rd2tQYkZZeHlNdG42bTBDcUd0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XZVSWdNeTNiZjZ0NkhNR01CdTZRTkJCNkUxZVFp?= =?utf-8?B?bGJPNEd0Y1d6b2dDSjJKWlVsRk9CT3ZxZVkzSDc2bVI0dXhSSVVOYVIyd2RC?= =?utf-8?B?b0h0aDRIckxrWHVlTXdObHJJYVlwZnVuTmlEbktwcXNmKzhvRnA1dmZpVnh6?= =?utf-8?B?ZnBRdkRqZTNnampUNmFaeTc3UVpvcjJ5M3UvVmE4QWVlQU5RVmo5TmhlYnFr?= =?utf-8?B?OG5QUHA1eEdmaDVMVGFlbWEzSU1jUlZGaEVHUHQzOGpvRE9PZUJHL2dqOVVj?= =?utf-8?B?b2JTMy83WXJUS3VTM0NqWmV6WnFNNitYZGJucGJzMnFIbTg2bTB6REtUSVJn?= =?utf-8?B?UUpvMktJMVFDSnZ0MWxEbmlTUjBselNEdzdqMmRRRHZvUlFvWUFQOG9vVXdO?= =?utf-8?B?aHlsQ3ZzQVJEN3JJc1hFcGVPNFNPWE80QzZURkNEMk9OUFlJWERienpsOFZY?= =?utf-8?B?c2FwaWp5ZWl2UThNb1VHWW9aaTBxWmxCbkFSV2pzbjJYTUtpOVBFM0ptdVhW?= =?utf-8?Q?kEqE77yIkdcLj90WrT9DqmRRL?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7da92426-f9bd-4468-db5b-08dc600b4305 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2024 00:54:26.8705 (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: m9jQnWvpKCcL+0KbjeXQmbgdOMEhnmH6g+XzS7s4SHVDFZRjNoRW5FV2bnxy+eOw X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR12MB6276 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 4/15/2024 3:47 AM, Chaoyong He wrote: > From: Long Wu > > If the packet without meta data, the initialization logic of > 'meta->flags' will be skipped and lead to the wrong logic > because of 'meta->flags' has random value. > > Fix it by make sure 'meta->flags' can be initialized in any situation. > > Fixes: 5eed6ad5a7b9 ("net/nfp: use flag bits to control meta data parsing") > Cc: stable@dpdk.org > > Signed-off-by: Long Wu > Reviewed-by: Chaoyong He > Reviewed-by: Peng Zhang > Reviewed-by: Zerun Fu > Applied to dpdk-next-net/main, thanks.