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 D6261A0A0C for ; Thu, 8 Apr 2021 15:43:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C18C1141018; Thu, 8 Apr 2021 15:43:57 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2075.outbound.protection.outlook.com [40.107.220.75]) by mails.dpdk.org (Postfix) with ESMTP id 025874068B; Thu, 8 Apr 2021 15:43:54 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mNv/fDI5VIN1k16WgfqnZdlkt8sIkWPmuS5kvaUdwKnCw5/Vr80ST+Y1jvnrzCvik5OFaPHTElPOQ/J+GrgTnr5dBYObfb/NzTXqwHVXxB7zhfCrg08ZQ2ahhghQco1ztPyGMOOMo+e3YvKN6VXeunIYhtBosHBe8TWEUI4nf5RY3hVP7wUwQxnoRqiXZBOUeCPvclGFHTYB+wu7d6iZs4BjviicCmrZygF4V7L48CNEiP55uMG00RRxM/Ql3BXgFgcd7L894S+bFHKrliesh/lugxYqK4/Ru++pH3md7CyzLXXguS2lhCG1SU+MyZb/BFy/K7+1p/xWmRaPXgt07A== 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=7M9qfRtNChIdSo9lrG54rZgB4pYdhT3WvaMqGygIkqs=; b=DHM2BUbBeiVSW7VxxjMDMUY7ikM3jxvbm8V9MBrCq6diVcwbO9/niUJn0u2+BEzk+wdgtvNu26NL91s5fxaREgjvDSWwt9XoY1wtAxZSfV9FLdaTVrc3+ZXO428Ma8UFpFyCmzQQNVZMWVL5JPA1/7GLdHL5pZR4rqYFgBPFB6CnsiYUriFa6pPnyra1EotKjG0Xe3KNjI2nNdciJCWYxjLgs/GWZu0+Gek+eLk833/Wr7VpniFzs0s7IWXcrAsXAevenj844f/MPgm0+Eeo7VCPtvri1CIpzg/RoJZYUyYI0P24qUHi1eNoSqTzDGTi5t4/ZvM1KPFScvd9TanTIg== 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=7M9qfRtNChIdSo9lrG54rZgB4pYdhT3WvaMqGygIkqs=; b=qO1ijJ/LFi0rzNczN8vxAfGnbqkfnw7URCqrfTmnSHxehmHrg0iGvl2x/mnMGekF1uSbGLqCTjitDN+hXp/kak5M+6Vur8O6+bHvaTRBy52UdaUyHFrmcN76R1E8yU6mGHMBnTa7vthYnXeffvylcYjzvB0u6yR5I2quV5f1NWCmpdyE75lrv+y8mybQkswix6JBeUq0wnnzzh+zWc6m7c4d4xNt0QXJNDiB9DAx1nBAuryi7kes8Z/qMg7YQwILxEVKgMgOddUZqhxuSNPGlFqdBLW4dUE5LFY8V+btysgFFETYJIx7doeYmomrl37fYwqjgPNKO5q/LLHHtZ8OWw== Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB3434.namprd12.prod.outlook.com (2603:10b6:5:3b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Thu, 8 Apr 2021 13:43:53 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2%6]) with mapi id 15.20.3912.031; Thu, 8 Apr 2021 13:43:53 +0000 From: Raslan Darawsheh To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Slava Ovsiienko Thread-Topic: [PATCH] net/mlx5: fix modify field action order for IPv6 Thread-Index: AQHXK0tiGQ608QfcDkanchtRuSb5haqqo7sg Date: Thu, 8 Apr 2021 13:43:53 +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: [188.161.230.40] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: af398149-24d9-49ca-72b4-08d8fa94595c x-ms-traffictypediagnostic: DM6PR12MB3434: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: +Qf1TYNTy3hE5tPQA7OljSOcwfpi8IYR1LKnsPaL8Iv9Gg2NIC+LztJo34taigwT5MDMNHPmfP+Ru8FeXw4QHD7YopwtZyRYjDCtC20+7KYfQ107njzvPe9eEQnIApIwdbh9iP21TLCb6hmJzb6EyVhh5L0QbQYzIRoRToN/uY7w/GrrJ50lgO8VV5gu+D4BRnLeE5ndoCwSRt5ROJNGGjIMEchBpNhXqpPYLCObwoORbHc3sWCIq9lror74yBaXlzur9uSwmBG9HiMn7ZvZ1xMtei/3TMIJp557vz6XRabVjHJXC9OByfyE0YuNYYj21Q0w33SEkrAw0KLg60DMcCQ3hYiKTCMTg8XU4GTMJ7Pjd/VbqqRbkwLl0UcN03eKzSWFDStorbqcrxofse1NlpR9/VHFUa4DBpUiHgWDptha7j5iX8sfB4KL1GqDzO5aTHYA17LwShBnKzeHiozg4Uma5LO9ZGFmj9MN6sXUsPFChyUpBVdXXWX4G5NUwN84JIw1Fjy3DrNAocm5U+FXc6oVM5WKprcdkU4ea22VN4xMG8fybZxkAzAlQwaS4xOn7EpNiuKUxqWfXfPOwbznJkREB1oWnt84QLH/uh4wPkbDK2ujUjlc2YQ4LXrG9kOUqKgvohuBL0v8ny9q1ag5Iwktw9Xj9RlQheR1kdRm/qw= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(346002)(396003)(39860400002)(366004)(186003)(66446008)(66556008)(66476007)(64756008)(26005)(66946007)(76116006)(33656002)(83380400001)(7696005)(478600001)(6506007)(316002)(107886003)(450100002)(4326008)(4744005)(54906003)(110136005)(5660300002)(2906002)(52536014)(55016002)(9686003)(8936002)(8676002)(71200400001)(86362001)(38100700001)(53546011); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?qdPVS9fwy7vO3v11JZm+AMIl9ZV31wk03CYWvRzIxC5Gbh1FyayIK1JwxQ+I?= =?us-ascii?Q?f3yjXj6wWkcN3hjFWveJXG0yK/Y/9OGsJwnS6XjMvRh7eFe/SRGFfMlcuPAl?= =?us-ascii?Q?1QzVva8UNwT7kQEFhiP/XvwU6hiMhENfWI02zJ0a8y9pxv2D/eKxykHvIQNn?= =?us-ascii?Q?DTbRGkfWuJKkyy6e6BPvIQpFsB5TmRjpDlFL86exnSteCKWdcdTIw8AZr2kP?= =?us-ascii?Q?sF5JSsryPVwYrEUL5B+nQygAyvXAox5II/V4casQPnUuKdA1WFB00w/gKNXR?= =?us-ascii?Q?GR3qAOQfmG8cj2d60xQG1oTc9YN611SA1FsV3XmNy+I96ax1zZboOXnTFfMZ?= =?us-ascii?Q?w2mE1dxY48kQYWGsxmK/o7niEpQJihcENuQKQcEpz7Hy2BeJbXHh0ATRudle?= =?us-ascii?Q?AydlVQytYYZBevhQww1Zkg/T4iC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Q?I1mDsgFSLwejp2dRmlgQ0GiF?= 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: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: af398149-24d9-49ca-72b4-08d8fa94595c X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Apr 2021 13:43:53.2071 (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: uuGqYH9KgMlWemM1T+nw1VKujHXKeHfR3qxgxGEddNpm0Z6BDS+lslGEb/0xpakd6Mm5J8E9gPxOEG68WeyY2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3434 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" Hi, > -----Original Message----- > From: Alexander Kozyrev > Sent: Wednesday, April 7, 2021 4:15 AM > 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, > which means 4 such chunks are needed to modify an IPv6 address. > The modification order of these chunks starts from the most significant > bits for the IPv6 address. That leads to confusing results when trying > to modify either source or destination address via the MODIFY_FIELD > action. Fix the order of 32-bit chunks for IPv6 addresses modification > by starting from the least significant bits. >=20 > Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alexander Kozyrev >=20 Patch applied to next-net-mlx,=20 Kindest regards, Raslan Darawsheh