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 88A0F42C6E; Fri, 9 Jun 2023 15:43:15 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 525C240EDB; Fri, 9 Jun 2023 15:43:15 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2072.outbound.protection.outlook.com [40.107.93.72]) by mails.dpdk.org (Postfix) with ESMTP id DBC2D40A84; Fri, 9 Jun 2023 15:43:13 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DJ1FtNoaVATuKGYSZUl+c9DHUJcgBwA/bIFCdhs1cuel9ruP9DmQIlTIj2J3e9iQU6T35HeBrCdfAOPTRBy5LH6hixcjateIu3jy6zMCQ907VPt8pRwGqgfi5eD01K/SH+luSVcyaiAbuqeexrpB7sbL7vd8GRK1GScVmjuysAEwKsuqpQmPupRn50qJKZvTond1XE7Gw9lm8HVO5fR531XXuMBuDw+ceshE1YOmUtWds9a208ZJOR6W0YCAs+H2xd01igP9aLP5dngGyWMj+AMBJud4ezYyVC9pqxdvxmwbNXbgAeaHmREAqGvAlu7NDX+MnxcrIOSFSRaAdCykJw== 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=Er7jl4GgtxCUpgU+1QOuqLOHSL5BJf1j3tlaaxpUSHo=; b=XygOVBQoSBUMTzZXzUj27cEdJlenEW34RjmMZ62p12iV9jXIXfv77xGIp5IRABQcu/Yrz2ckI5XATTAngCVBTUd+vNBKJG7MXXaPwv9J8vCJsfpckk/dKIyD2IR0QvhQWnG1ocGt/y/gCz7OiSSP7bsPKO7YfJ0wgqoc1bZ9NPbCVeYMBwW6DoNDnLJB+pxYLJkSVxLTI3AvBr/kWPdqYrH84jm7U5oOFvBQQ/mi3ooW3KN8UManxcMzbgvoRB2G1SqF4XU/4SohF+CIiKSY/4j0+lfmoRFtILk7wqLAbbaDIkLNhzNWOwTgK98K7ovye2BpK75lsokzj5hFaXui0w== 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=Er7jl4GgtxCUpgU+1QOuqLOHSL5BJf1j3tlaaxpUSHo=; b=O35Z/MuNqKmr8wi69QZ5UvnVGw8wI6GUO77munz0SuSR1tGv2aRoUtSu59HHt8Hemec8qAoGX4U7iXpaUUysYxKF7qt7S+SzJnF1LpCgBUKG2KIIuA6c39YOQIXWAgBZVF8Gm28h8XVnk8uKDHdsqnANue0G2J69C1UbUpq3gtY= 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 IA1PR12MB8264.namprd12.prod.outlook.com (2603:10b6:208:3f5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6477.19; Fri, 9 Jun 2023 13:43:11 +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.6455.037; Fri, 9 Jun 2023 13:43:11 +0000 Message-ID: <1ff9a92d-692e-c9dd-698f-2dc04a0be72f@amd.com> Date: Fri, 9 Jun 2023 14:43:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH] net/nfp: fix set IPv6 flow action can't get right address Content-Language: en-US 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> From: Ferruh Yigit In-Reply-To: <20230609061919.1307911-1-chaoyong.he@corigine.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0114.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:192::11) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB8264:EE_ X-MS-Office365-Filtering-Correlation-Id: 126e438e-1f17-48d7-e2c8-08db68ef7780 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kBfrBCtKGxtMw/PW3MZxj2L1HBXirQN+vg4IpryAl13nBSoTuaXX/9cYpWPv7x9SdPxm5ARbfO8mA3uQwWHbzOsyjRIuroM6DH5gf5QzXCKrMMQHRfFjvTqRatCRMciEJq0RDbH3TOClsZe1qCMfiE+qc644XEslb6bSjqrFaPy2+bkmJuKG8QJhvBgJ6u6K6FRLPdy6xmaCqjhPj4EXFy+239Nb7gw5+ln7fljFNpZLR3qK/xW9HwFaW2icdZFmyou93WoaUZQH6X2wQ3tWTGPKQZl7et3706PvO4e+ny4DtM8Rm596iuHOg8pqx3F7EagpI0HsZVmKgkXB3b0YLxRia2M25+l6L/xCzGNoSR9rnLxcqsKYji39kT/eE0vaTPiFg3h5oWTfJV6L/SaLs1balXVrTXVeCCQSTw1dQVKlsX3AZnskcqoBLYwhZNOSlExyo386MgzVspRQbnu/rUSPuGVD9v4pQywUBIYhhd1+5DsMV1Tx46DYP7Fg2S8yNAFFs8IfZLGfQuJSeBJ8S/DeYuoWsOjUp9Fog0dazYQukLCdv9DyMZHwKuhqbBqKtA1UFS56UX3suEZQRMuBgpdjXd0bxxB2KkmoiwyXhXRvU9DphfxHSk523pAwYg+tCUbnwpZRvsKLzYkneDBcRQ== 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)(396003)(136003)(39860400002)(366004)(376002)(346002)(451199021)(4744005)(6486002)(2906002)(66946007)(66556008)(36756003)(66476007)(4326008)(5660300002)(41300700001)(38100700002)(8676002)(8936002)(86362001)(31696002)(316002)(6506007)(478600001)(31686004)(44832011)(186003)(6666004)(2616005)(6512007)(53546011)(26005)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dDBtb2dTN1dxazZybmc3bHhiaWJyUXlDTzhLN29wdmk3SVI5eTJVNDJxRVdr?= =?utf-8?B?VjdWeU96V0pueUlUN09DWU5qOUU5TXJyYUtxOXlnVG1IMmZ5WlVvZ0c1K3hJ?= =?utf-8?B?R1hTTWd0ank1ZjVGS2tYOUNDdmpuTnRNaFRZWGJMVXFHbmw0dENqQjVVR05k?= =?utf-8?B?UjdRQTNCSXFlRVFaUG9YMHJMSmVqYjRJRkxXM2pWTmNhWG5WcllGZXVPZTVW?= =?utf-8?B?eTkyTmJ6UDJGVU5xWFhkekxuTTl2bEg3NGR6RGJzcUFMVUJUUEJxeXBxcU85?= =?utf-8?B?T25FYjhXeXVTL1M3L3VKTlFiUlZOaE1vckRya3hubEdPVkd2c253dGV1UlIy?= =?utf-8?B?ZFZTVnd6Qmx2MzV1VGFKZXIrcWhRbFR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: 126e438e-1f17-48d7-e2c8-08db68ef7780 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 13:43:11.7010 (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: HDj6UjYaZ2tmWijnSALFuyNuxVpoZgWbKbxAuQ+KZVNLB3knX3tPTSWmEJUDM/Vs X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB8264 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/9/2023 7:19 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.