get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99575,
    "url": "http://patches.dpdk.org/api/patches/99575/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210924102942.2878051-9-bruce.richardson@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": "<20210924102942.2878051-9-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210924102942.2878051-9-bruce.richardson@intel.com",
    "date": "2021-09-24T10:29:41",
    "name": "[v6,08/13] app/test: run test suite on skeleton driver",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "d772193212cbc4beea751e795ce823bb32ce9fe0",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210924102942.2878051-9-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 19138,
            "url": "http://patches.dpdk.org/api/series/19138/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19138",
            "date": "2021-09-24T10:29:33",
            "name": "add test suite for DMA drivers",
            "version": 6,
            "mbox": "http://patches.dpdk.org/series/19138/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/99575/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/99575/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id F3C59A0548;\n\tFri, 24 Sep 2021 12:30:41 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id CCE7041320;\n\tFri, 24 Sep 2021 12:30:18 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 7B20C41300\n for <dev@dpdk.org>; Fri, 24 Sep 2021 12:30:16 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Sep 2021 03:30:16 -0700",
            "from silpixa00399126.ir.intel.com ([10.237.223.29])\n by orsmga006.jf.intel.com with ESMTP; 24 Sep 2021 03:30:14 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10116\"; a=\"203541174\"",
            "E=Sophos;i=\"5.85,319,1624345200\"; d=\"scan'208\";a=\"203541174\"",
            "E=Sophos;i=\"5.85,319,1624345200\"; d=\"scan'208\";a=\"436117829\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "conor.walsh@intel.com, kevin.laatz@intel.com, fengchengwen@huawei.com,\n jerinj@marvell.com, Bruce Richardson <bruce.richardson@intel.com>",
        "Date": "Fri, 24 Sep 2021 11:29:41 +0100",
        "Message-Id": "<20210924102942.2878051-9-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210924102942.2878051-1-bruce.richardson@intel.com>",
        "References": "<20210826183301.333442-1-bruce.richardson@intel.com>\n <20210924102942.2878051-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v6 08/13] app/test: run test suite on skeleton\n driver",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "When running the dmadev_autotest, run the suite of copy tests on the\nskeleton driver created for API testing too, rather than just destroying\nthe driver instances once the API tests are complete. This helps to\nsanity check the tests themselves are reasonable.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n app/test/test_dmadev.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test/test_dmadev.c b/app/test/test_dmadev.c\nindex 21600686e8..c26329e63d 100644\n--- a/app/test/test_dmadev.c\n+++ b/app/test/test_dmadev.c\n@@ -255,14 +255,13 @@ test_apis(void)\n \tint id;\n \tint ret;\n \n-\tif (rte_vdev_init(pmd, NULL) < 0)\n-\t\treturn TEST_SKIPPED;\n+\t/* attempt to create skeleton instance - ignore errors due to one being already present */\n+\trte_vdev_init(pmd, NULL);\n \tid = rte_dma_get_dev_id(pmd);\n \tif (id < 0)\n \t\treturn TEST_SKIPPED;\n \tprintf(\"\\n### Test dmadev infrastructure using skeleton driver\\n\");\n \tret = test_dma_api(id);\n-\trte_vdev_uninit(pmd);\n \n \treturn ret;\n }\n",
    "prefixes": [
        "v6",
        "08/13"
    ]
}