get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84382,
    "url": "https://patches.dpdk.org/api/patches/84382/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201119122336.5079-2-pbhagavatula@marvell.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": "<20201119122336.5079-2-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201119122336.5079-2-pbhagavatula@marvell.com",
    "date": "2020-11-19T12:23:36",
    "name": "[2/2] event/octeontx: remove selftest from dev args",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4b78c05a3c85ed1b940df1fdee5bd7daaa04968b",
    "submitter": {
        "id": 1183,
        "url": "https://patches.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201119122336.5079-2-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 13980,
            "url": "https://patches.dpdk.org/api/series/13980/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13980",
            "date": "2020-11-19T12:23:35",
            "name": "[1/2] event/octeontx2: remove selftest from dev args",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/13980/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/84382/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/84382/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 341D4A04DD;\n\tThu, 19 Nov 2020 13:24:03 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id D936CC872;\n\tThu, 19 Nov 2020 13:23:49 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id BF0BAC86E\n for <dev@dpdk.org>; Thu, 19 Nov 2020 13:23:48 +0100 (CET)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 0AJCBj0L000329 for <dev@dpdk.org>; Thu, 19 Nov 2020 04:23:47 -0800",
            "from sc-exch03.marvell.com ([199.233.58.183])\n by mx0b-0016f401.pphosted.com with ESMTP id 34w7ncudtv-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 19 Nov 2020 04:23:47 -0800",
            "from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com\n (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 19 Nov\n 2020 04:23:45 -0800",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH04.marvell.com\n (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 19 Nov 2020 04:23:45 -0800",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Thu, 19 Nov 2020 04:23:45 -0800",
            "from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.170.178])\n by maili.marvell.com (Postfix) with ESMTP id AC6AE3F7040;\n Thu, 19 Nov 2020 04:23:43 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=zr9OZmpHayOQVQhJ7JknFQ4rOoN8LzmvVh5I6EnEVGI=;\n b=KnfTT/Gf92BHMc/D0YIja4wQn3GrWedlD0VDAzzZQfy+OA65chrGOy5S/XxF8l2KFfAS\n IZTmCV4MoVgklFDdKmwRnoUSQ47T6LEiBasc8pNV2Y7RbgdmmvsRZPOv+YH3kTny53xO\n aYS/QgRzqM02h43YTtWzo4ws2WBRyj+svXIZ45Bni/jXpT8GMe/eH+hSos4dxaVwjDhY\n vnvS+2jtFnpnC37HQnAXl+F4cHfsM6M0UmnHH/5cDBH3m7n3ZVBlvWsp8KfvXjIowWRY\n XH/bx1g3uSmdGPW57lpKPOPYd1uVEIA6dEahJxKXus46gUxXnBO5JXEv8EVQo/7QOVwQ 7Q==",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<jerinj@marvell.com>",
        "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>",
        "Date": "Thu, 19 Nov 2020 17:53:36 +0530",
        "Message-ID": "<20201119122336.5079-2-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20201119122336.5079-1-pbhagavatula@marvell.com>",
        "References": "<20201119122336.5079-1-pbhagavatula@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737\n definitions=2020-11-19_08:2020-11-19,\n 2020-11-19 signatures=0",
        "Subject": "[dpdk-dev] [PATCH 2/2] event/octeontx: remove selftest from dev args",
        "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: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nSince selftest now depends on dynamic mbuf fields it is not\nfeasible to run selftest on device probe.\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n drivers/event/octeontx/ssovf_evdev.c | 22 ++++------------------\n drivers/event/octeontx/ssovf_evdev.h |  2 --\n 2 files changed, 4 insertions(+), 20 deletions(-)",
    "diff": "diff --git a/drivers/event/octeontx/ssovf_evdev.c b/drivers/event/octeontx/ssovf_evdev.c\nindex 6f242aac1..e60a7dc69 100644\n--- a/drivers/event/octeontx/ssovf_evdev.c\n+++ b/drivers/event/octeontx/ssovf_evdev.c\n@@ -710,8 +710,7 @@ ssovf_close(struct rte_eventdev *dev)\n }\n \n static int\n-ssovf_selftest(const char *key __rte_unused, const char *value,\n-\t\tvoid *opaque)\n+ssovf_parsekv(const char *key __rte_unused, const char *value, void *opaque)\n {\n \tint *flag = opaque;\n \t*flag = !!atoi(value);\n@@ -775,10 +774,8 @@ ssovf_vdev_probe(struct rte_vdev_device *vdev)\n \tconst char *name;\n \tconst char *params;\n \tint ret;\n-\tint selftest = 0;\n \n \tstatic const char *const args[] = {\n-\t\tSSOVF_SELFTEST_ARG,\n \t\tTIMVF_ENABLE_STATS_ARG,\n \t\tNULL\n \t};\n@@ -799,18 +796,9 @@ ssovf_vdev_probe(struct rte_vdev_device *vdev)\n \t\t\t\t\"Ignoring unsupported params supplied '%s'\",\n \t\t\t\tname);\n \t\t} else {\n-\t\t\tint ret = rte_kvargs_process(kvlist,\n-\t\t\t\t\tSSOVF_SELFTEST_ARG,\n-\t\t\t\t\tssovf_selftest, &selftest);\n-\t\t\tif (ret != 0) {\n-\t\t\t\tssovf_log_err(\"%s: Error in selftest\", name);\n-\t\t\t\trte_kvargs_free(kvlist);\n-\t\t\t\treturn ret;\n-\t\t\t}\n-\n-\t\t\tret = rte_kvargs_process(kvlist,\n-\t\t\t\t\tTIMVF_ENABLE_STATS_ARG,\n-\t\t\t\t\tssovf_selftest, &timvf_enable_stats);\n+\t\t\tret = rte_kvargs_process(kvlist, TIMVF_ENABLE_STATS_ARG,\n+\t\t\t\t\t\t ssovf_parsekv,\n+\t\t\t\t\t\t &timvf_enable_stats);\n \t\t\tif (ret != 0) {\n \t\t\t\tssovf_log_err(\"%s: Error in timvf stats\", name);\n \t\t\t\trte_kvargs_free(kvlist);\n@@ -877,8 +865,6 @@ ssovf_vdev_probe(struct rte_vdev_device *vdev)\n \t\t\tedev->max_event_ports);\n \n \tssovf_init_once = 1;\n-\tif (selftest)\n-\t\ttest_eventdev_octeontx();\n \treturn 0;\n \n error:\ndiff --git a/drivers/event/octeontx/ssovf_evdev.h b/drivers/event/octeontx/ssovf_evdev.h\nindex 90d760a54..10163151c 100644\n--- a/drivers/event/octeontx/ssovf_evdev.h\n+++ b/drivers/event/octeontx/ssovf_evdev.h\n@@ -86,8 +86,6 @@\n #define SSO_GRP_GET_PRIORITY              0x7\n #define SSO_GRP_SET_PRIORITY              0x8\n \n-#define SSOVF_SELFTEST_ARG               (\"selftest\")\n-\n /*\n  * In Cavium OCTEON TX SoC, all accesses to the device registers are\n  * implictly strongly ordered. So, The relaxed version of IO operation is\n",
    "prefixes": [
        "2/2"
    ]
}