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 14D3DA0524; Thu, 4 Feb 2021 17:39:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C59562406B6; Thu, 4 Feb 2021 17:39:21 +0100 (CET) Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by mails.dpdk.org (Postfix) with ESMTP id 3C50F24069D; Thu, 4 Feb 2021 17:39:20 +0100 (CET) Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 04 Feb 2021 08:39:19 -0800 Received: from HQMAIL105.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Thu, 04 Feb 2021 08:39:19 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Thu, 04 Feb 2021 08:39:19 -0800 Received: from HKMAIL102.nvidia.com (10.18.16.11) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 4 Feb 2021 16:39:18 +0000 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 4 Feb 2021 16:39:16 +0000 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 4 Feb 2021 16:39:16 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RV0z0o7weV5nhfdMz8HTQjxtYUYooLHpDgj24kh3IM6aVzjWb7LKlsWj/VNq5wYJKad2qDZhfbFNM8JohrgLY5RTZw7PhKUbU+D6gyW/xqE5SIb+6mNYVPZNhKe+N72cW9KBOEtMdpH2OmEmNTnND+SBJKPmphe5nsQtmIoFOpb4Y1k3gqotAULUYqWnMY9rRCvygEcLKzassB8ZNca1Qg62S342H7OQQ1J+q976gU2RPxScjyBErlDiqh7rKSo5GEHJI6eq54Hey0dbd1KI9yIg7fffYJJaVdkMCdJ5MCAmZJs3ugbkp8IjFSyQLvH45tTLR6cWervOc31C2S4oUQ== 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=xIYCUF42cGQs/HRxNbeZaplhDXbu86jc20mavtp9UgE=; b=TXc2vYbOJp/WrfouqPY8gc+16PKZUTkwh4J4NNS9rf1HxVT9vG9CQcsu024exS+m9UpZiIy7yYSLGQvhpa5j+gRitlYK8yUYh0fAs8ckh5T7dQBbXhzaqHR4srtVcSLzz0Oc85MhDqki3brjOOgkdlQw3nPlcGwYHTzS3ylEK0SWNDQTPbCqvdvWhdfrE5YAgzoBad9lwkL9mm/ILi/F8vgB0/ET+FDB1DU8YdgbCJ24TmjO4aZrsIJwe65Pv+GPndJVvdVYvD7N6hJpGVNlkOsi11hz1Mr3O2TF4Hvr+Hxthkps6nifVrmKzp5MvsARbRneCzjtoqzUqIUp+zWn0w== 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 DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB3356.namprd12.prod.outlook.com (2603:10b6:5:38::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.23; Thu, 4 Feb 2021 16:39:13 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::759a:fb10:c6af:87a3%7]) with mapi id 15.20.3742.015; Thu, 4 Feb 2021 16:39:13 +0000 From: Raslan Darawsheh To: Dekel Peled , Matan Azrad , "Shahaf Shuler" , Slava Ovsiienko CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix check of shared RSS capability Thread-Index: AQHW+hSjDbhUZdRJ40eJ3yfUOVIu9qpIM9jQ Date: Thu, 4 Feb 2021 16:39:13 +0000 Message-ID: References: <0211e6063d0146111a9351299e52d39ad36d3735.1612346797.git.dekelp@nvidia.com> In-Reply-To: <0211e6063d0146111a9351299e52d39ad36d3735.1612346797.git.dekelp@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.58] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c50577ee-5542-4a60-17fe-08d8c92b67f6 x-ms-traffictypediagnostic: DM6PR12MB3356: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-header: ProcessedBy-CMR-outbound x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: muKTqdPBFXdeAAG0LjlTpgP59E6vsu7SJcSQnYhIGXWQUFwo4YaL21kAJmYWjJ1DXLWcQ5lzwEonfmWExVlLx9+8S5Q5shjm1332u53WeQ+A7q4jbdfxT0sGkvo77o2d2cAZj7FYo+rfVTBPpvA5yuY+y272eSPM2/fUUC61P9oYa08vSncVSYmLg5WN8pmXRMtok0mIhXQz766Ine8tehpuMkTbNKnB8MrhvBceOjWyk2uiG6o/Rz3P0A1ORm0Lht0sS19ipE/uiTr6oIjUs9KjU/pQ9osIOaZXwJ1iyVVI5A/Q+dyt4Y6DJucysq6zOBxtyhgwmUy9222u4f/rgXxLLYbxzLy5Cze4FiwoBdiENv61CFcwChrjSFstLzyr3ioXeJ0IWA1bHI6jJE15AsdvMo7MUdQs3dsMiqJNKnF9pXu3SxJwMT4M+W23BfRqnW5zZkXYrXxDveHCLxirXXBi/CzJsNxkNKdVdZ65LIQWfsSJxGKao55xcM7FYvbtgNbiCMhkqbVsfV8+AEdGFA== 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)(396003)(376002)(346002)(366004)(136003)(39860400002)(8936002)(8676002)(86362001)(66446008)(9686003)(83380400001)(64756008)(66556008)(6636002)(6506007)(186003)(26005)(55016002)(53546011)(33656002)(71200400001)(54906003)(110136005)(52536014)(478600001)(5660300002)(7696005)(450100002)(76116006)(4744005)(66476007)(66946007)(4326008)(316002)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?r7ndTlwhk4dqKlTbVgYUa1EyLyz206nAgnO1IEQTDfelDDHVmns43YiZA2DJ?= =?us-ascii?Q?wQjYt64VbeUdkVvjZWUcbvrYucM/YgJ8O750sXSO5DGJqfSgBUf8FOMonpzE?= =?us-ascii?Q?zEZd4qOaxNlJKkKh3tYkHiYTtGj1ab8UEQ/L7MD292j5iDHC11WN5QNFZuBQ?= =?us-ascii?Q?N24VgsYKWEbt1+O9yFbeN06xUEjuEWYhgfa58cYYMf3vkcm0RHL1U7tlkpK+?= =?us-ascii?Q?5qu2Q0Vro7VOaiSuyisUXCHELLQTUwErReO4045jSquFoTBDrw/YEAL//M+j?= =?us-ascii?Q?akK4FE1h45FGNAS9iyNFGsuHWoH9DUt+2aXp96b5G+7E8hMDyWRxsOh8mYos?= =?us-ascii?Q?/ku8SlZxozUVEaRuXmSWYYSWQeDcOzXRQkggU0YWAl6k2EeYXdXyQhj2cJ1Z?= =?us-ascii?Q?/+3UBgukp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WagiPn8vtq?= =?us-ascii?Q?C7vZJLgPfvzn78LiroIta55p?= 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: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c50577ee-5542-4a60-17fe-08d8c92b67f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2021 16:39:13.6783 (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: +mwz62MeTIQeVGWjXF9IiqI+J4iJ/YhjwDF190ds6PGz6LPokEgfU8f2QwLW5ebprn7j9x2bZfN/GJi6dLcMFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3356 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1612456759; bh=xIYCUF42cGQs/HRxNbeZaplhDXbu86jc20mavtp9UgE=; h=X-PGP-Universal: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-header: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=XCIwSVyGyFpo4YSRmG8Wajwh4kiuX+PXx7Z89ju8GNy1GkJ+wSJ3cU6H6hp9bRfV7 qCsqZLwmmx9PiROuQf2Qc95BzEaW+H3qlKd1p5CzHrUnhUnBmk2lnN+JEoIcnPLejW cCLVzZQgwsh3y9EpuFhl5Z+M2Ub8XCjAetSFlBGiYNe2YyzlmxRjkXfmmLX5AzkKqu PHsXU05V5MkUH65jEUL8Zxd8iXd86E3QYhHwlU35Ffu/Kdl5uNeRxKRLijYgDGp/rY 5tF89xbJg4bA8QyT1SfVyrDCn6uNSvXE1otewh4jk9swpNrowkcAXUdcjHmbAk8VJM mZg8ZeAo5/RuA== Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix check of shared RSS capability 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: dev On Behalf Of Dekel Peled > Sent: Wednesday, February 3, 2021 12:09 PM > To: Matan Azrad ; Shahaf Shuler > ; Slava Ovsiienko > Cc: dev@dpdk.org; stable@dpdk.org > Subject: [dpdk-dev] [PATCH] net/mlx5: fix check of shared RSS capability >=20 > Existing code to create shared RSS action doesn't fully check > driver capabilities. > Using older driver, if DevX capabilities are insufficient, > the IBV operations are used. > In this case the ind_table_modify operation is not supported, and > shared RSS action can't be modified after creation. >=20 > This patch adds check of driver capability, and fails the validation > for shared RSS action in case it is insufficient. >=20 > Fixes: d2046c09aa64 ("net/mlx5: support shared action for RSS") > Cc: stable@dpdk.org >=20 > Signed-off-by: Dekel Peled > Acked-by: Matan Azrad > --- Patch applied to next-net-mlx, Kindest regards Raslan Darawsheh