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 2776DA0351; Sun, 9 Jan 2022 12:56:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D7A541160; Sun, 9 Jan 2022 12:56:11 +0100 (CET) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2044.outbound.protection.outlook.com [40.107.101.44]) by mails.dpdk.org (Postfix) with ESMTP id A686440042; Sun, 9 Jan 2022 12:56:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n1zRQXH4W1zXOncGnNdtWLFhwEIdzEatZYl1gxAZ+WfnaQAUBAoLMSfDYKALVaeTwfAgnGzQq2bdtCeWYsFRsEKkZciPx+P0L+n91iFzahXn8XMQZ3Q3ZWfI3PV94EBzE39L29NJGyLXxAPCEIx435R13WQmf+OvZ4gts14PSRv8US0AXrUvSzkqgMCMBRzkby2NIJ22BOTM8zhlih16jf+y0EnpNhb2IG3e+o3a74Wbq7oA9Vmr/ePQYU0w2SW1f9xYoLcjDn/HdkgvAi2KnykSxZvX+yXTPZ23xnZqh+YIr+0/0fM/oE+M3Nah+tZ45dri1tvZz+2Tyy+V1PtZYQ== 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=+A22L9cNDy4tVAnHKV49s5YgWIcj/XSvhQNLOMmovqE=; b=KhwpxpfnH4e8EoxoU9TqTmNHv9RLAArEv70QRVsOncpKqVMPJrlw97QQ/xTFN9kKc8Fdd60jhdEYdS3PGx0+ctJ/x9caYt6x0eeSJ2RaYja0tiPkRNi6SjG4B0ZC09AP+sn+4VmyfkNls2omaLqRkiCw6vk/pCcxad5LUA39OEhHNY6e6Gl8YR5UfqunpcpbB/3DNqrL00Y3xFFxOA3phb9H0FtQj0jn5wGOLndtQqpt3alBTi6SEK/r4RMNv859Pbs92IPhQTWy7LjN5oTMbKitJ/OvYCJNKRt+ymU2XkGFdZsv5VXbmM9yIvJwJ+6iSlNI8zcaAiLC9WIVMXGLsA== 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=+A22L9cNDy4tVAnHKV49s5YgWIcj/XSvhQNLOMmovqE=; b=nsW05UwFoAtCFaNnQwdeGaYPonjQPJwrPLkxo3S2XbAUP+aUt3zmxCVBGRwYJTVhOlRVUkiNrMRpT1PDQ4WG9OuY81QI5epCKseUCSW18iN7drToRj+aKGn5OcAGhYICaUlTJql9YCAoPATri9AsFJFZrUnOmWwhVFidPrXSFh9pKogO3NwgMCzmAYwRzuTss4aXUM2S4VqRrda35caFrWh6Ea+SY2rfBhAI0FKqr2qNe0MtRi5bmq7shlqUtifK/fmGPkMsTMYWR9jDrgkpIjhK+RTTIERJb8nu6zbCI0hAEw1NnAJZ/EtJx2uZRIh24G+gbsRb2WR6eNJ1v955+g== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BYAPR12MB2773.namprd12.prod.outlook.com (2603:10b6:a03:72::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4867.7; Sun, 9 Jan 2022 11:56:07 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::587a:420a:2c5c:90ce]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::587a:420a:2c5c:90ce%6]) with mapi id 15.20.4867.011; Sun, 9 Jan 2022 11:56:07 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: "stable@dpdk.org" , Matan Azrad , Slava Ovsiienko , Ferruh Yigit , Dekel Peled Subject: RE: [PATCH] net/mlx5: fix RSS expansion with explicit next protocol Thread-Topic: [PATCH] net/mlx5: fix RSS expansion with explicit next protocol Thread-Index: AQHX9/4yGkcb61bSQEi9yq1g6Aa0q6xar6oQ Date: Sun, 9 Jan 2022 11:56:07 +0000 Message-ID: References: <20211223130817.14077-1-getelson@nvidia.com> In-Reply-To: <20211223130817.14077-1-getelson@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: bad8481e-3e6a-4476-606f-08d9d3670533 x-ms-traffictypediagnostic: BYAPR12MB2773:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0Svu0fi8Ojmb5xEONytC/5Z4iI+D1rm9CompInn6Ug1toxxRf4G9+nOs2FxXKMwYSyvUKA/pQSU8GD4Lnb8WoCChv0+Ca8nfVKNW3xXop5gV9mYPpfVMVO9ERD8sLp53iPc691Z8f2oA/i3Qb6dPyGVxloL6YD3rKwWhWXZollBRVLd827Nuu5i8t+YnWextpa7Ct+DSQ3kxhXkvAwnKECRyXuyDduTz7zwUE2rvEYDbp1JCD6L4pJmfL5Q2G//kVQPx1+fWSZFPP61yF0AHVW6lyxMquI12sUD6/WEI8tXkmZqCuxNIwlrEjt7Osn94ie5AQN4x/EkmWqdNDZKOqyb9FYPdLIcnprnLjH5QEHruXsPumi6h7AADteAvTpAYZxKEo3LYBJonsOFS2rSXtRGq0ryvP3r3uQIlH5xgansok6HwAB8dOc5kHswB6kdyRURQ+eNKVpmCKn8lwcuqMxduapbscvpl0HFBJGB/8ytgun1cISBnvN+UKTe1NgJZCEZEWvvsw8oDWMKGVMNgEYAL3b3izv2IOkoU56lsy3Z8zJB9REODjJPg/d+HhYXos+ZmC3C9ox35y+KS0JFtRg3qA0ZWLBoaUUF7+n+NO6JsrC5BEbXlSgaA5PKbfbIdSUvuVqeAH6pDRucCfDMRExLfm13GVYDOWNT8QCAPZv801Eyz2RTp3CiUKc1eT57Sk+SQfKWSti5LWYqFTVz8JA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(5660300002)(86362001)(4326008)(83380400001)(38100700002)(66556008)(9686003)(66946007)(76116006)(66446008)(64756008)(66476007)(107886003)(508600001)(71200400001)(26005)(53546011)(52536014)(186003)(55016003)(33656002)(110136005)(6506007)(7696005)(316002)(8676002)(122000001)(38070700005)(8936002)(2906002)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?7sRkCAHtcVyeEoiLuzZ8zhQ4j+kpOrH8a6qCy6DU8pJpOCCLHnsGRCIJeYXE?= =?us-ascii?Q?KUzCeie3r1xL3NYTmcmn7UfYr1ZsHl5iy4n6TLrPh+S337bAu+nFUHmqGF4d?= =?us-ascii?Q?X5nEMmVWU2Jsxh4t1SMjN+WA9Bcoz4LUDHIBWXV72+Dh7K1ZV0Q1EXn+gsJE?= =?us-ascii?Q?NOxVLV0b6xh0P2VO3v4YP+p7MTo3QzoooOhjDrNFY7DMxRtHsWjhAa6qWKMg?= =?us-ascii?Q?RFdkRteT1B+3KlHfcuC0JiDwfI1X+XxsYsDoVIXEQFkbqBXy4e9FLAnEtzRw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qjM9DuxjoM3PBKKdxl01j0jhpK2KMmFe?= =?us-ascii?Q?Q4EJGOdqm+y1kwSEbqpb91h57ojzK2ynCnJsnG7SupCWPo74sizEZhBUtVDw?= =?us-ascii?Q?dU0U1nIfg+lw9gfc6rij4QyLZPqvmR59ZumBR3fg7L/V4NgOPIYGz2dQeQK4?= =?us-ascii?Q?TP98YJR+AKJZ/+IQNVgTToa/6oQTMa8OjjOPbFlZFU5a/VDnQH518x9J9s1g?= =?us-ascii?Q?tL7SXmEFJz0XbPZV6zyamJ3ec0plPQR23ewjrvoC8C63cfM1dUxWhdjf/212?= =?us-ascii?Q?/AdM8RNjMG1tgD6qbpwbj2xQb3OEHtJ41xcoaopAiLn66SrmK95UZDaYmn0Y?= =?us-ascii?Q?xHKxpbf5/Eaj0P4EU1pasrMSyqtHsGtZp5U4/a8Fbc0EQoLdeXnHOM0CzP91?= =?us-ascii?Q?+bStouihNQDpr6QSPRBNV8iHyw6i7TtNYnEheDJMFO4wYufnKCNdqHtd+VtC?= =?us-ascii?Q?QYZdu81fQSrKp1axenRrP3Q=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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bad8481e-3e6a-4476-606f-08d9d3670533 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2022 11:56:07.0731 (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: NkBj6ex85wm09YbMojiTxs/WRzsEbbfNCoc2TB/o0O6748794N7CaaiYBwce3n0ZYyuOVQ/6bngF0cagg4hzXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2773 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 Hi, > -----Original Message----- > From: Gregory Etelson > Sent: Thursday, December 23, 2021 3:08 PM > To: dev@dpdk.org > Cc: Gregory Etelson ; Raslan Darawsheh > ; stable@dpdk.org; Matan Azrad > ; Slava Ovsiienko ; Ferruh > Yigit ; Dekel Peled > Subject: [PATCH] net/mlx5: fix RSS expansion with explicit next protocol >=20 > The PMD RSS expansion scheme by default compiles flow rules for all > flow item types that may branch out from a stub supplied > by application. > For example, > ETH can lead to VLAN, IPv4 or IPv6. > IPv4 can lead to UDP, TCP, IPv4 or IPv6. >=20 > If application explicitly specified next protocol type, expansion must > use that option only and not create flows with other protocol types. >=20 > The PMD ignored explicit next protocol values in GRE and VXLAN-GPE. >=20 > The patch updates RSS expansion for GRE and VXLAN-GPE with explicit > next protocol settings. >=20 > Fixes: c7870bfe09dc ("ethdev: move RSS expansion code to mlx5 driver") >=20 > Cc: stable@dpdk.org >=20 > Signed-off-by: Gregory Etelson > Acked-by: Matan Azrad Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh