Show a cover letter.

GET /api/covers/53213/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 53213,
    "url": "http://patches.dpdk.org/api/covers/53213/?format=api",
    "web_url": "http://patches.dpdk.org/cover/53213/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk"
    },
    "msgid": "<20190502121135.18775-1-barbette@kth.se>",
    "date": "2019-05-02T12:11:32",
    "name": "[v4,0/3] Add rte_eth_read_clock API",
    "submitter": {
        "id": 1155,
        "url": "http://patches.dpdk.org/api/people/1155/?format=api",
        "name": "Tom Barbette",
        "email": "barbette@kth.se"
    },
    "mbox": "http://patches.dpdk.org/cover/53213/mbox/",
    "series": [
        {
            "id": 4541,
            "url": "http://patches.dpdk.org/api/series/4541/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4541",
            "date": "2019-05-02T12:11:32",
            "name": "Add rte_eth_read_clock API",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/4541/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/53213/comments/",
    "headers": {
        "X-Mailer": "git-send-email 2.17.1",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "From": "Tom Barbette <barbette@kth.se>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default;\n\tt=1556799101; bh=hrbvMB6sy2GhFyEJLZG9mmBjBSA81drNtJzcCSORSbM=;\n\th=From:To:Cc:Subject:Date;\n\tb=eC52pVt0hhjI4HpHm67SphfLCAXThk/EejK7j4e0PmY8Jzf2sm7QsrAmQRzMdfuKR\n\tl4d6a8oD0nztoMmcnbSeymz7V7iXCdyb7m74QmIP1Y0i4IDRNAxisLRhv7yKCgDzQx\n\tk44cBq6xWrFP7gRGpOfBd1dqJ8+KakExRUCZksDs=",
        "X-Mailman-Version": "2.1.15",
        "X-KTH-Auth": "barbette [192.16.125.171]",
        "Delivered-To": "patchwork@dpdk.org",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Cc": "bruce.richardson@intel.com, john.mcnamara@intel.com,\n\tThomas Monjalon <thomas@monjalon.net>,\n\tFerruh Yigit <ferruh.yigit@intel.com>,\n\tAndrew Rybchenko <arybchenko@solarflare.com>,\n\tShahaf Shuler <shahafs@mellanox.com>, Yongseok Koh <yskoh@mellanox.com>, \n\tolivier.matz@6wind.com, Tom Barbette <barbette@kth.se>",
        "To": "dev@dpdk.org",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "X-Virus-Scanned": "by amavisd-new at kth.se",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 068C54CAB;\n\tThu,  2 May 2019 14:11:44 +0200 (CEST)",
            "from smtp-4.sys.kth.se (smtp-4.sys.kth.se [130.237.48.193])\n\tby dpdk.org (Postfix) with ESMTP id 48ABE4C95\n\tfor <dev@dpdk.org>; Thu,  2 May 2019 14:11:42 +0200 (CEST)",
            "from smtp-4.sys.kth.se (localhost.localdomain [127.0.0.1])\n\tby smtp-4.sys.kth.se (Postfix) with ESMTP id EBF4767EC;\n\tThu,  2 May 2019 14:11:41 +0200 (CEST)",
            "from smtp-4.sys.kth.se ([127.0.0.1])\n\tby smtp-4.sys.kth.se (smtp-4.sys.kth.se [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith LMTP id 10JAU8A3snCC; Thu,  2 May 2019 14:11:41 +0200 (CEST)",
            "from nslrack11.ssvl.kth.se (nslrack11.ssvl.kth.se [192.16.125.171])\n\tby smtp-4.sys.kth.se (Postfix) with ESMTPSA id CBBD56792;\n\tThu,  2 May 2019 14:11:39 +0200 (CEST)"
        ],
        "Date": "Thu,  2 May 2019 14:11:32 +0200",
        "X-KTH-mail-from": "barbette@kth.se",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH v4 0/3] Add rte_eth_read_clock API",
        "Message-Id": "<20190502121135.18775-1-barbette@kth.se>",
        "Precedence": "list",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-Original-To": "patchwork@dpdk.org"
    },
    "content": "Some NICs allow to timestamp packets, but do not support the full\nPTP synchronization process. Hence, the value set in the mbuf\ntimestamp field is only the raw value of an internal clock.\n\nTo make sense of this value, one at least needs to be able to query\nthe current hardware clock value. This patch series adds a new API to do\nso, rte_eth_read_clock. As with the TSC, from there\na frequency can be derieved by querying multiple time the current value of the\ninternal clock with some known delay between the queries (example\nprovided in the API doc).\n\nThis patch series adds support of read_clock for MLX5.\n\nAn example app is provided in the rxtx_callback application.\nIt has been updated to display, on top of the software latency\nin cycles, the total latency since the packet was received in hardware.\nThe API is used to compute a delta in the Tx callback. The raw amount of\nticks is converted to cycles using a variation of the technique describe above.\n\nAside from offloading timestamping, which relieve the\nsoftware from a few operations, this allows to get much more precision\nwhen studying the source of the latency in a system.\nEg. in our 100G, CX5 setup the rxtx callback application shows\nSW latency is around 74 cycles (TSC is 3.2Ghz), but the latency\nincluding NIC processing, PCIe, and queuing is around 196 cycles.\n\nOne may think at first this API is overlapping with te_eth_timesync_read_time.\nrte_eth_timesync_read_time is clearly identified as part of a set of functions\nto use PTP synchronization.\nThe device raw clock is not \"sync\" in any way. More importantly, the returned\nvalue is not a timeval, but an amount of ticks. We could have a cast-based\nsolution, but on top of being an ugly solution, some people seeing the timeval\ntype of rte_eth_timesync_read_time could use it blindly.\n\nChange in v2:\n  - Rebase on current master\n\nChange in v3:\n  - Address comments from Ferruh Yigit\n\nChanges in v4:\n  - Address comments from Keith Wiles and Andrew Rybchenko\n  - Use \"clock\" as argunment name everywhere.\n  - Expand the API description to make clear that read_clock gives an\n    amount in ticks, and that it has no unit.\n\nTom Barbette (3):\n  rte_ethdev: Add API function to read dev clock\n  mlx5: Implement support for read_clock\n  rxtx_callbacks: Add support for HW timestamp\n\n doc/guides/nics/features.rst                |  1 +\n doc/guides/sample_app_ug/rxtx_callbacks.rst |  9 ++-\n drivers/net/mlx5/mlx5.c                     |  1 +\n drivers/net/mlx5/mlx5.h                     |  1 +\n drivers/net/mlx5/mlx5_ethdev.c              | 30 +++++++\n drivers/net/mlx5/mlx5_glue.c                |  8 ++\n drivers/net/mlx5/mlx5_glue.h                |  2 +\n examples/rxtx_callbacks/Makefile            |  3 +\n examples/rxtx_callbacks/main.c              | 87 ++++++++++++++++++++-\n examples/rxtx_callbacks/meson.build         |  3 +\n lib/librte_ethdev/rte_ethdev.c              | 12 +++\n lib/librte_ethdev/rte_ethdev.h              | 47 +++++++++++\n lib/librte_ethdev/rte_ethdev_core.h         |  6 ++\n lib/librte_ethdev/rte_ethdev_version.map    |  1 +\n lib/librte_mbuf/rte_mbuf.h                  |  2 +\n 15 files changed, 208 insertions(+), 5 deletions(-)"
}