Show a cover letter.

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

{
    "id": 53056,
    "url": "http://patches.dpdk.org/api/covers/53056/?format=api",
    "web_url": "http://patches.dpdk.org/cover/53056/",
    "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": "<20190424173424.34628-1-barbette@kth.se>",
    "date": "2019-04-24T17:34:21",
    "name": "[v3,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/53056/mbox/",
    "series": [
        {
            "id": 4453,
            "url": "http://patches.dpdk.org/api/series/4453/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4453",
            "date": "2019-04-24T17:34:21",
            "name": "Add rte_eth_read_clock API",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/4453/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/covers/53056/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=1556127311; bh=DA6EwbZVP6siEb3E9AdSyKcPG5E8jMSfKI5+6rPMCFc=;\n\th=From:To:Cc:Subject:Date;\n\tb=Ycy9RLa40GbRSUG8S0rcVUH+fZxuCaSVobwDyiEjgL5CwJ0nGdO4Hhc4cwkQHmF85\n\tAKPCBD/CsFDvqX/OgT5kJHS//zG1B6BIDJLwrqYwS8sxUFlmchIvetH3JbayyZ9MG2\n\t2QUTD8U31DC/INGH+7Dj8qaQf17Mnx6AZad0HN+8=",
        "X-Mailman-Version": "2.1.15",
        "X-KTH-Auth": "barbette [192.16.125.174]",
        "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 6D39B1B53F;\n\tWed, 24 Apr 2019 19:35:13 +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 A8B2D1B4FC\n\tfor <dev@dpdk.org>; Wed, 24 Apr 2019 19:35:12 +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 50D5F66B8;\n\tWed, 24 Apr 2019 19:35:12 +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 YrBZxPGK8wG3; Wed, 24 Apr 2019 19:35:11 +0200 (CEST)",
            "from nslrack14.ssvl.kth.se (nslrack14.ssvl.kth.se [192.16.125.174])\n\tby smtp-4.sys.kth.se (Postfix) with ESMTPSA id A46ED5D8C;\n\tWed, 24 Apr 2019 19:35:10 +0200 (CEST)"
        ],
        "Date": "Wed, 24 Apr 2019 17:34:21 +0000",
        "X-KTH-mail-from": "barbette@kth.se",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH v3 0/3] Add rte_eth_read_clock API",
        "Message-Id": "<20190424173424.34628-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\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              | 13 +++\n lib/librte_ethdev/rte_ethdev.h              | 45 +++++++++++\n lib/librte_ethdev/rte_ethdev_core.h         |  6 ++\n lib/librte_ethdev/rte_ethdev_version.map    |  2 +\n lib/librte_mbuf/rte_mbuf.h                  |  2 +\n 15 files changed, 208 insertions(+), 5 deletions(-)"
}