get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 273,
    "url": "http://patches.dpdk.org/api/patches/273/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1409560289-29558-4-git-send-email-declan.doherty@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": "<1409560289-29558-4-git-send-email-declan.doherty@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1409560289-29558-4-git-send-email-declan.doherty@intel.com",
    "date": "2014-09-01T08:31:26",
    "name": "[dpdk-dev,v2,3/6] bond: fix naming inconsistency in tx_burst_round_robin",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4cb4214ecfab587faceeb3a4de4e0dc482f9d502",
    "submitter": {
        "id": 11,
        "url": "http://patches.dpdk.org/api/people/11/?format=api",
        "name": "Doherty, Declan",
        "email": "declan.doherty@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1409560289-29558-4-git-send-email-declan.doherty@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/273/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/273/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dwdohert@ecsmtp.ir.intel.com>",
        "Received": [
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id 8648EB394\n\tfor <dev@dpdk.org>; Mon,  1 Sep 2014 10:27:31 +0200 (CEST)",
            "from azsmga001.ch.intel.com ([10.2.17.19])\n\tby fmsmga102.fm.intel.com with ESMTP; 01 Sep 2014 01:31:57 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby azsmga001.ch.intel.com with ESMTP; 01 Sep 2014 01:31:37 -0700",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\ts818VbSD010179; Mon, 1 Sep 2014 09:31:37 +0100",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id s818Vapo002112;\n\tMon, 1 Sep 2014 09:31:36 +0100",
            "(from dwdohert@localhost)\n\tby sivswdev02.ir.intel.com with  id s818Va8W002106;\n\tMon, 1 Sep 2014 09:31:36 +0100"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,441,1406617200\"; d=\"scan'208\";a=\"474376173\"",
        "From": "Declan Doherty <declan.doherty@intel.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon,  1 Sep 2014 09:31:26 +0100",
        "Message-Id": "<1409560289-29558-4-git-send-email-declan.doherty@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "In-Reply-To": "<1408456313-28812-1-git-send-email-declan.doherty@intel.com>",
        "References": "<1408456313-28812-1-git-send-email-declan.doherty@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 3/6] bond: fix naming inconsistency in\n\ttx_burst_round_robin",
        "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>",
        "X-List-Received-Date": "Mon, 01 Sep 2014 08:27:32 -0000"
    },
    "content": "Signed-off-by: Declan Doherty <declan.doherty@intel.com>\n---\n lib/librte_pmd_bond/rte_eth_bond_pmd.c |   10 +++++-----\n 1 files changed, 5 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_bond/rte_eth_bond_pmd.c b/lib/librte_pmd_bond/rte_eth_bond_pmd.c\nindex 683b146..70123fc 100644\n--- a/lib/librte_pmd_bond/rte_eth_bond_pmd.c\n+++ b/lib/librte_pmd_bond/rte_eth_bond_pmd.c\n@@ -92,7 +92,7 @@ static uint16_t\n bond_ethdev_tx_burst_round_robin(void *queue, struct rte_mbuf **bufs,\n \t\tuint16_t nb_pkts)\n {\n-\tstruct bond_dev_private *dev_private;\n+\tstruct bond_dev_private *internals;\n \tstruct bond_tx_queue *bd_tx_q;\n \n \tstruct rte_mbuf *slave_bufs[RTE_MAX_ETHPORTS][nb_pkts];\n@@ -107,13 +107,13 @@ bond_ethdev_tx_burst_round_robin(void *queue, struct rte_mbuf **bufs,\n \tint i, cs_idx = 0;\n \n \tbd_tx_q = (struct bond_tx_queue *)queue;\n-\tdev_private = bd_tx_q->dev_private;\n+\tinternals = bd_tx_q->dev_private;\n \n \t/* Copy slave list to protect against slave up/down changes during tx\n \t * bursting */\n-\tnum_of_slaves = dev_private->active_slave_count;\n-\tmemcpy(slaves, dev_private->active_slaves,\n-\t\t\tsizeof(dev_private->active_slaves[0]) * num_of_slaves);\n+\tnum_of_slaves = internals->active_slave_count;\n+\tmemcpy(slaves, internals->active_slaves,\n+\t\t\tsizeof(internals->active_slaves[0]) * num_of_slaves);\n \n \tif (num_of_slaves < 1)\n \t\treturn num_tx_total;\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "3/6"
    ]
}