get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75075,
    "url": "http://patches.dpdk.org/api/patches/75075/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1596138614-17409-25-git-send-email-timothy.mcdaniel@intel.com/",
    "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",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1596138614-17409-25-git-send-email-timothy.mcdaniel@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1596138614-17409-25-git-send-email-timothy.mcdaniel@intel.com",
    "date": "2020-07-30T19:50:11",
    "name": "[24/27] event/dlb: add timeout_ticks, dump, xstats, and selftest",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "74a54c3f68d049cd9063a80742635fbcc9c587b4",
    "submitter": {
        "id": 826,
        "url": "http://patches.dpdk.org/api/people/826/?format=api",
        "name": "Timothy McDaniel",
        "email": "timothy.mcdaniel@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1596138614-17409-25-git-send-email-timothy.mcdaniel@intel.com/mbox/",
    "series": [
        {
            "id": 11425,
            "url": "http://patches.dpdk.org/api/series/11425/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11425",
            "date": "2020-07-30T19:49:47",
            "name": "Add Intel DLM PMD to 20.11",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/11425/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75075/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/75075/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 3E1C9A052B;\n\tThu, 30 Jul 2020 21:57:34 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BC77E1C1D3;\n\tThu, 30 Jul 2020 21:54:05 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by dpdk.org (Postfix) with ESMTP id D10501C0C5\n for <dev@dpdk.org>; Thu, 30 Jul 2020 21:53:23 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 30 Jul 2020 12:53:23 -0700",
            "from txasoft-yocto.an.intel.com ([10.123.72.192])\n by orsmga005.jf.intel.com with ESMTP; 30 Jul 2020 12:53:22 -0700"
        ],
        "IronPort-SDR": [
            "\n G6L0KUumlKFDO0c8Zm6m7G1EI51j+q9LgbjRtgT0H8mTpMTGNxSW3YqeJwsnKX8+JAriq2Emvx\n DYkRGfSVjy/Q==",
            "\n H+NPZbjGU6e/HAITDuxfj+GYGT6K/cGaqQen+tW0KdgGstkqRu6opRESW9oF89xV9Z5/h4do+P\n 1dDeKyUxjwvA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9698\"; a=\"139672352\"",
            "E=Sophos;i=\"5.75,415,1589266800\"; d=\"scan'208\";a=\"139672352\"",
            "E=Sophos;i=\"5.75,415,1589266800\"; d=\"scan'208\";a=\"465378160\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "\"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>",
        "To": "jerinj@marvell.com",
        "Cc": "mattias.ronnblom@ericsson.com, dev@dpdk.org, gage.eads@intel.com,\n harry.van.haaren@intel.com,\n \"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>",
        "Date": "Thu, 30 Jul 2020 14:50:11 -0500",
        "Message-Id": "<1596138614-17409-25-git-send-email-timothy.mcdaniel@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "In-Reply-To": "<1596138614-17409-1-git-send-email-timothy.mcdaniel@intel.com>",
        "References": "<1593232671-5690-0-git-send-email-timothy.mcdaniel@intel.com>\n <1596138614-17409-1-git-send-email-timothy.mcdaniel@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 24/27] event/dlb: add timeout_ticks, dump, xstats,\n\tand selftest",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: \"McDaniel, Timothy\" <timothy.mcdaniel@intel.com>\n\nChange-Id: I763bff70a4da35b898c1f5abfdcc45a7c1dfac08\nSigned-off-by: McDaniel, Timothy <timothy.mcdaniel@intel.com>\n---\n drivers/event/dlb/dlb.c |   20 ++++++++++++++++++++\n 1 file changed, 20 insertions(+)",
    "diff": "diff --git a/drivers/event/dlb/dlb.c b/drivers/event/dlb/dlb.c\nindex 7a78d59..3ece86a 100644\n--- a/drivers/event/dlb/dlb.c\n+++ b/drivers/event/dlb/dlb.c\n@@ -1819,6 +1819,19 @@ int dlb_string_to_int(int *result, const char *str)\n \treturn __dlb_event_enqueue_burst(event_port, events, num, true);\n }\n \n+static int\n+dlb_eventdev_timeout_ticks(struct rte_eventdev *dev, uint64_t ns,\n+\t\t\t   uint64_t *timeout_ticks)\n+{\n+\tRTE_SET_USED(dev);\n+\tuint64_t cycles_per_ns;\n+\n+\tcycles_per_ns = rte_get_timer_hz() / 1E9;\n+\t*timeout_ticks = ns * cycles_per_ns;\n+\n+\treturn 0;\n+}\n+\n /* Note: 1 QM instance per QM device, QM instance/device == event device */\n static int\n dlb_eventdev_configure(const struct rte_eventdev *dev)\n@@ -2890,6 +2903,13 @@ static int dlb_num_dir_queues_setup(struct dlb_eventdev *dlb)\n \t\t.port_unlink      = dlb_eventdev_port_unlink,\n \t\t.port_unlinks_in_progress =\n \t\t\t\t    dlb_eventdev_port_unlinks_in_progress,\n+\t\t.timeout_ticks    = dlb_eventdev_timeout_ticks,\n+\t\t.dump             = dlb_eventdev_dump,\n+\t\t.xstats_get       = dlb_eventdev_xstats_get,\n+\t\t.xstats_get_names = dlb_eventdev_xstats_get_names,\n+\t\t.xstats_get_by_name = dlb_eventdev_xstats_get_by_name,\n+\t\t.xstats_reset\t    = dlb_eventdev_xstats_reset,\n+\t\t.dev_selftest     = test_dlb_eventdev,\n \t};\n \n \t/* Expose PMD's eventdev interface */\n",
    "prefixes": [
        "24/27"
    ]
}