get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/48366/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 48366,
    "url": "http://patchwork.dpdk.org/api/patches/48366/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1543398732-79439-1-git-send-email-barbette@kth.se/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1543398732-79439-1-git-send-email-barbette@kth.se>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1543398732-79439-1-git-send-email-barbette@kth.se",
    "date": "2018-11-28T09:52:09",
    "name": "[RFC,0/3] Add rte_eth_read_clock API",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1155,
        "url": "http://patchwork.dpdk.org/api/people/1155/?format=api",
        "name": "Tom Barbette",
        "email": "barbette@kth.se"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1543398732-79439-1-git-send-email-barbette@kth.se/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/48366/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/48366/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B03511B3C0;\n\tWed, 28 Nov 2018 10:54:22 +0100 (CET)",
            "from smtp-3.sys.kth.se (smtp-3.sys.kth.se [130.237.48.192])\n\tby dpdk.org (Postfix) with ESMTP id 2B1A91B395\n\tfor <dev@dpdk.org>; Wed, 28 Nov 2018 10:54:21 +0100 (CET)",
            "from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1])\n\tby smtp-3.sys.kth.se (Postfix) with ESMTP id BD2F056A3;\n\tWed, 28 Nov 2018 10:54:20 +0100 (CET)",
            "from smtp-3.sys.kth.se ([127.0.0.1])\n\tby smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new,\n\tport 10024)\n\twith LMTP id 8LpSGAAYHm2x; Wed, 28 Nov 2018 10:54:20 +0100 (CET)",
            "from nslrack05.ssvl.kth.se (nslrack05.ssvl.kth.se [192.16.125.165])\n\tby smtp-3.sys.kth.se (Postfix) with ESMTPSA id 89C285710;\n\tWed, 28 Nov 2018 10:54:15 +0100 (CET)"
        ],
        "X-Virus-Scanned": "by amavisd-new at kth.se",
        "X-KTH-Auth": "barbette [192.16.125.165]",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default;\n\tt=1543398860; bh=W7JR93lXEGd5H8xnAio6bViclTs0ZOeKBhKfYOq2Gvw=;\n\th=From:To:Cc:Subject:Date;\n\tb=V+updYI6trMAjdCtHeAS3p6gdbIdA/iz7ZnFJ1IGBCZIKj2q+ubzO2gz+FyY35AdO\n\t+dQsJNCWfQCci/gODmFew3fkRewo8IjJjUlarDxdmLjCG8zv70PxClYPUZVZE+mx5P\n\t4XYHxyxVbCg8kNogGlt+yEqekTpF6tlDymm94jJM=",
        "X-KTH-mail-from": "barbette@kth.se",
        "From": "Tom Barbette <barbette@kth.se>",
        "To": "dev@dpdk.org",
        "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\tTom Barbette <barbette@kth.se>",
        "Date": "Wed, 28 Nov 2018 10:52:09 +0100",
        "Message-Id": "<1543398732-79439-1-git-send-email-barbette@kth.se>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [RFC PATCH 0/3] Add rte_eth_read_clock API",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Some NICs allows 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. 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.\n\nThis RFC patch series adds support for MLX5.\n\nAn example 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 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\nThe RFC lacks the documentation update for the sample application. I wanted\nfurther validation before doing so. I'm not sure if it's fine to\nupdate an example to show a \"double feature\". At the same time a full app for\nthis would be overkill, and the information nicely complements the one\nin rxtx_callback.\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 drivers/net/mlx5/mlx5.c                  |  1 +\n drivers/net/mlx5/mlx5.h                  |  1 +\n drivers/net/mlx5/mlx5_ethdev.c           | 31 +++++++++\n drivers/net/mlx5/mlx5_glue.c             |  8 +++\n drivers/net/mlx5/mlx5_glue.h             |  2 +\n examples/rxtx_callbacks/Makefile         |  2 +\n examples/rxtx_callbacks/main.c           | 87 ++++++++++++++++++++++--\n examples/rxtx_callbacks/meson.build      |  1 +\n lib/librte_ethdev/rte_ethdev.c           | 13 ++++\n lib/librte_ethdev/rte_ethdev.h           | 23 +++++++\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 14 files changed, 175 insertions(+), 4 deletions(-)",
    "diff": null,
    "prefixes": [
        "RFC",
        "0/3"
    ]
}