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 7D752A04A4; Tue, 26 May 2020 18:00:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B92901D675; Tue, 26 May 2020 18:00:04 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70053.outbound.protection.outlook.com [40.107.7.53]) by dpdk.org (Postfix) with ESMTP id 0D58F293C for ; Tue, 26 May 2020 18:00:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hyh7Trv4UWyYEAehor5AiwDZF0+N5H/cxvBWFCpyVYlyp92abnBd+A+5amlt5BEukl3B8jknm2xEJW8O5zxM3O2YpEA3giuHxZTFmGlrsCpcz6hREDcK1fV8m9ojeV+1sVVEpBAI69Uvu8Ze7h2hyGaWsPcWbiDupiTUksA29YDtIRhSvAMgaQDDiQuBC6fisyKHPx+Hk3A0oMYQHr4ae0YvEJwAAOHO8oDZ0AcrDtwJbOOLW3k04VAhJqbRN5jqfl0M8BuRbBCsLMWGi+0Dr6y5See7QZe9J+UYrboFgb4kHEPhslVU95j/hAdXurxxTbARRNhpAi09rNlJeBxhpQ== 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=OO0tERWn+DFMDbmjm5/Mo7SaDfXlKeBdEPFwJoGNlIA=; b=SUuh5dZHBEPBTkXRsgZaV0fyrA66aoPg/FGnBkQmxVNg5/tZg6bKTKvavGh+ODaGg2/Utq4zCkiJjW7lDnGlAjTq+3cZdgnmjEUCQUM5AwImvZRqdHIqAxsbsLTSeiycpdcgKQrWp/tRIPMIZYfZSDN6Vb7COc92hJM3zwG5KLV+yEZjIFEvn1sMBfvZjq/8vCp6TL7ApH7W0F7irdQZGWTmgX2kTTRq4qHJrmkIEd8Ffowje1GOICCLzwRZCAZHlM5D7y6iAxXc1/gzhLMaPvTmSHopyM7Cs/UPZpr4YIiXU6t7E8HzZ4PVCHc5/IIPMStnFQg3yNAXKXmpLmkF2A== 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=OO0tERWn+DFMDbmjm5/Mo7SaDfXlKeBdEPFwJoGNlIA=; b=Gg9efdcfmaKo7JJO2CHIp7/aiIir1SATIxwFJzmV8FdHpfdjTFdZStHsImHc22ZUziMDkd5kmad426jB1izsB0dOrr4xGUw6jHSg4jv5togF6OYzobb1VyBc7D/F/eQ6l6hnDOrHA57xU1ZJxg08cDF8BveBHrznsBAuyTaW3oc= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (2603:10a6:205:8::26) by AM4PR05MB3171.eurprd05.prod.outlook.com (2603:10a6:205:9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Tue, 26 May 2020 16:00:01 +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.3021.029; Tue, 26 May 2020 16:00:01 +0000 From: Slava Ovsiienko To: PATRICK KEROULAS , Thomas Monjalon 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: AQHWLgozfdl51DIx3keQkurxVj3xYaiyrl8AgABJhwCAAAOZgIABehEAgAYYMNA= Date: Tue, 26 May 2020 16:00:01 +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: 5e0e14b9-6154-4a04-0f81-08d8018dd8f5 x-ms-traffictypediagnostic: AM4PR05MB3171: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 041517DFAB x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 05oHbmTL3ZQDQJ+z+3AavOxpHbwtdxrH0/3s7pf26H9KmzExlijcQc3iD0hScVmQo0qk2ixyxhz5/9G8wlo1gH9iqdoLAfpQDRe97HtDCmj66GnY1S7BpvcOII4thsio3CtRIgZTwPPI+n8VPb0NXVnaJEWqHLVvQ+Hn4h4JBOAtLtDzY8gOaT3HGWfj5m322ZGRm/yUGV2sbf1Mah/CJse41ptdWROOZt8f10vATFIVWq0AmZRzdLnB6SfIwiJQ8ZK37mMV+AMDhC6IZl3oUoJdKwCAbasflhp1HCGYSx22bshDaPhPE/bQDhN7Rqfe0Gr0z3FIu7QtYVYzWgV7viXJuob2jkCsFWncHxc3gddC9eRCJP6hnbc9A9iMptSdAyvLu4tXgSH9h33nNjwtNw== 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)(366004)(66476007)(7696005)(64756008)(66556008)(76116006)(966005)(66446008)(66946007)(8676002)(52536014)(8936002)(83080400001)(498600001)(9686003)(45080400002)(186003)(53546011)(86362001)(5660300002)(55016002)(6506007)(26005)(4326008)(110136005)(33656002)(54906003)(2906002)(107886003)(71200400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: wmDcrjkn7PkdmD6XQ7IuONv+M3weEZJxZsBGRbg0S0k6oDK0+1Dqq0ZR5ykR8a4blGq0wYiOfTIrM19KqfKKaXppcz0oeBCyC1shSjRycla8LvHCUMtKIvnK75TfgSwLWBTV3gma+j4ABgQn+hUXZKqFSNIXMOl+ZoIQRd6FgnjIKOe96g87HgBqLEenAwlUu7NxoV6R684FQN72eXSDKDTgprIEj83l7PZGqX+nWY5sNP2R4XG5nCPAh6DBt/ovVuTq6pvVeV0IhErr8ttik8+Y/I2H+Qg/4QRrpbTWcgOi5fAzlVjmg5LZGB4Eq+ZKJeE1xTgkSuaRuozcLnE7oyDeKoMI3xvwk3yuPmgEBAZ9cTyddwMKz8dFm0wxnnIN1fsKFQp5cChgcJ1aEoDBJu8JvE1U/sCaj6DQe5KnpHozDM9Gx5eZNxP43yjdCwuGQFwaCI9lzWCKyxFaz5Bl/VR7TXYSJKwZxnZf3ZkP++A= 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: 5e0e14b9-6154-4a04-0f81-08d8018dd8f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 May 2020 16:00:01.3011 (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: TBeQ7GCWK7oQl7gup1GDQlKmK4EbOM+Dqaja7kz9SFaP7/qw5rEscldru8XMxjJJiN3Gunk96gxlqemASWE0oFiT8Mryv+ea7POFbFs4+Ho= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR05MB3171 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" SGksIFBhdHJpY2sNCg0KQ29ubmVjdFggSFcgdGltZXN0YW1wIGlzIHRoZSBjYXB0dXJlZCB2YWx1 ZSBvZiBpbnRlcm5hbCA2NC1iaXQgY291bnRlciBydW5uaW5nIGF0IHRoZSBmcmVxdWVuY3ksDQpy ZXBvcnRlZCBpbiB0aGUgZGV2aWNlX2ZyZXF1ZW5jeV9raHogZmllbGQgb2Ygc3RydWN0IG1seDVf aWZjX2NtZF9oY2FfY2FwX2JpdHN7fS4NClRoaXMgc3RydWN0dXJlIGlzIHF1ZXJpZWQgaW4gbWx4 NV9kZXZ4X2NtZF9xdWVyeV9oY2FfYXR0cigpIHJvdXRpbmUuDQpTbywgd2l0aCBrbm93biBmcmVx dWVuY3kgaXQgaXMgcG9zc2libGUgdG8gcmVjYWxjdWxhdGUgdGltZXN0YW1wIHRpY2tzIHRvIGRl c2lyZWQgdW5pdHMuDQoNCldpdGggYmVzdCByZWdhcmRzLCBTbGF2YQ0KDQo+IC0tLS0tT3JpZ2lu YWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldiA8ZGV2LWJvdW5jZXNAZHBkay5vcmc+IE9uIEJl aGFsZiBPZiBQQVRSSUNLIEtFUk9VTEFTDQo+IFNlbnQ6IEZyaWRheSwgTWF5IDIyLCAyMDIwIDIx OjQzDQo+IFRvOiBUaG9tYXMgTW9uamFsb24gPHRob21hc0Btb25qYWxvbi5uZXQ+DQo+IENjOiBk ZXZAZHBkay5vcmc7IFZpdmllbiBEaWRlbG90IDx2aXZpZW4u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