get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 48419,
    "url": "http://patches.dpdk.org/api/patches/48419/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1543519131-18910-1-git-send-email-erik.g.carrillo@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": "<1543519131-18910-1-git-send-email-erik.g.carrillo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1543519131-18910-1-git-send-email-erik.g.carrillo@intel.com",
    "date": "2018-11-29T19:18:51",
    "name": "[1/1] app/eventdev: detect deadlock for timer event producer",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2106ed6bc11c0551926c6cc17f5d39e9aefdd594",
    "submitter": {
        "id": 762,
        "url": "http://patches.dpdk.org/api/people/762/?format=api",
        "name": "Carrillo, Erik G",
        "email": "erik.g.carrillo@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/1543519131-18910-1-git-send-email-erik.g.carrillo@intel.com/mbox/",
    "series": [
        {
            "id": 2619,
            "url": "http://patches.dpdk.org/api/series/2619/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=2619",
            "date": "2018-11-29T19:18:51",
            "name": "[1/1] app/eventdev: detect deadlock for timer event producer",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/2619/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/48419/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/48419/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 9FC6F1B4F8;\n\tThu, 29 Nov 2018 20:18:43 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id BAD551B463\n\tfor <dev@dpdk.org>; Thu, 29 Nov 2018 20:18:42 +0100 (CET)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Nov 2018 11:18:41 -0800",
            "from wcpqa1.an.intel.com ([10.123.72.207])\n\tby fmsmga007.fm.intel.com with ESMTP; 29 Nov 2018 11:18:41 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.56,295,1539673200\"; d=\"scan'208\";a=\"98028508\"",
        "From": "Erik Gabriel Carrillo <erik.g.carrillo@intel.com>",
        "To": "pbhagavatula@caviumnetworks.com",
        "Cc": "jerin.jacob@caviumnetworks.com,\n\tdev@dpdk.org",
        "Date": "Thu, 29 Nov 2018 13:18:51 -0600",
        "Message-Id": "<1543519131-18910-1-git-send-email-erik.g.carrillo@intel.com>",
        "X-Mailer": "git-send-email 1.7.10",
        "Subject": "[dpdk-dev] [PATCH 1/1] app/eventdev: detect deadlock for timer\n\tevent producer",
        "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": "If timer events get dropped for some reason, the thread that launched\nproducer and worker cores will never exit, because the deadlock check\ndoesn't currently apply to the event timer adapter case. This commit\nfixes this.\n\nSigned-off-by: Erik Gabriel Carrillo <erik.g.carrillo@intel.com>\n---\n app/test-eventdev/test_perf_common.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/app/test-eventdev/test_perf_common.c b/app/test-eventdev/test_perf_common.c\nindex 8618775..f99a6a6 100644\n--- a/app/test-eventdev/test_perf_common.c\n+++ b/app/test-eventdev/test_perf_common.c\n@@ -327,7 +327,8 @@ perf_launch_lcores(struct evt_test *test, struct evt_options *opt,\n \t\t}\n \n \t\tif (new_cycles - dead_lock_cycles > dead_lock_sample &&\n-\t\t\t\topt->prod_type == EVT_PROD_TYPE_SYNT) {\n+\t\t    (opt->prod_type == EVT_PROD_TYPE_SYNT ||\n+\t\t     opt->prod_type == EVT_PROD_TYPE_EVENT_TIMER_ADPTR)) {\n \t\t\tremaining = t->outstand_pkts - processed_pkts(t);\n \t\t\tif (dead_lock_remaining == remaining) {\n \t\t\t\trte_event_dev_dump(opt->dev_id, stdout);\n",
    "prefixes": [
        "1/1"
    ]
}