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 8021CA0564; Thu, 11 Mar 2021 20:52:19 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 429C14014D; Thu, 11 Mar 2021 20:52:19 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2082.outbound.protection.outlook.com [40.107.244.82]) by mails.dpdk.org (Postfix) with ESMTP id 23B0A40141; Thu, 11 Mar 2021 20:52:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NUIVRptqShHoqDMIOG/CM89qxS2UFMIMkuErs+ZBftyCcFHAM+gy+7DJJBlDGeTQOq4Tx9RNOs3OpMvuWCdD/mjW9Ac0b/e6foQMRCGx+c4JZvjFWaM+RUg459/10bWRq+g2GRu62rB7dZoKHzy7QzmGxeNNQ5jzgc1soKpi47mvRqcgnuuDjhvzlSE89Cu2joTllKC9J/wI25HzFW2xzJVVOJ7F8u6/zNUXjIUbXuIkg2TSdtOi+oHZfT7AEHK2UKg2zWvUw3XG65/Uwha/OSfkldZNcrWX3ZpkIrm8wPXTVa2KpO4rKwaXHIwdc6eFIIlHM+9vSJmF/uMVBwHLRQ== 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=cfgb8dY7eeF4Hf3h0gu2bNLx01W3rDoYOVfxIHyV32g=; b=aKZ6B0aX+3kLV0bDaacDk5qmVsVZcJPxCMP+udV/q3JQd6I0VaAc8q60vxTnCesjFD5OujfjCrztbjGrRx4nnh+t+p191vubBB7xic3YWITF28WTYY2qwNBi0QBLA3RId7HL0XKO4pRIgfy/s8OpS/tPSw4d/nL5L1/Tb49ZGBiIopy5NYNL8p06hx20t2Ox7t788FFV9HExXU7mXpWUJpDXPfQC4pzwJK2+w2kIUCU6sEwf6b6mQH5TiJl4bkEkJ9nQWmHSbczZHu7pchqaW7LlTHl7xZ3n2bL23jF6K0HuAg9YKS4r/z5iVpuA2560zkf5xBDDUd/XeJnnDg82OA== 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=cfgb8dY7eeF4Hf3h0gu2bNLx01W3rDoYOVfxIHyV32g=; b=lsYGm0gAPcx9iWu2s7xFIT2tfgrK7sunqCN172QTn4rN8R21Hmv7jH9JbDJy6DGZTwexlSksS4m2TP0FslZkRL3OmBaBsiWw0T1u/lHNVQugXVPu9CYBt82Ja4jo4BL8FxY+SZ51w15mpxXuAw0iQ/Z7hBLxbU6huUIgQXzcNSrjoklRLKM3WFVYTs5tYiyV0PmznxGURD5+gjrA3FEWy8uIFXj5WvZ/c4kA5wNkwzAXKRWRh3ph0XCBLf4k/lUWGrswlrxkCqZyb2rLjx7mgb0MM/CLWa4Vkqvo2gxtyNp0DXdbvYoWZoztYhKTEcvq0EwqINzR8GIdLWBCFWTVDQ== Received: from MW2PR12MB2492.namprd12.prod.outlook.com (2603:10b6:907:8::19) by MWHPR1201MB0112.namprd12.prod.outlook.com (2603:10b6:301:5a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.26; Thu, 11 Mar 2021 19:52:15 +0000 Received: from MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::99f2:8567:2f9e:c351]) by MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::99f2:8567:2f9e:c351%4]) with mapi id 15.20.3890.038; Thu, 11 Mar 2021 19:52:15 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Raslan Darawsheh , Ori Kam , NBU-Contact-Thomas Monjalon , "stable@dpdk.org" Thread-Topic: [PATCH 2/5] net/mlx5: add timestamp format support Thread-Index: AQHXEzkVji5wi5huzE27ksuItdCf9ap/OX5A Date: Thu, 11 Mar 2021 19:52:15 +0000 Message-ID: References: <20210307100251.22538-1-viacheslavo@nvidia.com> <20210307100251.22538-3-viacheslavo@nvidia.com> In-Reply-To: <20210307100251.22538-3-viacheslavo@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: [216.228.117.190] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c722e3e9-51f5-4d91-34b4-08d8e4c72be1 x-ms-traffictypediagnostic: MWHPR1201MB0112: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1sHAu7G8Nro25ZJl6l24hULnjvT7SD1/mla7Wf5wHEPHyOLtMGEI+8MVSQ3xDvuBrxWeJEbON2ozEXlPX6Vzp4Ac/NX3prQRaLlwGeJRW12q+wRyO6+KswO7El6Tws+/EVQBQG7uhp7uHisIUIRIDt36DQ98nwy6l3hBQos7h1X1VgGex5YJQFrwvkv0S8dnkrdcmhWm6Wvdzt3nIZyJenIMODqxCAERRTeLwVKEJLjAWLT4X8SRFAjKepnn6TyZtGs2l3supBUW2unDu6eEEejwq6AatMZS7yWdA8WdqheAt8ptnL3ntihjvYhH1J6510TDSg6r+dF9joaPJSomhzHamqvNIwvkxNCps/llsOa9TYt0QSR6tOP0C48RPCEmD5M1KqQZCtZGGC2wbVZzQLkx5GLWvRVS2IMZlMTUWqa3LysPSuM76urV4RxE1xR+mwoOfE+DY3X/6GEKQrv0wIhJTKWh2NAVlmb4S8m9LCU34+yOvMb5QLTZRDk0NnFo3WOb86gMTn5ju73S+07HVA== 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)(39860400002)(376002)(366004)(136003)(396003)(346002)(316002)(71200400001)(186003)(26005)(64756008)(86362001)(76116006)(6506007)(66946007)(33656002)(7696005)(8936002)(2906002)(66476007)(9686003)(52536014)(5660300002)(66556008)(66446008)(4744005)(110136005)(4326008)(55016002)(54906003)(8676002)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?mQAyndR1/cdxBF7WBv1/N/NZh7ZbPdZvQF3trnoBYOAKY/ndBTd8mEQxFBiU?= =?us-ascii?Q?aF6/aabHxAoNZ2hr0UIc4ZVOewCIDeDTF3zb2T7ccg7ctVbckJvaLzB7+I7h?= =?us-ascii?Q?LRAOseDABLvloybJ2umCfCHXHUkYUI/QbStCrJD4/SdOFbxxhYlWRDmhUus9?= =?us-ascii?Q?zI8EIjhbfw8f3X7D5vc8rlvalxiu2+SfyGTOeG/E44Ox7BkE/GnCnJOsdo4Y?= =?us-ascii?Q?DfHhtt1bpRw/IrbkNHuWE9hf3CZ2f8btk9GawayBWDKoSsl9G1zY3ssDpnqf?= =?us-ascii?Q?DfhVIpu3InaztEP20PHz6QAUVjMbwYsZeDSRr0VJpkEIAdjSJJHObyfIxM5a?= =?us-ascii?Q?ujxO89JGJS9a6275L1YUcOs7RagIhhrq8+hAUjZDd/5cZe9cHDUpDkxFNH7b?= =?us-ascii?Q?pPCZhcuaR8D22b/CbQCdxk2F1yGlQ3PQDYIfSuZQCbMUF8gn/Co4wrrqqgnI?= =?us-ascii?Q?DObIsBTofXtweXxPI43gfqyzPODRq3RBlx8V/5DJDGvDXi6GbUvdEyPQLa0B?= =?us-ascii?Q?AfW1Nto///v4p52f86D/Lt1wl1KWaV+Kce2lE+yMHemz/Fp3YirXfE+EOglK?= =?us-ascii?Q?K9cf45h9qQT4QxUGgyQD//Oy/NaQbHT8+mZh8qX063dKaf3xctXfi1JmUY4a?= =?us-ascii?Q?tBe/0im3CbK6BqKi87aWVVST+VzGko7rERJjk8x1AY0p0lKQyacKzCX74bpW?= =?us-ascii?Q?p4rHvEQgqM8jD63DrXi9eSWlB1IXXSHFmwKd1R/V6Tj2IER/rFXizKWzC2ab?= =?us-ascii?Q?9pPIqlexBT4V02A2y0+oyqpHa1CiJ+K5cmONzLy6nRlUA9UnYpV3ZEGaM1By?= =?us-ascii?Q?Ji9OeTs+NLim/vbSezzK5/O47tSX+VyPVqAVMNjl0InJohDvs1Hflwsztcu2?= =?us-ascii?Q?kVXaqiS2DlwlYZHzUncTMqmYyfHgm1sSeKS0/u5feAvfOqUUgRCC/SeFtGuu?= =?us-ascii?Q?e8zzAtLsV8qp2V50KmDRJreV1JomtqkVTOuMVjo7CQ4XuxIveWhnfD+c37SZ?= =?us-ascii?Q?btfabt0UiDZDpDoXUo0nmv5AzseoQEWSvKeWKaYWbu/D4RojoPp7dEdyidNU?= =?us-ascii?Q?8J6jaMGJeQSQ+3vYsJkWce5nHkyr9tFIL0Gv4d2GLt+yYbo8/5tU7yo2V47Z?= =?us-ascii?Q?NvKVjKIVqzYKwwVed5kEn81si/yfZsal38fyVSpS9+/EEystzKoXOmI7SMze?= =?us-ascii?Q?cNSQSxckIlT6ujty8v+luEZDuzUZFhthlqd7nLdrSrV1x7lTuMLaWr1hYZpu?= =?us-ascii?Q?yXOaLT2nEgz7B5hAgNrjK1ya7/ZdPVqXG+X3OkkCstpbHwiTaI58/5kllFwU?= =?us-ascii?Q?htI3zGqAzKDuvF0b+HJIvkcH?= 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: MW2PR12MB2492.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c722e3e9-51f5-4d91-34b4-08d8e4c72be1 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Mar 2021 19:52:15.7939 (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: xb8GlLgJbxnAqosZlmPiz8F8T3emSlXHvB956G9pB0sDlTr1zpxWRCu39C2hkT6HgkuUDGd02Z4kuhdKEfyYoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1201MB0112 Subject: Re: [dpdk-dev] [PATCH 2/5] net/mlx5: add timestamp format support 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" From: Viacheslav Ovsiienko > This patch adds support for the timestamp format settings for the receive= and > send queues. If the firmware version x.30.256 or above is installed and t= he NIC > timestamps are configured with the real-time format, the default zero val= ues > for new added values cause the queue creation reject. The patch queries t= he > timestamp formats supported by the hardware and sets the configuration > values in queue context accordingly. >=20 > Fixes: 86fc67fc9315 ("net/mlx5: create advanced RxQ object via DevX") > Fixes: ae18a1ae9692 ("net/mlx5: support Tx hairpin queues") > Fixes: 15c3807e86ab ("common/mlx5: support DevX QP operations") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad