get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 16257,
    "url": "http://patches.dpdk.org/api/patches/16257/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20160929205639.1175-1-johndale@cisco.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": "<20160929205639.1175-1-johndale@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20160929205639.1175-1-johndale@cisco.com",
    "date": "2016-09-29T20:56:36",
    "name": "[dpdk-dev,1/4] net/enic: fix fdir usage with scattered Rx",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "f7d5456aabe9b6c3085e9cad55891a0f625a2a74",
    "submitter": {
        "id": 359,
        "url": "http://patches.dpdk.org/api/people/359/?format=api",
        "name": "John Daley (johndale)",
        "email": "johndale@cisco.com"
    },
    "delegate": {
        "id": 10,
        "url": "http://patches.dpdk.org/api/users/10/?format=api",
        "username": "bruce",
        "first_name": "Bruce",
        "last_name": "Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20160929205639.1175-1-johndale@cisco.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/16257/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/16257/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 66E2229CD;\n\tThu, 29 Sep 2016 22:57:00 +0200 (CEST)",
            "from rcdn-iport-1.cisco.com (rcdn-iport-1.cisco.com [173.37.86.72])\n\tby dpdk.org (Postfix) with ESMTP id 1E765298F\n\tfor <dev@dpdk.org>; Thu, 29 Sep 2016 22:56:59 +0200 (CEST)",
            "from rcdn-core-2.cisco.com ([173.37.93.153])\n\tby rcdn-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Sep 2016 20:56:58 +0000",
            "from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48])\n\tby rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u8TKuwZI008764;\n\tThu, 29 Sep 2016 20:56:58 GMT",
            "by cisco.com (Postfix, from userid 392789)\n\tid 2A5313FAAE0E; Thu, 29 Sep 2016 13:56:58 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n\td=cisco.com; i=@cisco.com; l=895; q=dns/txt; s=iport;\n\tt=1475182619; x=1476392219;\n\th=from:to:cc:subject:date:message-id;\n\tbh=5U/T3AcmJSDD8x1DJmQSkHnXmXKiKKBP3sX/dVnTwOQ=;\n\tb=a3Mqv6FNwd941gzDD+/cffdi8fMEcIYzfCaaPbmJ3mWYl9JUe59A+KoX\n\t0y67PwN2cJ48stI2k7VDYqgsbP7sncfjaubqzW5gU2FuK3j6Hq/AShcpk\n\tlDioU7QXKEDS3eB1O0klvfLzNrXpVMIk3lwMGAgdNtsNgJ1Co4IA/d/yX 8=;",
        "X-IronPort-AV": "E=Sophos;i=\"5.31,417,1473120000\"; d=\"scan'208\";a=\"158183689\"",
        "From": "John Daley <johndale@cisco.com>",
        "To": "bruce.richardson@intel.com",
        "Cc": "dev@dpdk.org, John Daley <johndale@cisco.com>",
        "Date": "Thu, 29 Sep 2016 13:56:36 -0700",
        "Message-Id": "<20160929205639.1175-1-johndale@cisco.com>",
        "X-Mailer": "git-send-email 2.10.0",
        "Subject": "[dpdk-dev] [PATCH 1/4] net/enic: fix fdir usage with scattered Rx",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "The wrong queue id was being used in the enic\nflow director code after the scattered Rx feature\nwas added.\n\nFixes: 856d7ba7ed22 (\"net/enic: support scattered Rx\")\n\nSigned-off-by: John Daley <johndale@cisco.com>\n---\n drivers/net/enic/enic_clsf.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/enic/enic_clsf.c b/drivers/net/enic/enic_clsf.c\nindex e6f57be..b251b7f 100644\n--- a/drivers/net/enic/enic_clsf.c\n+++ b/drivers/net/enic/enic_clsf.c\n@@ -120,7 +120,9 @@ int enic_fdir_add_fltr(struct enic *enic, struct rte_eth_fdir_filter *params)\n \t\treturn -ENOTSUP;\n \t}\n \n-\tqueue = params->action.rx_queue;\n+\t/* Get the enicpmd RQ from the DPDK Rx queue */\n+\tqueue = enic_sop_rq(params->action.rx_queue);\n+\n \t/* See if the key is already there in the table */\n \tpos = rte_hash_del_key(enic->fdir.hash, params);\n \tswitch (pos) {\n",
    "prefixes": [
        "dpdk-dev",
        "1/4"
    ]
}