Show a patch.

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

{
    "id": 181,
    "url": "https://patches.dpdk.org/api/patches/181/",
    "web_url": "https://patches.dpdk.org/patch/181/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1408456313-28812-4-git-send-email-declan.doherty@intel.com>",
    "date": "2014-08-19T13:51:50",
    "name": "[dpdk-dev,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": "https://patches.dpdk.org/api/people/11/",
        "name": "Doherty, Declan",
        "email": "declan.doherty@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/181/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/181/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/181/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Date": "Tue, 19 Aug 2014 14:51:50 +0100",
        "In-Reply-To": "<1408456313-28812-1-git-send-email-declan.doherty@intel.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<1408456313-28812-1-git-send-email-declan.doherty@intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "To": "dev@dpdk.org",
        "Received": [
            "from mga03.intel.com (mga03.intel.com [143.182.124.21])\n\tby dpdk.org (Postfix) with ESMTP id C443AB371\n\tfor <dev@dpdk.org>; Tue, 19 Aug 2014 15:48:36 +0200 (CEST)",
            "from azsmga001.ch.intel.com ([10.2.17.19])\n\tby azsmga101.ch.intel.com with ESMTP; 19 Aug 2014 06:52:04 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby azsmga001.ch.intel.com with ESMTP; 19 Aug 2014 06:52:02 -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\ts7JDq20l002076; Tue, 19 Aug 2014 14:52:02 +0100",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id s7JDq2Pm002915;\n\tTue, 19 Aug 2014 14:52:02 +0100",
            "(from dwdohert@localhost)\n\tby sivswdev02.ir.intel.com with  id s7JDq2KU002911;\n\tTue, 19 Aug 2014 14:52:02 +0100"
        ],
        "From": "Declan Doherty <declan.doherty@intel.com>",
        "Precedence": "list",
        "X-ExtLoop1": "1",
        "Message-Id": "<1408456313-28812-4-git-send-email-declan.doherty@intel.com>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH 3/6] bond: fix naming inconsistency in\n\ttx_burst_round_robin",
        "X-List-Received-Date": "Tue, 19 Aug 2014 13:48:37 -0000",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<dwdohert@ecsmtp.ir.intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.01,894,1400050800\"; d=\"scan'208\";a=\"470328284\"",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Renaming struct bond_dev_pritvate *dev_private to internals to match convention used in other pmds\n\nSigned-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",
        "3/6"
    ]
}