get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 45302,
    "url": "https://patches.dpdk.org/api/patches/45302/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1537859945-16759-1-git-send-email-nikhil.rao@intel.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": "<1537859945-16759-1-git-send-email-nikhil.rao@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1537859945-16759-1-git-send-email-nikhil.rao@intel.com",
    "date": "2018-09-25T07:19:04",
    "name": "[v3,1/2] test/event: fix eth Rx adapter autotest for skeleton PMD",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "012fe796b674058f4e05ea58cf0c1aa25dcea878",
    "submitter": {
        "id": 528,
        "url": "https://patches.dpdk.org/api/people/528/?format=api",
        "name": "Rao, Nikhil",
        "email": "nikhil.rao@intel.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/1537859945-16759-1-git-send-email-nikhil.rao@intel.com/mbox/",
    "series": [
        {
            "id": 1483,
            "url": "https://patches.dpdk.org/api/series/1483/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1483",
            "date": "2018-09-25T07:19:04",
            "name": "[v3,1/2] test/event: fix eth Rx adapter autotest for skeleton PMD",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/1483/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/45302/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/45302/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 814B31E34;\n\tTue, 25 Sep 2018 09:21:21 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 4D7731AFF;\n\tTue, 25 Sep 2018 09:21:19 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Sep 2018 00:21:18 -0700",
            "from unknown (HELO localhost.localdomain.localdomain)\n\t([10.224.122.193])\n\tby fmsmga008.fm.intel.com with ESMTP; 25 Sep 2018 00:20:08 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,301,1534834800\"; d=\"scan'208\";a=\"73479914\"",
        "From": "Nikhil Rao <nikhil.rao@intel.com>",
        "To": "jerin.jacob@caviumnetworks.com",
        "Cc": "dev@dpdk.org, Nikhil Rao <nikhil.rao@intel.com>, vipin.varghese@intel.com,\n\tstable@dpdk.org",
        "Date": "Tue, 25 Sep 2018 12:49:04 +0530",
        "Message-Id": "<1537859945-16759-1-git-send-email-nikhil.rao@intel.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1536149012-47081-1-git-send-email-nikhil.rao@intel.com>",
        "References": "<1536149012-47081-1-git-send-email-nikhil.rao@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 1/2] test/event: fix eth Rx adapter autotest\n\tfor skeleton PMD",
        "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": "skeleton PMD does not support\nRTE_EVENT_ETH_RX_ADAPTER_CAP_MULTI_EVENTQ and\nimplicit_release_disable so make the Rx queue_id = -1 and\ninitialize the event port configuration to zero.\n\nFixes: ec36d881f56d (\"eventdev: add implicit release disable capability\")\nFixes: 2a9c83ae3b2e (\"test/eventdev: add multi-ports test\")\nCc: vipin.varghese@intel.com\nCC: stable@dpdk.org\n\nSigned-off-by: Nikhil Rao <nikhil.rao@intel.com>\n---\n test/test/test_event_eth_rx_adapter.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)\n\nv2:\n* include patch to fix Rx adapter intr autotest as it is\n  dependent on the first patch in this series.\n\nv3:\n* use memset to initialize structure in place of assignment.",
    "diff": "diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c\nindex d6d137e..080ff04 100644\n--- a/test/test/test_event_eth_rx_adapter.c\n+++ b/test/test/test_event_eth_rx_adapter.c\n@@ -312,6 +312,8 @@ struct event_eth_rx_adapter_test_params {\n \tstruct rte_event_dev_info dev_info;\n \tstruct rte_event_port_conf rx_p_conf;\n \n+\tmemset(&rx_p_conf, 0, sizeof(rx_p_conf));\n+\n \terr = rte_event_dev_info_get(TEST_DEV_ID, &dev_info);\n \tTEST_ASSERT(err == 0, \"Expected 0 got %d\", err);\n \n@@ -493,7 +495,7 @@ struct event_eth_rx_adapter_test_params {\n \tport_index = 0;\n \tfor (; port_index < rte_eth_dev_count_total(); port_index += 1) {\n \t\terr = rte_event_eth_rx_adapter_queue_add(TEST_INST_ID,\n-\t\t\t\tport_index, 0,\n+\t\t\t\tport_index, -1,\n \t\t\t\t&queue_config);\n \t\tTEST_ASSERT(err == 0, \"Expected 0 got %d\", err);\n \t}\n@@ -502,7 +504,7 @@ struct event_eth_rx_adapter_test_params {\n \tport_index = 0;\n \tfor (; port_index < rte_eth_dev_count_total(); port_index += 1) {\n \t\terr = rte_event_eth_rx_adapter_queue_del(TEST_INST_ID,\n-\t\t\t\tport_index, 0);\n+\t\t\t\tport_index, -1);\n \t\tTEST_ASSERT(err == 0, \"Expected 0 got %d\", err);\n \t}\n \n",
    "prefixes": [
        "v3",
        "1/2"
    ]
}