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 7FF7442C50; Mon, 12 Jun 2023 11:59:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5995F40689; Mon, 12 Jun 2023 11:59:10 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2063.outbound.protection.outlook.com [40.107.95.63]) by mails.dpdk.org (Postfix) with ESMTP id ACCB04014F; Mon, 12 Jun 2023 11:59:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UqqVKpQB77zrv6YPY33TW24zD/irNwlF0TzVxrgpDtzTXOD0UxpXtpPwFemYiLcpwYSb855XB0FqZfA8Nqj1gggMPSiqZ3MRQRyXnNc3xh4Xz6Kbp7KcXUwFuiKupiWcSv37J+2IsMrOzL3aopYHhP89mbQ9ciHJrT3V38oedzqBOzKpRD3mAEcXEuxbVnYD4vHFrffysK54u7SMIuYq8f2pvYNxsrAjV838t3NhtX8mJ/ThL+7V7H4VbhXIwRlkJSsWBvRnwdVe8vBmw/ImYQwfvmKMXwzufghMW3U3rnuef6XrwoLpmr3rYb9rqBypNYPcVhzRQ/M6iFLAk4ggNg== 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=82K0I2ly+dp/8MmYKRft24OBfBZVWeQZgv/2biyLf9k=; b=CK0Dyrq33wznT3um52r3GDCqiJ4p8Rv/IkdUg9Mi92VgJcs637qKMHJ79EsJmwxHtc7lqIRkKXjekyoV+TB8n0OFOfdM12Icc6SWvRze0zwldu1fyjVIi1DE2LgjAeGm6BETS64whi3slrPSdOk7bu+8BT7PLfXP2w4jZYRIBQFN7QWyePwfGPU6AwNShAsvkRTv14L3Y1lxU5cFw5aJwLmPiyiKcpgeoaOMf1DPxBGT7o03MlmQY3AYd2VpTgqW+2woGHFsQGdUh9CjZX29Ss6BcUbivBwV+Bt+KxjpjAeiB/cYuxeo9VIdgn/9saUb+P8Bb+MF2iyJCueYUifNyA== 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=82K0I2ly+dp/8MmYKRft24OBfBZVWeQZgv/2biyLf9k=; b=wpTJWO6gRs94C9+n1bej7AN6T4UhRH1y4m6KAcWlDCbTxBRY9v+kqCgwJ74jQuOF4fOrR9LfNrLOhRbAhEQFfHlbLnedQLEvcpwj52LO8quADlbdC0rdxSA9RWXmIJugo4/tfG1qPM7eUhF6jZKrBUeLqR+ZsstMb9RqhCMNZQo= 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 MN2PR12MB4454.namprd12.prod.outlook.com (2603:10b6:208:26c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.44; Mon, 12 Jun 2023 09:59:06 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::16e3:326c:5c2a:be42]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::16e3:326c:5c2a:be42%3]) with mapi id 15.20.6477.028; Mon, 12 Jun 2023 09:59:06 +0000 Message-ID: Date: Mon, 12 Jun 2023 10:57:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v2] net/nfp: fix set IPv6 flow action can't get right address To: Chaoyong He , dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, stable@dpdk.org References: <20230609061919.1307911-1-chaoyong.he@corigine.com> <20230612022424.1831291-1-chaoyong.he@corigine.com> Content-Language: en-US From: Ferruh Yigit In-Reply-To: <20230612022424.1831291-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P265CA0093.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bc::18) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|MN2PR12MB4454:EE_ X-MS-Office365-Filtering-Correlation-Id: 1413fea4-13b5-405e-f133-08db6b2ba876 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NosOoMe3jO0S0HbDJxujX9/hNTMbqDje3c0mE28gB3/Bll52wKwnbGBBEOcpt+HJZQmOi6RS4jFRhOfrHOmQ56oQAFlRIH/aaEVgAthVfc9pdefXujS6BNsPayVqlastAI3rE2CGvhrz1r+B4n4fUOtuuZHdIVj5Ww77qZ9TMdcHAFNh5vHybAu0aPx+NcmWjxJDNin0CuNgQVC63uGT6sbdPmpcIM9x6PSLw2F7vA4TFgNJOPPTbqVycv5UVHSdOyMPaHDbBuEnDrNUhQpa9wNrxe/2WHrW+YUUWLZpvXzW3bPeqGI3h/m8mNcN6N/NNt4F9BL36MlEIAo5Z4zSUfG7wTlthKZsS+g6tBQsD9vQa+6JFOduY4XX9ciQMJV8AI6jb+hkTJBqztRo7XKS/WH0jkl4wHCrpwDbVig9clqkOOW48IGj7fS14rqsQsFdlSpUuAySApE5B6Mob6DyTDLcDk2H+Bgq7eFgoRdIknj0E2ZCXI0wgfiEvuTzURyYazYYjG8ZJHqiRvoiMpRIJiJcC0Enyr2dRUWbVy+8OGtaEkLHKUXMftTjLB3A1vc9JiB7opwMXN99ndRoZb4lcfs47Z6Tki34VzmTja3Eb/pK367JFhqZe4s32KWqPQ08o6XwpyZ8ui+cu6feHno2xA== 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:(13230028)(4636009)(346002)(39860400002)(376002)(136003)(366004)(396003)(451199021)(5660300002)(31686004)(4326008)(66946007)(66556008)(8936002)(8676002)(44832011)(41300700001)(316002)(4744005)(186003)(2906002)(478600001)(66476007)(6666004)(6486002)(53546011)(6512007)(6506007)(26005)(36756003)(86362001)(2616005)(31696002)(38100700002)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WG5ocDA4T1hmbmtrT0VhZEZsOHdWMkV0UTBQQ2hiT2xKcGpoS3Z0RHpYVXpp?= =?utf-8?B?eHA0R2Vzc28rUWVsNmVXNHhCZWFYQUwyQ0ptVmIxYldQckdHT2lmMlNzUHVY?= =?utf-8?B?aWhIYkgrRTQ0aUpTY3A4T0FzazN2N0xQMVovWG5JaFZzSnFyOVlwb01kdEJp?= =?utf-8?B?akt6emExcUUwbExQODVXQjdzdzNFWmhmbjVFNkliV3ZRa1UzR1BBaUxNeW8z?= =?utf-8?B?em9PQ2E4TVJJem1vVi9QU3pBMmlrNUZlb2hLbEVVUGtDWGJYSlhkZzZhZG14?= =?utf-8?B?OU0yM2RTZDV0YndEM25BSE5vUXJ5NzJ3YlRDY2l1OTRKcW0wVm1XUkU4dXhE?= =?utf-8?B?MXVHMWd6djdLY1o3R3drb3FTMVd4a3B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1413fea4-13b5-405e-f133-08db6b2ba876 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jun 2023 09:59:06.0477 (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: UBZvz7O0mUNwjRYFk65n1Bvr8ckrTeNgpnC/okldZXr9JGFGAG0R3O8/Qek1pHox X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4454 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 6/12/2023 3:24 AM, Chaoyong He wrote: > The former logic of set IPv6 source/destination address flow action > can't get the right IPV6 address, a 32 bit big endian value is > expected while a 8 bit value is provided. > This caused the offloaded packets don't have the right IPv6 address > as expected. > > Fixes: 596ae2217214 ("net/nfp: support IPv6 source flow action") > Fixes: 51384f79b264 ("net/nfp: support IPv6 destination flow action") > Cc: stable@dpdk.org > > Signed-off-by: Chaoyong He > Reviewed-by: Niklas Söderlund > Applied to dpdk-next-net/main, thanks.