get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 49280,
    "url": "https://patches.dpdk.org/api/patches/49280/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20181227041349.3058-1-gavin.hu@arm.com/",
    "project": {
        "id": 1,
        "url": "https://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",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20181227041349.3058-1-gavin.hu@arm.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20181227041349.3058-1-gavin.hu@arm.com",
    "date": "2018-12-27T04:13:43",
    "name": "[v3,0/6] spinlock optimization and test case enhancements",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1018,
        "url": "https://patches.dpdk.org/api/people/1018/?format=api",
        "name": "Gavin Hu",
        "email": "gavin.hu@arm.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20181227041349.3058-1-gavin.hu@arm.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/49280/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/49280/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 7DD022C6D;\n\tThu, 27 Dec 2018 05:14:13 +0100 (CET)",
            "from foss.arm.com (foss.arm.com [217.140.101.70])\n\tby dpdk.org (Postfix) with ESMTP id 7822A2BDB\n\tfor <dev@dpdk.org>; Thu, 27 Dec 2018 05:14:12 +0100 (CET)",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 83F6FEBD;\n\tWed, 26 Dec 2018 20:14:11 -0800 (PST)",
            "from net-debian.shanghai.arm.com (net-debian.shanghai.arm.com\n\t[10.169.36.53])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\tBD04F3F5AF; Wed, 26 Dec 2018 20:14:09 -0800 (PST)"
        ],
        "From": "Gavin Hu <gavin.hu@arm.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, jerinj@marvell.com, hemant.agrawal@nxp.com,\n\tbruce.richardson@intel.com, chaozhu@linux.vnet.ibm.com,\n\tHonnappa.Nagarahalli@arm.com, stephen@networkplumber.org,\n\tdavid.marchand@redhat.com, nd@arm.com, Gavin Hu <gavin.hu@arm.com>",
        "Date": "Thu, 27 Dec 2018 12:13:43 +0800",
        "Message-Id": "<20181227041349.3058-1-gavin.hu@arm.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[dpdk-dev] [PATCH v3 0/6] spinlock optimization and test case\n\tenhancements",
        "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": "V3:\n1. Implemented the ticket lock to improve the fairness and predictability.\n   The locks are obtained in the order of requested.\n\nV2:\n1. FORCE_INTRINCIS is still an option for ppc/x86, although not is use\n   by default, so don't remove it from generic file.\n2. Fix the clang compiler error on x86 when the above FORCE_INTRINSICS\n   is enabled.\n\nV1:\n1. Remove the 1us delay outside of the locked region to really benchmark\n   the spinlock acquire/release performance, not the delay API.\n2. Use the precise version of getting timestamps for more precise\n   benchmarking results.\n3. Amortize the overhead of getting the timestamp by 10000 loops.\n4. Move the arm specific implementation to arm folder to remove the\n   hardcoded implementation.\n5. Use atomic primitives, which translate to one-way barriers, instead of\n   two-way sync primitives, to optimize for performance.\n\nGavin Hu (5):\n  eal: fix clang compilation error on x86\n  test/spinlock: remove 1us delay for correct benchmarking\n  test/spinlock: get timestamp more precisely\n  test/spinlock: amortize the cost of getting time\n  spinlock: reimplement with atomic one-way barrier builtins\n\nJoyce Kong (1):\n  spinlock: ticket based to improve fairness\n\n .../common/include/arch/ppc_64/rte_spinlock.h      |  5 +++\n .../common/include/arch/x86/rte_spinlock.h         |  6 +++\n lib/librte_eal/common/include/generic/rte_atomic.h |  6 +--\n .../common/include/generic/rte_spinlock.h          | 45 +++++++++++++++-------\n test/test/test_spinlock.c                          | 32 +++++++--------\n 5 files changed, 61 insertions(+), 33 deletions(-)",
    "diff": null,
    "prefixes": [
        "v3",
        "0/6"
    ]
}