Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1200/?format=api
https://patches.dpdk.org/api/patches/1200/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1415362978-6306-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": "<1415362978-6306-4-git-send-email-declan.doherty@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1415362978-6306-4-git-send-email-declan.doherty@intel.com", "date": "2014-11-07T12:22:53", "name": "[dpdk-dev,v6,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/1415362978-6306-4-git-send-email-declan.doherty@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/1200/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/1200/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 20E537F74;\n\tFri, 7 Nov 2014 13:13:53 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id CA6077F51\n\tfor <dev@dpdk.org>; Fri, 7 Nov 2014 13:13:43 +0100 (CET)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP; 07 Nov 2014 04:21:06 -0800", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 07 Nov 2014 04:23:13 -0800", "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\tsA7CNCun002844; Fri, 7 Nov 2014 12:23:12 GMT", "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id sA7CNCTj007631;\n\tFri, 7 Nov 2014 12:23:12 GMT", "(from dwdohert@localhost)\n\tby sivswdev02.ir.intel.com with id sA7CNCXv007627;\n\tFri, 7 Nov 2014 12:23:12 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.07,332,1413270000\"; d=\"scan'208\";a=\"604086302\"", "From": "Declan Doherty <declan.doherty@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 7 Nov 2014 12:22:53 +0000", "Message-Id": "<1415362978-6306-4-git-send-email-declan.doherty@intel.com>", "X-Mailer": "git-send-email 1.7.12.2", "In-Reply-To": "<1415362978-6306-1-git-send-email-declan.doherty@intel.com>", "References": "<1413291597-27326-1-git-send-email-declan.doherty@intel.com>\n\t<1415362978-6306-1-git-send-email-declan.doherty@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 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 f2fe930..6e770af 100644\n--- a/lib/librte_pmd_bond/rte_eth_bond_pmd.c\n+++ b/lib/librte_pmd_bond/rte_eth_bond_pmd.c\n@@ -93,7 +93,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@@ -108,13 +108,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", "v6", "3/8" ] }{ "id": 1200, "url": "