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 9401FA052A; Tue, 2 Feb 2021 10:46:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82294240346; Tue, 2 Feb 2021 10:46:30 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by mails.dpdk.org (Postfix) with ESMTP id EA5D7240330; Tue, 2 Feb 2021 10:46:27 +0100 (CET) Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 02 Feb 2021 01:46:27 -0800 Received: from HQMAIL107.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 02 Feb 2021 01:46:27 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 02 Feb 2021 01:46:27 -0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 2 Feb 2021 09:46:26 +0000 Received: from HKMAIL104.nvidia.com (10.18.16.13) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 2 Feb 2021 09:46:24 +0000 Received: from NAM04-BN8-obe.outbound.protection.outlook.com (104.47.74.48) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 2 Feb 2021 09:46:24 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mwv1uKdGtQp61R5/O1mWuY0nuvm8pOju3EUvjCAVDThLdW3Tf4c8RmU0WCf0n9EMR0KGoVkYOfIKNDgZGSwz8agM1f4K+ogrYocHnpcjZJCM5uwM4rp0Gu25Jhz5ZKKeBT2S+mF9znneEr/pEIHjzn2DgvvgWx1Q96bgdU3WvTWnDZVbaETdOusC5SXwLTquGXc6sb83dq/OX1riB8/3EVGJ3ahzmOoH4NssAgOkwuMw/BpOA/o1E9TZvnS6rBEk8FV0Znb9CUWOQpyOjRfGfgPKHRb8ibW8sJVCqmccQGvHZJ5fyVZ4jemT7g+FX3zSTItR5s7seZg59KjGih0H0A== 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=Hj6QNPsr/1krpTQOEa7MDpb+PpLUV6nB88PCSinWIuk=; b=Ckc6ciYIGSevT9txMdFBSWb+dKPKVFeKgunmvlk6eLadP/tCI8B/vuh0KndKt8BA4E1I9JUAaaloHN3nYPdH75rhxM7Skjsla8qonPFh0Pg2q5S0rQ5Bl9BSCdqQMt1bFhS3zMJoy2qpvndBe+BHkj1LRsrG9bjOsC6aLVWvuVqY+Opz5oWctOnNRN2c9C+qMGiJndorW3bJ9albiVTDDtoz6LElgCu6pMA0jKsNrBc7QvXl4klafXyZjYj7VbdenrX18PFn/mTUSDeyzSAa4BLYQZFHQV7Busw50xEBvvNY1JA52QGSq72Ui+jIbzSdic4zgs8kKtv0gn7OiEUTtg== 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 DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB3499.namprd12.prod.outlook.com (2603:10b6:5:11e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Tue, 2 Feb 2021 09:46:21 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e4a9:f9a1:d873:d07a]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::e4a9:f9a1:d873:d07a%5]) with mapi id 15.20.3805.028; Tue, 2 Feb 2021 09:46:21 +0000 From: Slava Ovsiienko To: Alexander Kozyrev , "dev@dpdk.org" CC: "stable@dpdk.org" , Raslan Darawsheh , Matan Azrad Thread-Topic: [PATCH] net/mlx5: check FW miniCQE format capabilities Thread-Index: AQHW+Qg7nBQt9jRERUG1fKmPb11fDqpEnmCA Date: Tue, 2 Feb 2021 09:46:21 +0000 Message-ID: References: <20210202020737.31589-1-akozyrev@nvidia.com> In-Reply-To: <20210202020737.31589-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-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c2f2520c-800b-4316-d3c8-08d8c75f65bb x-ms-traffictypediagnostic: DM6PR12MB3499: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-header: ProcessedBy-CMR-outbound x-ms-oob-tlc-oobclassifiers: OLM:3513; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DPSdo0S73S7weIZj3HBx1aHFaQwV/fUwFyjBNOdkBDMef8hxfmgqEYbJxAW0/xE8FepcCg8B7pd70Nr55Vbt9rHkopUT6DGGndt3+k9iICp98L5J+B+aj0rv8kp62B5fzAJcWNMwbL6sn/lw5QDutX8G7GD0LQimxP5gX0+cF3EFBfTpnRX+BOL8/z5v0W2Lq/EdlIYaE9WFXEIIQ2DG3upoqFUzzeNVr0JklZpPNrflrxuNT9fqE3IMzgibqOGCsy2EzLKtIvAjLdkOwKe4NrMGqoWkaGVZNR3j/aAnpZVHB/mN2T7imO91vbbmuf+O2D7jjJSdEGlYoDg1MJcaYNWodaMMd6pGfY8DGZ1BNrU1lzYOZ2JQAfo3wOY7N1dBDzy10BERdR58dPNgvcJ74ftZk2sN+9QWrvBU8gKReFJta0V/EQgORKwBahfwgFg0JyyQ5YxUvh2TioDYPpXbIZlpkhMDNN0ozVUIOpVANTMh72RCAJq5nIien59QzSBmxXsi9DdFo62QtwTcu/khlw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(54906003)(4744005)(83380400001)(53546011)(498600001)(8676002)(4326008)(52536014)(110136005)(86362001)(186003)(450100002)(66556008)(76116006)(26005)(66946007)(6506007)(66476007)(66446008)(5660300002)(55016002)(33656002)(7696005)(9686003)(71200400001)(107886003)(2906002)(64756008)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?c4zjpVig2Etti0EfjLPKOtRu6qslKpF0ZG7PRxr1EwcGb4Nsh75075nQyh9t?= =?us-ascii?Q?gOpeJM8Lz+KjeZKhNEPPPmb1yBR0DCcdgZdodfVhBYOOpibRV/FYBB5IoUqD?= =?us-ascii?Q?QCz4lPht7wtdHhbxezfJsS6oMdDilVbGRumJ6r6LBE5BwFyBlJbZ5FlqwOAi?= =?us-ascii?Q?dSoemj61u8XWKgid0SZ7h+jpQQW2EnDtIkDbn9mIMxrC8KBGnEje9/T12J9G?= =?us-ascii?Q?2A0N4jXv2I068m4z4XywdsZaVcBBsXjGbx871fKVbn6Cnuu+SclFPgfz0uDt?= =?us-ascii?Q?u1073FLPs4wSZZTYCX7TbTPvdXPgiuDQcpVAmptojNiXhkYygxVkh5DgJXo5?= =?us-ascii?Q?9CVSDr9VczU+cjRseO8S5vCC7WSfuTB6Z1HNmxsmorbCVhdO0iHrO2flALEH?= =?us-ascii?Q?q0Nbr57fQlKPy5AQ7yF6J5QRlhfhidCkU+bOg9kh4B3ATxps0D8kNghG4535?= =?us-ascii?Q?RJLfIDSfMNXF82A6eUD9ko1blZJq/ed+WJuyuD36zKlcnDcafnqTvG65pATq?= =?us-ascii?Q?4Zn1rDvJ/m90/JMFbAa94jI6kV800hKVmchPrCFclP2O8aJDUhMGVHffe9If?= =?us-ascii?Q?3roFWV0ZNUbF32c+epDdEoN0F6XZHOZXipYgTSAnr6i8lrMWZsAtx5Il37o9?= =?us-ascii?Q?emei9E+2zRfeyVWKRHFDVZzLGoVLOwn9lp4VVAzpzmKpzo51aWqKit2f7d08?= =?us-ascii?Q?7jjP1aUe5Cou9piqoHbKpZzzWZI0dwILBcV9J5OL47ieYoEFSGawgHPk82sH?= =?us-ascii?Q?8f6DwnP2THRDBJFEeiqI5SNDSvvmmZ4u3Z+HLh8NHA84y9YzN/LZloWJFu3f?= =?us-ascii?Q?VsJWkVsNymCOWuzgehXay55SgPdjgKnymjFifew19yxwYocEWjqztOseecYf?= =?us-ascii?Q?EFETBvqhOYUMUqDnMAVt1fNd7xQ83nAPUv6KOe4Fzq7I0muOQMGhk5ZCKQc9?= =?us-ascii?Q?Fvp90H2dxLSy8sn2yMMNekVm/URpm8kyn0u7oebPRu9F8Wx2GbLDwuSSoHzc?= =?us-ascii?Q?gpRHSraSTM0kgLtRnj79Bz17wH3/9heFx9vG/0XkLzMY+kOdUqHiczQZauKC?= =?us-ascii?Q?QujhyxOQ?= 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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2f2520c-800b-4316-d3c8-08d8c75f65bb X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2021 09:46:21.4494 (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: J2hcgrAAs2GtXP6kpCvc0fVp3xa9naCdBSEh766Xi4AXbRjUfNHDC1wHQkmppv5Lga/fq7HivjzahMdeFJ8vgw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3499 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1612259187; bh=Hj6QNPsr/1krpTQOEa7MDpb+PpLUV6nB88PCSinWIuk=; 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=XRuLdw31CstkeTUWBar2K6N/3R2FylDRxcuVlCDmJ6Z3g6fd2SI+zz5522C8lPndq 3tMNr6q+2wkKHZPJ3QxG3/ZE3ZL1GSiYVRYEDZNbsoI4szDqNFUvN6oKSreWC8cDtt uI46ko75eE2UMFzQr06Rd0340Jja2n+qoOdbZVTgggHNHTTOK5vLG9uPlOddvXlS+l KrfyRCvUVujRDkma+MfpedndkYINlYBC3b9TFDcksWB33qCyV9sX7reaWlFfjePJdM P3KcnbFsepCalrf4zwBruEpYkvRRDZ3LhKOo2HOPvI99BA2tiOxg2rBDstUy2C89n9 0zDJGtzG/nyYw== Subject: Re: [dpdk-dev] [PATCH] net/mlx5: check FW miniCQE format capabilities 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" > -----Original Message----- > From: Alexander Kozyrev > Sent: Tuesday, February 2, 2021 4:08 > To: dev@dpdk.org > Cc: stable@dpdk.org; Raslan Darawsheh ; Slava > Ovsiienko ; Matan Azrad > Subject: [PATCH] net/mlx5: check FW miniCQE format capabilities >=20 > miniCQE formats for Flow Tag and L3/L4 Header compression are only > supported by Mellanox FW starting version 16.29.392. There is no point to > allow user to enable these formats if FW cannot provide them. > Check FW capabilities and deny user requests if the selected miniCQE form= at > is not supported by an underlying NIC. >=20 > Cc: stable@dpdk.org > Fixes: 54c2d46b16 ("net/mlx5: support flow tag and packet header > miniCQEs") >=20 > Signed-off-by: Alexander Kozyrev Acked-by: Viacheslav Ovsiienko