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 6168FA04EF; Sun, 31 May 2020 21:47:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4BEA91C43A; Sun, 31 May 2020 21:47:24 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60089.outbound.protection.outlook.com [40.107.6.89]) by dpdk.org (Postfix) with ESMTP id 7B6101C1DC for ; Sun, 31 May 2020 21:47:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E1p7F/P1snGPCKTUsj/n18yFi6esOYPE0q2/vMSWMXjCOpzfm+AA10I+4l+dkseS9IQ8qTsZEWcQZDDN5VLMIW/t0VgbG2+9WXMc/s/ASaOKxfC8oAbc5B1UoKNfoX3EsNDUSdNiGVnil5GOhQWtzRPPQNcKbmohPCO0bKEb/LNMXqZqYCMOoXP1aZYvrbAtfzpuwUUkius4Z3p8xZUP1xFLKVqYOtq0ulG/PNW20/6OMLECfNT0J3I/uECPY4Eej/if77nGNoOLzdlJzTSq5tZeveQXIJF081xw4gmeOXZX7OSOXdIoQ2vow15AYGGBgScta1grGRqMqRo3hGf00Q== 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=2ECfmpDn5xDImNUAuKtoEqNOLQ0xVKnZENnpyPZI6r0=; b=X6VdCZCbexdL1mHbudz0VEyEc5o30ZMn34ay0w2OQec+PGlRIz3D+fOIQ36EnPBUJmjUgWcu9XtHxOBIptFuS6J9n0DiBIjly1UG25TudcwNllLmBAfZl4kg/r7RIDiBmUzNuN45JzloSZ+AvhKOZL9t4wciuQ9OTXqyetNysW2Ot9NFB5/b57f+ZZuAZUOWkcTFYLj7KVqz25SKXVRdSwHMnDrSTaNvl/hVx40Pl5lUCJmd5MTMijN3UDPXlD5nUVy+u146LSW7erWFWmAHA0+y1GyY7ad2hEr/9Udp1J1lRqI2A7n1f/P5sfzJxGD2+78cuaYwBzJVHYKpVVityg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2ECfmpDn5xDImNUAuKtoEqNOLQ0xVKnZENnpyPZI6r0=; b=e1wBWHMyrNxQsjgW+PUYghIypdd1DBerCdMIafZDnY9dysPR1z9lZTsiMspuSLiYRxoavp7M8CpSerUyAP07K8+TQfMcpPZRRLtMSu3IuMPiMuzobc81MUVu5AAE0r+Fue3Q9hO+s6BpI4TVV/4i8Q4pQ1XLvN5/jvJq3ro/VB4= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (2603:10a6:205:8::26) by AM4PR05MB3121.eurprd05.prod.outlook.com (2603:10a6:205:10::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.22; Sun, 31 May 2020 19:47:20 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::bdf0:88a3:3a39:4be4]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::bdf0:88a3:3a39:4be4%7]) with mapi id 15.20.3045.022; Sun, 31 May 2020 19:47:20 +0000 From: Slava Ovsiienko To: PATRICK KEROULAS CC: "dev@dpdk.org" , Vivien Didelot , Shahaf Shuler , Raslan Darawsheh , Matan Azrad Thread-Topic: [dpdk-dev] mlx5 & pdump: convert HW timestamps to nanoseconds Thread-Index: AQHWLgozfdl51DIx3keQkurxVj3xYaiyrl8AgABJhwCAAAOZgIABehEAgAYYMNCABQ1IAIADDnOQ Date: Sun, 31 May 2020 19:47:20 +0000 Message-ID: References: <3986292.sUUuQTochr@thomas> <2766519.SlWGiteSXv@thomas> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: radio-canada.ca; dkim=none (message not signed) header.d=none;radio-canada.ca; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5ed93b28-d3c8-4bae-a3e7-08d8059b6e6d x-ms-traffictypediagnostic: AM4PR05MB3121: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0420213CCD x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: q+J2NtxdQSl9x2g2nqEkXKyE/ygQ/dZmKM7MbcP51ZlXJPbVW0bu1Mf5UR7iAmgvAcG4ahLTmc4YvLCezz3Ukxw1SjT4SQdjQmxDXYNn7b38+4hiJ1nQNxsNSXBPVsMg2p8peSYDqScj++/+uVg5F07i5G3yjVprNgd2pUMMEBUVDCic1MC6M8gz11STaOU/X2YKboDgp/QwGoi3tVWlg6sP4bAx/QNsq+i6iEF9MXW4dlI2V0yfU4VDfbb1S+sUQu0wVgyjLfloCchnF3+bGCdqKndkUbnheyNqPSFKqR6j4vWnHhiTCWk6yTHvs/OqavgHOYEJsNBmHmu1TieEN8u02jGTg2wsIr0bCVi+KQN5WSL8njCns20vtbuYfPj0VOan7+2W4N5frUSJ0u2wDw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR05MB3265.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(39860400002)(396003)(136003)(376002)(366004)(66476007)(66446008)(64756008)(66556008)(66946007)(54906003)(5660300002)(52536014)(8936002)(316002)(7696005)(2906002)(8676002)(86362001)(6506007)(33656002)(26005)(186003)(4326008)(83380400001)(9686003)(6916009)(45080400002)(55016002)(71200400001)(107886003)(478600001)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: aPYa3EL7eEuomXMYN9+qPai5747ypiz1MJwzwR9aDP//MeGCzKgIpr9itD0r88K4mPTJSkYdPWSqOoRgf4zQCHsuhM2AqWb4mpCTeV1H8/6Bwa1Z9PJIEcc4WsDF2wGpacMPRogFLGfUFp+DDzo8AFCVvAFbNNvYWQBY9txkh09ofwzqyla9PvBZtYUCcNm2sz0Ng8GnUI0L8L7LcjqRt1348VB6TuvYTRiVq8Ry1ZRV2JVqd5nxSSAik3CrX5WSb2gbf7m4Z1nISVUgu1wMSVX9adE/cMhBS3rNC/96zWV9qCJMivwjSHnWaNy/SwkIGlvQvD9IlaziicfkoM9XEMXxLBUJKnbZ5HtIxR4WPmhoIjxYOnGWiRz57H8fihl14mpwrjr7/Tn92Pb7sBNLr7PtFXnjhDN0QMeHcS2K3+D5vHwzQHIayFyx1JJnur/6N/SiuqdbIjr7eX1uQBFHLv8OadI1zC/Kuvbd1sMPVSY= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5ed93b28-d3c8-4bae-a3e7-08d8059b6e6d X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2020 19:47:20.1925 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LDcW0lgNgUbT2p00KlVFoyk8y2CSzJC2THFfnDMQuN5NTIziFRYkV2S4rsRRS2OT8z0fMo/sWAD8NIpGU4CJZ/prNpwzx4RZf1M7o5JgGbk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3121 Subject: Re: [dpdk-dev] mlx5 & pdump: convert HW timestamps to nanoseconds X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" SGksIFBhdHJpY2sNCg0KUGxlYXNlLCBzZWUgYmVsb3cuDQoNCj5Gcm9tOiBQQVRSSUNLIEtFUk9V TEFTIDxwYXRyaWNrLmtlcm91bGFzQHJhZGlvLWNhbmFkYS5jYT4gDQo+U2VudDogRnJpZGF5LCBN YXkgMjksIDIwMjAgMjM6NTYNCj5UbzogU2xhdmEgT3ZzaWllbmtvIDx2aWFjaGVzbGF2b0BtZWxs YW5veC5jb20+DQo+Q2M6IGRldkBkcGRrLm9yZzsgVml2aWVuIERpZGVsb3QgPHZpdmllbi5kaWRl bG90QGdtYWlsLmNvbT47IFNoYWhhZiBTaHVsZXIgPHNoYWhhZnNAbWVsbGFub3guY29tPjsgUmFz bGFuIERhcmF3c2hlaCA8cmFzbGFuZEBtZWxsYW5veC5jb20+OyBNYXRhbiBBenJhZCA+PG1hdGFu QG1lbGxhbm94LmNvbT4NCj5TdWJqZWN0OiBSZTogW2RwZGstZGV2XSBtbHg1ICYgcGR1bXA6IGNv bnZlcnQgSFcgdGltZXN0YW1wcyB0byBuYW5vc2Vjb25kcw0KPg0KPg0KPk9uIFR1ZSwgTWF5IDI2 LCAyMDIwIGF0IDEyOjAwIFBNIFNsYXZhIE92c2lpZW5rbyA8bWFpbHRvOnZpYWNoZXNsYXZvQG1l bGxhbm94LmNvbT4gd3JvdGU6DQo+Pj4gSGksIFBhdHJpY2sNCj4+DQo+PiBDb25uZWN0WCBIVyB0 aW1lc3RhbXAgaXMgdGhlIGNhcHR1cmVkIHZhbHV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