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 1969EA0547 for ; Mon, 6 Dec 2021 09:56:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1184E41171; Mon, 6 Dec 2021 09:56:58 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2056.outbound.protection.outlook.com [40.107.223.56]) by mails.dpdk.org (Postfix) with ESMTP id 6DFB940A4B; Mon, 6 Dec 2021 09:56:55 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SkDWKaMhCH/Z+795E6FwXGtBODrvo3Lz73XBxj28Cts33FbMBfXo9Nonf3uLtdgIjo/7Irn7UPAZBxCBpAyTi4LGFj15rfil6PJvr265BJ0hj9KW+hg0oWXv5fkzGArhkckb1S65BnYCnEfDUw3mxc9mp+c6nOWtPtBr2C4zQLJ03ymPiRTfmqoiwgjzbkx8v1THzy0b1OCMTxrVfi+ZCsWyjL5y3XMnzKKtCQNk960nEPO6UTsyKlont/ei5PyQke9880wiOpfX6qIZVAjuUSnP6S1oCwHdOUcEf3V1JhZkzYup0ocIZ6H7IQ7xmbwdQAauhwVgIm/mCCh9DgIUhw== 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=eoPwN76vwp5IKs6IwURZ7y6rJH5oQ7JbHuy99aKZj+0=; b=H+7e1XNSetOEbSHFkRH/6PaDarh2OWkKFGHCXF1QANwVsqajJvaySGHn6w7foWY562LNjiYZoI+XU5G5ZzaPGb2dyCIm7JSId/ZWF1cD4BeuKW159nxu2sqK3wsIbGMjhUO8LVUwgBvV3+gxqaS1JYp4+g9NxWMrUWm0P1u6CjE4xzfDTkcbNlI8qWjdMqvoMIuP+eRssHk9NqRU6PghA0t8OnQzkU0Umnu2d4qhBrvTpFBZezSgP7nphttOTncTyW8au5cBWX5MmUo7vHBM1qxpnJKPT8VFiQIYzi2TJg9XuPVyxKlsxMPEU87YToHWhkrR26SVKmN9775cCsmXOA== 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=eoPwN76vwp5IKs6IwURZ7y6rJH5oQ7JbHuy99aKZj+0=; b=fu+eD99sZTpYwp186/WD9hG0NtZvO/9AsDNpgwGMZHHt8twSDinweCMz7x25fGpJufyvHnYq99DYSuUhwgm2Kz7MtTdxLntnrHXvTZK+aGbBBsLClw74bYTbWlH7yH2zCqyPHrbpwP/TOV5Pe6vHH2ch7RBu/ZxYFdvu0/2BBK4+0RIn/+k0+BbKBne5RjGz/Pe3ztrSqcB3C+M6keyc4fHzt252312uhH4VgitKbvKBShVA7Ms9eaJMjwEK6eL0qWzHRCNw8hiqkgMYV9FDVM0rQV8blmthgyFeYmrknY7nV6Q7FVCwP5Fmqhd3pjgPTRvTziwyQLjHvl/Q597h0A== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5120.namprd12.prod.outlook.com (2603:10b6:5:393::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Mon, 6 Dec 2021 08:56:54 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::432:87c5:d1bb:777c]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::432:87c5:d1bb:777c%5]) with mapi id 15.20.4755.022; Mon, 6 Dec 2021 08:56:54 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix metadata endianness in modify field action Thread-Topic: [PATCH] net/mlx5: fix metadata endianness in modify field action Thread-Index: AQHX5R1J8jFuGv20KU69ejsrxAz9YKwlNB8w Date: Mon, 6 Dec 2021 08:56:54 +0000 Message-ID: References: <20211129123252.19408-1-viacheslavo@nvidia.com> In-Reply-To: <20211129123252.19408-1-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e31a895b-9352-4182-770f-08d9b8965a0c x-ms-traffictypediagnostic: DM4PR12MB5120:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kE9eV+ce/9feVeHvQ3vGmHKOpcr7msZOY5nPfhN8hIfa2g1cYCQdimm1jlVYks2MfxlxDLDWYLbOQ6O67E07lDUxWCR5iCQz5vFIOLyRivvjH/wfMjMfkNaOLyfEkEYnAbfTrhNPe43BsVU615NMo6kJMAA2ZDGH3ifCFQRXoeAuO0TVPSvuxJ3w43t8O7QKpV2duOD0M/Jq94OSkUJiuibqsXaIhJKw4vhnD+/Gt7JQoOgT7aoVqV6484tNIDD2C/bCBb3TFzurADH57ru0ATrPXJbLyYfpCHreJfpYkHCITPEE51HpPqhKr8O+KfCwY0O2hZVvs59MXt3Sc5BYt+mHKjJNkVzxslomoxpw5ThkDAsRzUnNWow6FaYiQWUm4tIDGcy/vBAPD5yW1gl0NgAGI/yssWPJp0vA19mTmwlXmr5fqb5WD01Str2GIkUo/fsUBdisZHo5HT9kaOb7ZtU+z6ykfk9s5he5UQngpuXyYAdCi9lSlona70HJm3wJH+FKyqUWidvXhsSiPKEa1gIn0v6k2Xz7IGFzAd+eB3VpRC1wYPeO1YNF93tbCPrQL2b2Je1p2/q3NSyZiMe5uMd5CBZ680akS9q7dYRIo96ARPbBWnhrxAejFdVtNfJxBtRXO9gUFteb243vl5poOKz8P7YNwbbEfQqCDzCdgKYD41V69hn6gu7EkGQwsd5PQ5J4odhtZfh+ylofqU1nPA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(33656002)(76116006)(9686003)(86362001)(4326008)(38070700005)(66446008)(122000001)(110136005)(66946007)(7696005)(66476007)(450100002)(8676002)(71200400001)(316002)(4744005)(38100700002)(5660300002)(83380400001)(52536014)(8936002)(66556008)(54906003)(26005)(508600001)(55016003)(6506007)(186003)(64756008)(53546011)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?jMSVOzb0V8rWmsGjKxaJSv/qGD0GTIWyshZI5iuFyHDyNkStVA2u7ot8GQTM?= =?us-ascii?Q?CzS9AQp+ZeM+6L36eACtmCA02+v8uUcPjKpn3Sr+C7RoYm8dIS+UKUv/UgYv?= =?us-ascii?Q?bjnk9sz3SkEwJN7WWMSehScvcrInxd/+0/q+Sh8NLg++jtpZ17YSrHVYIQw+?= =?us-ascii?Q?7mPttraL49L19k1JdpTNM6crIrIsIgZfgGdWWHyhWUc7GsaVfChwM5kTlPfv?= =?us-ascii?Q?zhvYQZ+etwC2OqO2PJxiXJAWbdIvtr+BemlBD+LPP/RIoJEFQt2Jd8USLUA+?= =?us-ascii?Q?BfqLtCB+3Qj1GObfLz6b1Opb1aqDaRoUGZSDR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kFZ6TeEgyiZRRGBsmS72KDeZQQn3l3QFUwrQQ5Z1hYF5q3b0I22tMX2MrvzO?= =?us-ascii?Q?TGak9zzRidZ5nwrQoqvAYYQzSWxkFKbm+vBdCeP63P0z2RgLIjnvDdwZP2fJ?= =?us-ascii?Q?HsG21sW+z6ZSE+Ihhkt+Bl1RDbKP7R7BCFAimVEnPVaOLGzgTCt8i4ol5YR0?= =?us-ascii?Q?SUJZ4gsJe6f5W7q8hLshuAYb0LJVyQA5xzI4rJeb2jhgj9WniNG8btVYwrQp?= =?us-ascii?Q?rBTt+xqxIQXiTdZ8QRGhudRKVOW9+krJF4Lu5O2m4XdfTqa6J3dSB0glU5a8?= =?us-ascii?Q?2EV23ZrA4i0qo2mMV+GtYdoqfoWt8GEidHPHS1cO0/2mMsSqpGAHaEk3gPC4?= =?us-ascii?Q?4QaJfEJY8gKPQpELoFeXuYs0QlOTijcUoIDB7w8yHspvM7GmW2VSrhU1qswO?= =?us-ascii?Q?waa7znN8NZoIhiG0PUqYrpg=3D?= 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: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e31a895b-9352-4182-770f-08d9b8965a0c X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2021 08:56:54.4382 (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: qcAxFjo9U7W0SRfLhi9BVPHjGtvn4VblBwHM99RKuOho39vWkGyO4wlro/e5dQ1VV6p87be6+7IeOCfGAVAR+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5120 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 Hi, > -----Original Message----- > From: Slava Ovsiienko > Sent: Monday, November 29, 2021 2:33 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix metadata endianness in modify field action >=20 > As modify field action immediate source parameter the metadata > should follow the CPU endianness (according to SET_META action > structure format), and mlx5 PMD wrongly handled the immediate > parameter metadata buffer as big-endian, resulting in wrong > metadata set action with incorrect endianness. >=20 > Fixes: 40c8fb1fd3b3 ("net/mlx5: update modify field action") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh