Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/671/?format=api
https://patches.dpdk.org/api/patches/671/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1412071079-7355-4-git-send-email-declan.doherty@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": "<1412071079-7355-4-git-send-email-declan.doherty@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1412071079-7355-4-git-send-email-declan.doherty@intel.com", "date": "2014-09-30T09:57:54", "name": "[dpdk-dev,v4,3/8] 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/?format=api", "name": "Doherty, Declan", "email": "declan.doherty@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1412071079-7355-4-git-send-email-declan.doherty@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/671/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/671/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 BF6517E78;\n\tTue, 30 Sep 2014 11:51:42 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id AEB1F7E20\n\tfor <dev@dpdk.org>; Tue, 30 Sep 2014 11:51:33 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga101.jf.intel.com with ESMTP; 30 Sep 2014 02:58:08 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga002.jf.intel.com with ESMTP; 30 Sep 2014 02:58:07 -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\ts8U9w6ZS009038; Tue, 30 Sep 2014 10:58:06 +0100", "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id s8U9w6P8008254;\n\tTue, 30 Sep 2014 10:58:06 +0100", "(from dwdohert@localhost)\n\tby sivswdev02.ir.intel.com with id s8U9w5RP008250;\n\tTue, 30 Sep 2014 10:58:05 +0100" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.04,625,1406617200\"; d=\"scan'208\";a=\"610781452\"", "From": "Declan Doherty <declan.doherty@intel.com>", "To": "dev@dpdk.org", "Date": "Tue, 30 Sep 2014 10:57:54 +0100", "Message-Id": "<1412071079-7355-4-git-send-email-declan.doherty@intel.com>", "X-Mailer": "git-send-email 1.7.12.2", "In-Reply-To": "<1412071079-7355-1-git-send-email-declan.doherty@intel.com>", "References": "<1408456313-28812-1-git-send-email-declan.doherty@intel.com>\n\t<1412071079-7355-1-git-send-email-declan.doherty@intel.com>", "Subject": "[dpdk-dev] [PATCH v4 3/8] 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>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "Signed-off-by: Declan Doherty <declan.doherty@intel.com>\n---\n lib/librte_pmd_bond/rte_eth_bond_pmd.c | 10 +++++-----\n 1 file 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 348e28f..66f1650 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", "v4", "3/8" ] }{ "id": 671, "url": "