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 0E15BA0512; Tue, 2 Jun 2020 21:18:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 44D251BF26; Tue, 2 Jun 2020 21:18:26 +0200 (CEST) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) by dpdk.org (Postfix) with ESMTP id F20DE1BEE7 for ; Tue, 2 Jun 2020 21:18:24 +0200 (CEST) Received: by mail-ot1-f43.google.com with SMTP id g5so11320037otg.6 for ; Tue, 02 Jun 2020 12:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=radio-canada-ca.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MFg/Z9jzSPjkOeBqnb2MaCCxE3ZCAV1Oy01wNRPQ94s=; b=p+gkL4pDRj3zWPdbBivjM8cUzfGJ/xpMNuhY1AXgPoEWaBCE4PcqaYwSLw90Vi98P3 RL/N56CRZHb3ztfoXbXZSOCZQnRJuWRmz0dntSCTPKdAG4oRaseKoSVT/w+Dz2ytnNwl opvJgU7EFGI6OoT3jkcIRTClS7HMDPOlLpJZxFWyZeJ+10iAgV27is8JM7g7pB1WC3pr ml8LvUODv6by2dT1bKGFwQTXFiO6MfwQYt4x+6iZAJmJ/GEwkMA/MOu+6Y5D90phORy+ 5sPT6glnJ7PkMazZp71gQd//q8cPg7GLl/GbxHUaK7juKrRUu8zKSui9TRg7GTyV5UbU K7uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MFg/Z9jzSPjkOeBqnb2MaCCxE3ZCAV1Oy01wNRPQ94s=; b=XN3AejUoDP04zS93pu+cVzTtTBq/S8JR9aQp/rPiqo2gFgP5+MWQHiTADBqLXyr6yI 43k5/Z/IHmvl3Zqv5QnT8LikBRfLZjZE9h2qm/J+aQPFl7zSczhFKtgrtYmzu36bCyNg M9vm8Z1g3SZ5DwcS11BYKixwcz/jrhu+Ys5GSH0/JaLTkznEVpybiE9MeEBDUnF8OlBf FtK2KuNHO7mKaRkycbD1HQnQHITziKVFTd/hC0VfTsxorEoBHdd49zQfDheLCPOQ+iyO e18sDlddEgmIG1eEBfbwTWL2iAr0j7cn6C/lGNd2HvWcR7d3S/bE7QbEbykenO0pzcwq R3Mg== X-Gm-Message-State: AOAM531UXlikM1OXZbQUXt0rut2RlSOSlQykG4pzmxse2MfXnMFP+vzL yhtNWcSfPRb1bxQa8f8mGKiAojUhi1vqVlj8Ij0Awg== X-Google-Smtp-Source: ABdhPJwjqeDQuGMcObZ23OYk2Wpw+Y6g0GB3jbFFI/Pyl2tOUnmeN5GrfxgljE/ng3VyMv9ww5GMuYhkZUvoLKr7CWk= X-Received: by 2002:a9d:40c:: with SMTP id 12mr525469otc.319.1591125503369; Tue, 02 Jun 2020 12:18:23 -0700 (PDT) MIME-Version: 1.0 References: <3986292.sUUuQTochr@thomas> <2766519.SlWGiteSXv@thomas> In-Reply-To: From: PATRICK KEROULAS Date: Tue, 2 Jun 2020 15:18:11 -0400 Message-ID: To: Slava Ovsiienko Cc: "dev@dpdk.org" , Vivien Didelot , Shahaf Shuler , Raslan Darawsheh , Matan Azrad Content-Type: text/plain; charset="UTF-8" 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" On Tue, May 26, 2020 at 12:00 PM Slava Ovsiienko wrote: > ConnectX HW timestamp is the captured value of internal 64-bit counter running at the frequency, > reported in the device_frequency_khz field of struct mlx5_ifc_cmd_hca_cap_bits{}. > This structure is queried in mlx5_devx_cmd_query_hca_attr() routine. I can't query this because "DevX is NOT supported". As a matter of fact, mlx5dv_open_device() returns NULL. Not sure if this limitation comes from HW/firmware config or capability. * rdma-code, libibverbs-dev: 28.0 * NIC Part Number: MCX516A-CDA_Ax * ConnectX-5 Ex EN * FW: 16.25.1020