Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/10884/?format=api
http://patches.dpdk.org/api/patches/10884/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1456498163-26619-2-git-send-email-bernard.iremonger@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": "<1456498163-26619-2-git-send-email-bernard.iremonger@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1456498163-26619-2-git-send-email-bernard.iremonger@intel.com", "date": "2016-02-26T14:49:21", "name": "[dpdk-dev,1/3,v2] ixgbe: cleanup eth_ixgbevf_dev_uninit", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "ef7c79736e37322f924615fcaaf705a283cd3d92", "submitter": { "id": 91, "url": "http://patches.dpdk.org/api/people/91/?format=api", "name": "Iremonger, Bernard", "email": "bernard.iremonger@intel.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/1456498163-26619-2-git-send-email-bernard.iremonger@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/10884/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/10884/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 D632D558F;\n\tFri, 26 Feb 2016 15:49:42 +0100 (CET)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 318A42952\n\tfor <dev@dpdk.org>; Fri, 26 Feb 2016 15:49:42 +0100 (CET)", "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga101.jf.intel.com with ESMTP; 26 Feb 2016 06:49:41 -0800", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga003.jf.intel.com with ESMTP; 26 Feb 2016 06:49:39 -0800", "from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com\n\t[10.237.217.45])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\tu1QEncXi010846; Fri, 26 Feb 2016 14:49:38 GMT", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id u1QEncen027062;\n\tFri, 26 Feb 2016 14:49:38 GMT", "(from bairemon@localhost)\n\tby sivswdev01.ir.intel.com with id u1QEncEa027058;\n\tFri, 26 Feb 2016 14:49:38 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.22,498,1449561600\"; d=\"scan'208\";a=\"753782787\"", "From": "Bernard Iremonger <bernard.iremonger@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 26 Feb 2016 14:49:21 +0000", "Message-Id": "<1456498163-26619-2-git-send-email-bernard.iremonger@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1456498163-26619-1-git-send-email-bernard.iremonger@intel.com>", "References": "<1456330746-15001-1-git-send-email-bernard.iremonger@intel.com>\n\t<1456498163-26619-1-git-send-email-bernard.iremonger@intel.com>", "Subject": "[dpdk-dev] [PATCH 1/3 v2] ixgbe: cleanup eth_ixgbevf_dev_uninit", "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": "Releasing the rx and tx queues is already done in ixgbe_dev_close()\nso it does not need to be done in eth_ixgbevf_dev_uninit().\n\nFixes: 2866c5f1b87e (\"ixgbe: support port hotplug\")\nSigned-off-by: Bernard Iremonger <bernard.iremonger@intel.com>\n---\n drivers/net/ixgbe/ixgbe_ethdev.c | 15 +--------------\n 1 file changed, 1 insertion(+), 14 deletions(-)", "diff": "diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c\nindex 3e6fe86..0db7f51 100644\n--- a/drivers/net/ixgbe/ixgbe_ethdev.c\n+++ b/drivers/net/ixgbe/ixgbe_ethdev.c\n@@ -1,7 +1,7 @@\n /*-\n * BSD LICENSE\n *\n- * Copyright(c) 2010-2015 Intel Corporation. All rights reserved.\n+ * Copyright(c) 2010-2016 Intel Corporation. All rights reserved.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n@@ -1390,7 +1390,6 @@ static int\n eth_ixgbevf_dev_uninit(struct rte_eth_dev *eth_dev)\n {\n \tstruct ixgbe_hw *hw;\n-\tunsigned i;\n \n \tPMD_INIT_FUNC_TRACE();\n \n@@ -1409,18 +1408,6 @@ eth_ixgbevf_dev_uninit(struct rte_eth_dev *eth_dev)\n \t/* Disable the interrupts for VF */\n \tixgbevf_intr_disable(hw);\n \n-\tfor (i = 0; i < eth_dev->data->nb_rx_queues; i++) {\n-\t\tixgbe_dev_rx_queue_release(eth_dev->data->rx_queues[i]);\n-\t\teth_dev->data->rx_queues[i] = NULL;\n-\t}\n-\teth_dev->data->nb_rx_queues = 0;\n-\n-\tfor (i = 0; i < eth_dev->data->nb_tx_queues; i++) {\n-\t\tixgbe_dev_tx_queue_release(eth_dev->data->tx_queues[i]);\n-\t\teth_dev->data->tx_queues[i] = NULL;\n-\t}\n-\teth_dev->data->nb_tx_queues = 0;\n-\n \trte_free(eth_dev->data->mac_addrs);\n \teth_dev->data->mac_addrs = NULL;\n \n", "prefixes": [ "dpdk-dev", "1/3", "v2" ] }{ "id": 10884, "url": "