get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 22930,
    "url": "http://patches.dpdk.org/api/patches/22930/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1490902250-32164-3-git-send-email-harry.van.haaren@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": "<1490902250-32164-3-git-send-email-harry.van.haaren@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1490902250-32164-3-git-send-email-harry.van.haaren@intel.com",
    "date": "2017-03-30T19:30:30",
    "name": "[dpdk-dev,v7,02/22] test/eventdev: pass timeout ticks unsupported",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3accb4fc286154ba033cca21815dd3d5ac2c213b",
    "submitter": {
        "id": 317,
        "url": "http://patches.dpdk.org/api/people/317/?format=api",
        "name": "Van Haaren, Harry",
        "email": "harry.van.haaren@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/1490902250-32164-3-git-send-email-harry.van.haaren@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/22930/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/22930/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 5E3FF316B;\n\tThu, 30 Mar 2017 21:31:20 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id BA7E7282\n\tfor <dev@dpdk.org>; Thu, 30 Mar 2017 21:31:05 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby orsmga105.jf.intel.com with ESMTP; 30 Mar 2017 12:31:05 -0700",
            "from silpixa00398672.ir.intel.com ([10.237.223.128])\n\tby fmsmga002.fm.intel.com with ESMTP; 30 Mar 2017 12:31:04 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.36,248,1486454400\"; d=\"scan'208\";\n\ta=\"1148967604\"",
        "From": "Harry van Haaren <harry.van.haaren@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "jerin.jacob@caviumnetworks.com,\n\tHarry van Haaren <harry.van.haaren@intel.com>",
        "Date": "Thu, 30 Mar 2017 20:30:30 +0100",
        "Message-Id": "<1490902250-32164-3-git-send-email-harry.van.haaren@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1490902250-32164-1-git-send-email-harry.van.haaren@intel.com>",
        "References": "<1490829963-106807-1-git-send-email-harry.van.haaren@intel.com>\n\t<1490902250-32164-1-git-send-email-harry.van.haaren@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v7 02/22] test/eventdev: pass timeout ticks\n\tunsupported",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This commit reworks the return value handling of the\ntimeout ticks test. This feature is not mandatory for\na pmd, the eventdev layer returns -ENOTSUP if the PMD\ndoesn't implement the function.\n\nThe test is modified to check if the return value is\n-ENOTSUP, and return -ENOTSUP to the test framework,\nwhich can handle \"unsupported\" tests since patch[1].\n\nAs such, this test will function correctly if the\npatchset linked below is applied, it fails if the\npatch is not applied and the PMD doesn't the timeout\nticks function.\n\nNote it does not depend (as a compile time dependency)\non the patchset linked below.\n\nSigned-off-by: Harry van Haaren <harry.van.haaren@intel.com>\nAcked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>\n\n[1] http://dpdk.org/dev/patchwork/patch/21979/\n\n---\n\nv6:\n- Fix return value to \"return ret\" instead of -ENOTSUP (Jerin)\n---\n test/test/test_eventdev.c | 5 +++--\n 1 file changed, 3 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/test/test/test_eventdev.c b/test/test/test_eventdev.c\nindex 0f1deb6..b568470 100644\n--- a/test/test/test_eventdev.c\n+++ b/test/test/test_eventdev.c\n@@ -519,9 +519,10 @@ test_eventdev_timeout_ticks(void)\n \tuint64_t timeout_ticks;\n \n \tret = rte_event_dequeue_timeout_ticks(TEST_DEV_ID, 100, &timeout_ticks);\n-\tTEST_ASSERT_SUCCESS(ret, \"Fail to get timeout_ticks\");\n+\tif (ret != -ENOTSUP)\n+\t\tTEST_ASSERT_SUCCESS(ret, \"Fail to get timeout_ticks\");\n \n-\treturn TEST_SUCCESS;\n+\treturn ret;\n }\n \n \n",
    "prefixes": [
        "dpdk-dev",
        "v7",
        "02/22"
    ]
}