From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7CCBAA09D2 for ; Wed, 11 Nov 2020 09:53:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 08CD8493D; Wed, 11 Nov 2020 09:53:33 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by dpdk.org (Postfix) with ESMTP id E1A1B2AB; Wed, 11 Nov 2020 09:53:29 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Wed, 11 Nov 2020 00:53:35 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 11 Nov 2020 08:53:27 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.108) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 11 Nov 2020 08:53:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h2Qd5K7RdxSZWdlTP3UaXOI5niYe8lJXVTBugpG7Sezy1zv9EH3F/WmNlgzB58gUGR60DQKHhciO83lVspw5fyqxl7AZkmBlshQq28QadinO9JquoK8ScuKo6nYaPu/EsN98wZpXjGB67Gp9RRgu+eDq3HpovLAEfS5+/1+cycq9jPRnPUFbuBlRkxYQ5uY3a96V7LCD6OeegmsR4VXetxk5BDtaH53FBflc8FcWky0PiiB9B+YPy8bmY3Ds3tlx1PLb+fQuWkDHFO/8nzPFjbBCZaYBusA+kC2Uz/47uNPDIKFQK6KmKYdfdtm0fsk0ULCM5Qrl59Jp3wcZ7mMNRA== 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=ysD28n6iJoEcmulUATreW6VLUWV/fnqsx+jCkq5CVgw=; b=JcVt6hnwCCzbkeQaErDsimw9Q2WlO6bFhWTApGQZHjqZCODuf/7fi07CwHHAN6uOJoQnt12N7NuWmlX3OY7bVTjoJ9LQMFF4J+aOohLHU00V3biMuk/MHGWg/n19UTMyzdXjKRAanvJsLqqTyqalNwo/qqjn39oX6NeyCVwy+p2xqqZMM+LvM4zTl7sDa6WxL5llTHa+IEIEszBDSSHJZzjke1At6nISVGhZ3fXckWY+II/PoihoDkO+hmuOt4ofH7HF0Mow7gU14Oq/agyGc8JP9LqZwL7nputlETxR8CF6ux+Djzbsr1lm/hao6eF7+/bAVyZSrne0LxTcfPxKhw== 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 Received: from MW2PR12MB2492.namprd12.prod.outlook.com (2603:10b6:907:8::19) by MW3PR12MB4442.namprd12.prod.outlook.com (2603:10b6:303:55::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3541.21; Wed, 11 Nov 2020 08:53:26 +0000 Received: from MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::39f3:2b4b:6018:4b88]) by MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::39f3:2b4b:6018:4b88%7]) with mapi id 15.20.3541.025; Wed, 11 Nov 2020 08:53:26 +0000 From: Matan Azrad To: "Xueming(Steven) Li" , Slava Ovsiienko CC: "dev@dpdk.org" , "Xueming(Steven) Li" , Asaf Penso , "bingz@mellanox.com" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix nested flow creation error Thread-Index: AQHWtuvQvgodWiKkM0i6B0B3oKPYrKnCokFA Date: Wed, 11 Nov 2020 08:53:26 +0000 Message-ID: References: <1604962679-20351-1-git-send-email-xuemingl@nvidia.com> In-Reply-To: <1604962679-20351-1-git-send-email-xuemingl@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: [77.126.110.58] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bf84f44d-fe39-4329-5fa2-08d8861f412e x-ms-traffictypediagnostic: MW3PR12MB4442: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VNRS/nMH7fniokYk//XCIA+ZSq1SfUcEdY+20cW5zuP8DaoGeBzXuhpe+SsnUkJBFsiEc6acdRHQbyS50ipKFqIYi3ufX6V+dCNXjn6SqoueU91j8M7iz2SR1vBfrWJO2UoSailSfsoTB/EcOX6rIJ3ZP5CsHxhaYUj2IjRYxfm5QT92nP15f/mWC6HMAnpHds/diM5Vkhm2DOnCX307X9iM8x5T5gC+qjyPik+RTIC+WCWcjQsBcWUwmeCJ7sbxqNGPkPJX7mqYHQsrJAOSf8E2xNiy5qqjzBqEeWNFQCZjjOYJoOfkiEd15XIaI7vYDen1ALRkbdaFKm5c48S1wg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR12MB2492.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(39860400002)(346002)(136003)(376002)(83380400001)(186003)(7696005)(55016002)(71200400001)(9686003)(54906003)(4744005)(316002)(86362001)(33656002)(52536014)(26005)(2906002)(478600001)(450100002)(110136005)(6506007)(66476007)(66556008)(5660300002)(6636002)(66446008)(76116006)(66946007)(4326008)(8936002)(8676002)(64756008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: AtoF3aDtlvqiCftjxyt5WQt8eJlUM8y5nwZU+0HhAXE2EhXQo5S0QwQ8U5kT7O21hY5+KcgNltQEw8FKKRH8DHTpjcPSkEWwTicWs3xxsuSMi0R0Wi9z3cf7iEpkjDgXjYlvMxbv0OBCgZwnM9NtSscyk8KM8BiECts6ePgvXjhgGHPwDZdfcj4H6m5tVI9euFMJQXWHbh1ntwdzks8mrD4Ya9BQgjGz1xZXAtS5zH+DwWF1Wm80nSwCrmzPNZbjCVRcxtvxv6/L2j9Ki+no+PuKwSKuLaLMUG7sKugXIpP/Rjug6t2QX4CFiavXsbjNx6PEZsaOXdzb/BF7IsmBXrCAV9zy1/Aqaeuw6gUap5FiyWEs47lL/Xi9cM6endpbUoRtKE63uUAlTgg3FSTFKHkbcWRzdyqzOMrsQVSGPxrj4vygRK83/8xxlDN9FwtLbsasjvm88oy8joz7sKqBQGe7w20G/1TF2kyTn6HSaCO87ozKZ5Q3bYMZ7bubfSsN94/j1N8SDQYCJ1+/a1QrW/SnWCLlarWENODhxRUGunbEkUk3viRs11++2qmiwcHX1KyyisI/SuFsa8X/+dyWNutFcIO5LbHGiWWvw+GjFhLRBWo6jWTa34lLFLBqT+OLFmtAtKJps8tAqqaXqB17/StxCUZ9o7sXH0hiMkUqYTzAQJvnVy2QZvHPwftur7O1rJKHWQiiO8zKeOL97NXLzRqMcn6cJmaL3S80PrhBhqR0YHDcm9nh2sKVe2J62VXbp3VwaHOEnC+BbQdOa4W8enSEVUrJ3x0w8VmIT8Ohk05mo/Y0zb3trx6VR9pmOyptCOrth/h7EwZD1H2625L+aRc9sHGpPA/M6w1KhA5wKAXKKxEdqxozmR0MWw6sc39PVR1OChmfxxVMUQS+TegmHQ== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB2492.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bf84f44d-fe39-4329-5fa2-08d8861f412e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2020 08:53:26.7682 (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: Z/rV4ReEEq+4DVvnuBacRy7K0GySwpcB7gx3L2ohP4TNRaIimIkuIrSSJa5pbhAlClQpKnYYg5ERUfxU0EVx4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4442 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1605084815; bh=ysD28n6iJoEcmulUATreW6VLUWV/fnqsx+jCkq5CVgw=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ms-exchange-transport-forked: x-microsoft-antispam-prvs:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=fp68VwNrvJ9JKTfqvEvn+spsPE8eqYdLLATSPZ6UH307qLFz6lmh1ZSSsp5ejB+xj FcIB+GY73oV0lH5Pluzd9IZ0kHboFClyLwJuJG3Cx1FIzEsITHaBfVv+qSWSSPkHs1 0m9bXn+OCANZiq+JLq68cY7iHn1IoibBCqXvb/17Aa1PzE3WhQ1D1DWnCwxTHTs9c8 uq7BoZBxh/AvA2gCz3+kcrXG1R2wUCnYSWoufTzRS1YTDhEXSZbqVWs/iGSLDVS+h9 XxEwH3BNt7ceTgAiuc055QjYKcAO3ZPsvoJ4wkij+mngQ1DhqpZYf7ruji6vIQe/hI xD4/yzR+LNjbw== Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix nested flow creation error X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" From: Xueming Li=20 > If xmedata mode 1 enabled and create a flow with RSS and mark action, the= re > was an error that rdma-core failed to create RQT due to wrong queue > definition. This was due to mixed flow creation in thread specific flow > workspace. >=20 > This patch introduces nested flow workspace(context data), each flow uses > dedicate flow workspace, pop and restore workspace when nested flow > creation done, the original flow with continue with original flow workspa= ce. > The total number of thread specific flow workspace should be > 2 due to only one nested flow creation scenario so far. >=20 > Fixes: 8bb81f2649b1 ("net/mlx5: use thread specific flow workspace") > Fixes: 3ac3d8234b82 ("net/mlx5: fix index when creating flow") > Cc: bingz@mellanox.com > Cc: stable@dpdk.org >=20 > Signed-off-by: Xueming Li Acked-by: Matan Azrad