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 B4AB5A0546 for ; Wed, 7 Apr 2021 09:33:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A141B141065; Wed, 7 Apr 2021 09:33:36 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2080.outbound.protection.outlook.com [40.107.244.80]) by mails.dpdk.org (Postfix) with ESMTP id 03956407FF; Wed, 7 Apr 2021 09:33:34 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GC5cDo5kTandCHLBToBc1odPO4S3xNS/09aBo4wVInqG2ZolH4pUbSKKXKKjriTZtodcoXs7dYt9xMSu/sL53IACWAkbyxXmFmE9VqVRh9qPCOvtSlNSvV04tamZeuqbcq92otnr3MKmQCzbNFPvUnhFhjEqXPsSO2sYKyOQYNklHsy3CHlJ1VGWWTtab0K8iXvV0R6RRse1RuueEpjL8zb+LCjYR3aPoTH3CbOIvAQptm0eXBQ5leJAzI8yV23waeWn4k5ffYvuyL17W56A+Phr10XBviDor880+5Qimb45UI2/G3lOvH6i05qptnuWZHo2k5nNspQYdGw0vb/AHA== 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-SenderADCheck; bh=oPfhbBh8SOPMUryNusajyb4iU5+MmsXEKdZ2foKYxug=; b=hF2vUnvsePnA5WzvHhFzgNg/DV+yphrXVm8z2aA+wANQI0f1/tfKwTZkraaWfBchN+tJbDii93dx8gbEwAtxW5ZaxWD+j8ypaXrvt8MEwKMcHcDNj9VYGLNA+YvnrcQzM0tCeN/z6tuaZUFraBhYqhl7MUm8YDDoHNZIzNt74kEX2q0JbfsPCTYJ0EywlMVfaZiC7b6W2iAkRBdgZS9IC6P/JL7LqMCINJzl1F54QgYpTeVATf1DKAhkTSru0EJPuU5B4NgeJ5AOdQRK8LJ+kkElveKEsvj/MucjWad2yodhoMlTRJMToxDLegB4RN7aS2sABhib+8ZF1XtO0NZXvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oPfhbBh8SOPMUryNusajyb4iU5+MmsXEKdZ2foKYxug=; b=mTNP/4I5QR3WYV9sOZHrz3ZuckHHOVEgoJrB0wEfC8sG3XSIxNETS9jOazcugrwnq2bNsdCS3BKUocggPpdPJXBmmtfvB+rHVnPaedbK7OM98QG6qTCs653ZupgyA4S/yZbQME4p8Cs8YQoSx0x4NLnFl2ZH/NXT+c4YA5fruSjWwI/OEPLRKQqCTKm1Dp3oV8Mn7U06D1YOQlDE8n7+vXrBvgrLBoNHvOPuIRu30tUwlbOJ3t7gfjfZ194SSL76eMTEGFVeVWpEWwZwYUE7aNokC3A/Y3GdP0q/hL5jctNYTI3bBUMEFmbgOiyGfMdUYBna9PKOIoBxqLAUMRcz6g== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3611.namprd12.prod.outlook.com (2603:10b6:5:3c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.29; Wed, 7 Apr 2021 07:33:32 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258%6]) with mapi id 15.20.4020.017; Wed, 7 Apr 2021 07:33:32 +0000 From: Slava Ovsiienko To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Raslan Darawsheh Thread-Topic: [PATCH] net/mlx5: fix modify field action order for IPv6 Thread-Index: AQHXK0tg3BY/Llq3xkaFpre9OEq/b6qoqf5Q Date: Wed, 7 Apr 2021 07:33:32 +0000 Message-ID: References: <20210407011433.22785-1-akozyrev@nvidia.com> In-Reply-To: <20210407011433.22785-1-akozyrev@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ffdd046a-03b5-46ad-28bc-08d8f9977281 x-ms-traffictypediagnostic: DM6PR12MB3611: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Hrizjv//wc2vYhq6ePf/VIWUgW2Ptxl6ZfiSRvtuEIppmC/CHm8/82CUE4BQfu2+VB83yQ9csaXVIwpBKVs57Nggx84migAF24xxod28MM+q4TUnxvHDVmABMxODcTkORWFl32ZflSa4VdIF/6CErRnM1ZU8zCm0tSjHL489bUHQkCn7iQsLSKfYftpxgvse6z17egM2LFzhUwkbRaFIytbvcVcSMdebqwXGH2PQo0PaK7eHkYP9dqEIgPJDfCqqHAPHdNF8KkUhPmTYmFaWm1qVBZmzh4oBf4i4/h8j159MBgLjSGvU7EJywvXr7or7AsiSEE6vpVecRohY/LfPJoJd/BLnbq3Srr/GRV1VJs+TyZ9hMcZovB9qklhiAfOhZvRrOSizqNJmTNkBPWfAXo4PCRz83iDn1JhuvgV7z0vwjaS/m3KWrOuTEi5wOo8HAdfPd+xYQ5pVZOob7DGLngrVrM5/D5xy68E02vp0J1uIgqSjcLpXyPwwM6HODEUlerkBvF5PMe3tCn+46JlveAjp+25WNwvHDY9c4ouZz3IfPdetGc7tbO/HHUqncfBkwsi59t+QN3V1LwmV+mEZpdcKeREMMY60/jvamuu2xItZ8zckoJvSCiqDzK1MkePJ6xbHfI8vjORrROCxmTMixXUCdQ1CfGAIO7By69ETECQ= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(396003)(366004)(376002)(346002)(450100002)(71200400001)(53546011)(9686003)(6506007)(54906003)(8676002)(66476007)(4744005)(33656002)(64756008)(55016002)(38100700001)(66946007)(8936002)(66446008)(83380400001)(316002)(26005)(5660300002)(107886003)(110136005)(2906002)(76116006)(186003)(478600001)(86362001)(7696005)(52536014)(66556008)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?TmAhMghg7q09Srt4iyUqwFjq3ID1cTRtiZKUUNakTMfd+gLnNVrCll2/uL19?= =?us-ascii?Q?7+5Jol67iMUCvf62Sa1OArGMJxsrEg1suIt83R8dSYIE1ltDzlMJYd62RDss?= =?us-ascii?Q?KwsBTJBl+Qw/q6JBKO5p3j6Tw7LC2Y9XbxJaOb06kDvMZUqrD8GCjJvLQ2N1?= =?us-ascii?Q?hv4kWjCgPjS9E4yj+9Qgjuq7pu+EVHk0poHCJC94pPnL1u0MdZhBzEqkiGfW?= =?us-ascii?Q?/TZOXZ6YHrxWSMlMu3j1EN9KC4vdesjpkuHx3qxVbYrWKPIgN+0KnYJJPI8B?= =?us-ascii?Q?/5tRCuHzHSAwKjM42To0NX8qRlS9oTe/xbwK+7wDG90dx69h0SME4d4VYBR6?= =?us-ascii?Q?L2tDAKq0wCBpDRqxYeQPuSrW0eTuWAR/FNgdkGzLWtHjN+cEqw8nH8jrYeiR?= =?us-ascii?Q?SXJ2fjlrEF5jQ3XLszFDL9zCI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opSNXrcjnFbSaV7TwWbD?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ffdd046a-03b5-46ad-28bc-08d8f9977281 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Apr 2021 07:33:32.8011 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FRfszcG5kdcSBAYaWYWvwCcvqlLzXfEYc7Orjxpc3nbux6jVW4lDgHU4UWqKs4d6jt5v3Y28QD6Rw3hRTlqneQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3611 Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix modify field action order for IPv6 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 Sender: "stable" > -----Original Message----- > From: Alexander Kozyrev > Sent: Wednesday, April 7, 2021 4:15 > To: dev@dpdk.org > Cc: stable@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko > Subject: [PATCH] net/mlx5: fix modify field action order for IPv6 >=20 > Mellanox hardware can only modify any packet field in 32-bit chunks, whic= h > means 4 such chunks are needed to modify an IPv6 address. > The modification order of these chunks starts from the most significant b= its > for the IPv6 address. That leads to confusing results when trying to modi= fy > either source or destination address via the MODIFY_FIELD action. Fix the > order of 32-bit chunks for IPv6 addresses modification by starting from t= he > least significant bits. >=20 > Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alexander Kozyrev Acked-by: Viacheslav Ovsiienko