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 195D9A0C47; Sun, 31 Oct 2021 13:33:42 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0442C40DF8; Sun, 31 Oct 2021 13:33:42 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2046.outbound.protection.outlook.com [40.107.94.46]) by mails.dpdk.org (Postfix) with ESMTP id 92C2B40689; Sun, 31 Oct 2021 13:33:40 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IjCqXGSTrUp5r7jwlM5E9VkKj2YeOe7hPhMkiKvCZ6YopilMbNmKO15lrnlUdhjLNq1T4V5jQo8y77PN/qQeGQhIbsixa9WWLgMvoih9zurKTRws/b+Hw8SufFZc2W5/JPuv4/gujnHYcBgGBD94ij1OAnGVaBmoU6UtCNsCrR7XFF47EvyMvhNLj1B7/Zj9SefKdK6KsMkfdVf4rwtsFrkxEe51czNNRO9+QazMGoAOJF0NM4r0OIcholjbntgNXNUbYs1miKizZChtUPGJk4D6PaxP0mAuhz9MgS9lzNSLtJUe37oYveMKxvYC+UbEcuDyWPzOVj4TspBzITSGsA== 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=3LDu1BqkIeS9T8hJZdSvms698QN9HxPTzihGzeiKz4M=; b=Uf33NOyYSHtwMqQfud2aXg68FbW/KHJ8SG+IcbSAAAmyMRBxQ8+nv6hN6eGSJW+kWLkFfz5R3tlaV2e7A1fRFuVAl1UM/LcSlj2+PxlwH4pUluWJQMtEH3sGxbh39sZnwTFcuy0K9bEh7VIjEmy0Jo/WAce9IMB4gHwLEmpBvrvlt+BGpSo+Be+vzmCf/ZsvsOBRSyr/DY5aCTw2OaaRHa4mRZngCuZ148bdOYkMmgQ1Q+yzHPyI4WgUCo/H797hMsvCmULsKjit7kiJCbSXwFTXq0HYsaApHsoRZx+/UevcvfGktht9L5lcgEqQqL2z5NjA4ZU9bfDMCTaHQ7mu8Q== 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=3LDu1BqkIeS9T8hJZdSvms698QN9HxPTzihGzeiKz4M=; b=YcGgChFvoWe35WvJi7FwetHsA1VVfvqLDtMQVgTbhkxm3gocOmBtKujCrT6FuVaQdH5JWPmSs9X0EpvZ4tc9bRi60VqBExyDaSUaVU6OairkZdrEOklkTjtt8WxB/Iw9NWrhH/YAi5Bp2zW2v6+OmWoMjJu80l65CXz/vBfAifM0qjDdaEni/Rihz1kXMCB7RERhxJEqtozYzC0tAUExC9I7qLia7inVIq0Oyd6xJ6XaFLlcU/ueRlyMZweyVbgPT0yaNXZqlFNnGnnf4Py+O2tJA4sdDeZnd+MU21MMY9UFUOov7FR0Gz5v8qHL/3djnLELb+jyPZbXlZxRU0as3A== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5214.namprd12.prod.outlook.com (2603:10b6:5:395::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Sun, 31 Oct 2021 12:33:39 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::a4bc:7da3:32e5:1665%9]) with mapi id 15.20.4649.017; Sun, 31 Oct 2021 12:33:39 +0000 From: Raslan Darawsheh To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Slava Ovsiienko , Matan Azrad Thread-Topic: [PATCH] net/mlx5: allow meta modifications in legacy mode Thread-Index: AQHXynwW/Zg++34WnUyHkKaHTSdFzqvtEf2Q Date: Sun, 31 Oct 2021 12:33:38 +0000 Message-ID: References: <20211026151013.1349796-1-akozyrev@nvidia.com> In-Reply-To: <20211026151013.1349796-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-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ebb07bc3-a004-4bb0-f07a-08d99c6aaa84 x-ms-traffictypediagnostic: DM4PR12MB5214: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: z3ajQ29qC8EZ1NizxiIZ1ru/vNI430JE/Z3o6zuqcEUq8GZFrRsMSdg09fcN5sXFEsyiAYawE+SR2ovLDw3IF72b4/yhUdjVam7o9xzJylofmMPvpliLUdrA1AhB1aJsQese5czRyAcqAoIzeGRpuY8WIAa+v4QuvZdpQPxCciZadrfGeVbz5nXMwqz4VGDSQrRn+fa9DI79+eOZVKfWzMh4vPpzrYQo7SmGgIfhdfJTSLF1ecHYPNuYLdYvX4UBYNf4q/FzIp537aSu4x+Y2h5ybTx7WCu0jFf/P3WxX9LjvBLrRXsi6U31x3SgsIiXiCY4mFVGc4Cj8O9a7ZnisUlbKqqaTnP+yXrZEX+RMWD5Blp4ATXCbk+iZ6bbH1BNYB5K4dR2hZqZv3ZN7vGckZs+DGqeAWnZxXvrrWHSSoVaxtFMK4Bt53THQxHm0ioT6GzaVNGFU+yWXoRGDdXOrpWCrEjNL3oPGjNLziarUkblVSh1nwYv700S8z7o+FYARj+V47sL4Goh658ddbuF6cJGDDn3x479lfBsvOGA2cfpy8J3Q/+0gXMUcZfzElr1BAdosz6x1ppPW9CPioKjt1aKqTN/yoX0ncTm/gj6PmRxYSE5eXL6nXDDO0g3U6CObZ5a4kmxCKc640BgIrW7kXBL7C6M9KvOZ4r0zCd8YrSWLd1dXGMsKTNupZ18D0wUMCzwxz4EBXtKuSq5jlb8Xg== 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)(8936002)(52536014)(26005)(2906002)(186003)(76116006)(86362001)(6506007)(107886003)(4326008)(5660300002)(38100700002)(53546011)(8676002)(450100002)(508600001)(4744005)(33656002)(71200400001)(38070700005)(110136005)(54906003)(7696005)(83380400001)(316002)(9686003)(64756008)(66556008)(55016002)(66946007)(122000001)(66446008)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/nAzFAOhSyAryNrbicGDRh9mm9oM2Hk41RtN95YRJPMNW0XOHeOhV3DlnLFK?= =?us-ascii?Q?FXksfYz/IKpYSLyVpmiagcWiNxRkTH4Um+CvGU2Yxp0e4J8XM+mXDX87b/cf?= =?us-ascii?Q?a3E3UzsJyvWsGteT+C3T5SbsWS2sMSA7Jor/nsfifDWmh/syA9p2izPSZ2q8?= =?us-ascii?Q?xyIcqXE71Yn0Vzv0uHTnH4BGcM3c7XxLrxM7aBdcF0YAECyBweSpexdDEuz0?= =?us-ascii?Q?fHgQEL/OhWMS4wnnhrGek7GWKI/DBd0FzTvkEath1w7esuzy0/fw+7sv6ZJR?= =?us-ascii?Q?9T5XeAhyj/6Bqnv1XgcX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KZ3HOM6?= =?us-ascii?Q?bcN5DjYgwO4esQZ1rEeN+Dl6uYAr2XuCxDvydYjztxFVtlX3cKXN2DQiR174?= =?us-ascii?Q?4TjFuhVtK/S6kzt9H2/a+ZhDYVJLqWXauN77lXQkXtEweX5plVdmXw0dQoCv?= =?us-ascii?Q?iC5wDxdhC6tpGRdBkNJ6dqvsNAqMr+BpypRcBxOEhZVDRPvSylAczlHNG5xV?= =?us-ascii?Q?OzxjIo8kDnxwzkvrwYaJCeGxB7D7TUFC7Q99U8qN2i0q0JwLP/t10X2LnZa8?= =?us-ascii?Q?+CV4LB981Cfj5DI/OIZ2i1Lrt3hiVgkjdsg1t8lyoMPBOTm8V+hnfAkf2JaH?= =?us-ascii?Q?2JVToUleTHpzk7lqJpaVMpNXUtN9/LDpmn4ZQPTkoZTPGmMi8OEdtAautoC/?= =?us-ascii?Q?1/oD/Z2BsKrmAKSCOrBVggk2WwHiTLYsVlrVNDApJ+VK/Vb5ELefz0EebxVS?= =?us-ascii?Q?AqtEdBGFcKAs8dcsgb3emSU=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: ebb07bc3-a004-4bb0-f07a-08d99c6aaa84 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2021 12:33:38.9716 (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: D3UkDKaFNIxcPIZw7atK9k/qBJ6fZ1e72U8E3fQOPzourzJFMNB9PH57x1p+Z8ujfui2G/PR7kJehf9kE2hr8Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5214 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: allow meta modifications in legacy mode 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 Sender: "dev" Hi, > -----Original Message----- > From: Alexander Kozyrev > Sent: Tuesday, October 26, 2021 6:10 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad > Subject: [PATCH] net/mlx5: allow meta modifications in legacy mode >=20 > The MODIFY_FIELD RTE action rejects copy to/from metadata in case of the > legacy mode extensive flow metadata support. > It is not consistent with SET_META action that has no such restriction > imposed. Registers A or B are used for META in legacy mode. Allow meta > modifications in legacy mode as well. >=20 > On other hand, SET_META rejects actions in case register C is not availab= le > even though it is not needed in legacy mode. > Skip this check for legacy mode and allow setting META. >=20 > Fixes: edf325d421 ("net/mlx5: check extended metadata for meta > modification") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alexander Kozyrev > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh