Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/5512/?format=api
https://patches.dpdk.org/api/patches/5512/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1434631458-9764-1-git-send-email-bernard.iremonger@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": "<1434631458-9764-1-git-send-email-bernard.iremonger@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1434631458-9764-1-git-send-email-bernard.iremonger@intel.com", "date": "2015-06-18T12:44:18", "name": "[dpdk-dev,v5] e1000: igb and em1000 PCI Port Hotplug changes", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "08302a823f73e90e6932889622e6f3112f2e1f2e", "submitter": { "id": 91, "url": "https://patches.dpdk.org/api/people/91/?format=api", "name": "Iremonger, Bernard", "email": "bernard.iremonger@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1434631458-9764-1-git-send-email-bernard.iremonger@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/5512/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/5512/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 3FF6BC63E;\n\tThu, 18 Jun 2015 14:44:40 +0200 (CEST)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 78C37C63C\n\tfor <dev@dpdk.org>; Thu, 18 Jun 2015 14:44:38 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga103.jf.intel.com with ESMTP; 18 Jun 2015 05:44:26 -0700", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 18 Jun 2015 05:44:21 -0700", "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\tt5ICiLnB029261; Thu, 18 Jun 2015 13:44:21 +0100", "from sivswdev01.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev01.ir.intel.com with ESMTP id t5ICiLx4009809;\n\tThu, 18 Jun 2015 13:44:21 +0100", "(from bairemon@localhost)\n\tby sivswdev01.ir.intel.com with id t5ICiKRN009804;\n\tThu, 18 Jun 2015 13:44:20 +0100" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.13,638,1427785200\"; d=\"scan'208\";a=\"713251847\"", "From": "Bernard Iremonger <bernard.iremonger@intel.com>", "To": "dev@dpdk.org", "Date": "Thu, 18 Jun 2015 13:44:18 +0100", "Message-Id": "<1434631458-9764-1-git-send-email-bernard.iremonger@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<PATCH>", "References": "<PATCH>", "Subject": "[dpdk-dev] [PATCH v5] e1000: igb and em1000 PCI Port Hotplug changes", "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": "This patch depends on the Port Hotplug Framework.\nIt implements the eth_dev_uninit functions for rte_em_pmd,\nrte_igb_pmd and rte_igbvf_pmd.\n\nChanges in V5:\nMoved adapter stopped boolean to struct e1000_adapter.\nRebase to latest code.\n\nChanges in V4:\nRelease rx and tx queues in eth_igbvf_dev_uninit.\n\nChanges in V3:\nAdd igb_adapter_stopped and em_adapter_stopped booleans.\nRelease rx and tx queues in eth_igb_dev_uninit.\n\nChanges in V2:\nCall dev_close() from dev_uninit() functions.\nRemove input parameter checking from dev_uninit() functions.\n\nSigned-off-by: Bernard Iremonger <bernard.iremonger@intel.com>\n---\n drivers/net/e1000/e1000_ethdev.h | 8 ++-\n drivers/net/e1000/em_ethdev.c | 57 ++++++++++++++++++-\n drivers/net/e1000/igb_ethdev.c | 115 +++++++++++++++++++++++++++++++++++++-\n drivers/net/e1000/igb_pf.c | 22 +++++++\n 4 files changed, 197 insertions(+), 5 deletions(-)", "diff": "diff --git a/drivers/net/e1000/e1000_ethdev.h b/drivers/net/e1000/e1000_ethdev.h\nindex c451faa..ee8b872 100644\n--- a/drivers/net/e1000/e1000_ethdev.h\n+++ b/drivers/net/e1000/e1000_ethdev.h\n@@ -1,7 +1,7 @@\n /*-\n * BSD LICENSE\n *\n- * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.\n+ * Copyright(c) 2010-2015 Intel Corporation. All rights reserved.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n@@ -229,8 +229,12 @@ struct e1000_adapter {\n \tstruct e1000_vfta shadow_vfta;\n \tstruct e1000_vf_info *vfdata;\n \tstruct e1000_filter_info filter;\n+\tbool stopped;\n };\n \n+#define E1000_DEV_PRIVATE(adapter) \\\n+\t((struct e1000_adapter *)adapter)\n+\n #define E1000_DEV_PRIVATE_TO_HW(adapter) \\\n \t(&((struct e1000_adapter *)adapter)->hw)\n \n@@ -337,4 +341,6 @@ uint16_t eth_em_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,\n uint16_t eth_em_recv_scattered_pkts(void *rx_queue, struct rte_mbuf **rx_pkts,\n \t\tuint16_t nb_pkts);\n \n+void igb_pf_host_uninit(struct rte_eth_dev *dev);\n+\n #endif /* _E1000_ETHDEV_H_ */\ndiff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c\nindex a306c55..0f471c2 100644\n--- a/drivers/net/e1000/em_ethdev.c\n+++ b/drivers/net/e1000/em_ethdev.c\n@@ -224,6 +224,8 @@ static int\n eth_em_dev_init(struct rte_eth_dev *eth_dev)\n {\n \tstruct rte_pci_device *pci_dev;\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(eth_dev->data->dev_private);\n \tstruct e1000_hw *hw =\n \t\tE1000_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);\n \tstruct e1000_vfta * shadow_vfta =\n@@ -246,6 +248,7 @@ eth_em_dev_init(struct rte_eth_dev *eth_dev)\n \n \thw->hw_addr = (void *)pci_dev->mem_resource[0].addr;\n \thw->device_id = pci_dev->id.device_id;\n+\tadapter->stopped = 0;\n \n \t/* For ICH8 support we'll need to map the flash memory BAR */\n \n@@ -285,13 +288,58 @@ eth_em_dev_init(struct rte_eth_dev *eth_dev)\n \treturn (0);\n }\n \n+static int\n+eth_em_dev_uninit(struct rte_eth_dev *eth_dev)\n+{\n+\tstruct rte_pci_device *pci_dev;\n+\tunsigned i;\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(eth_dev->data->dev_private);\n+\n+\tPMD_INIT_FUNC_TRACE();\n+\n+\tif (rte_eal_process_type() != RTE_PROC_PRIMARY)\n+\t\treturn -EPERM;\n+\n+\tpci_dev = eth_dev->pci_dev;\n+\n+\tif (adapter->stopped == 0)\n+\t\teth_em_close(eth_dev);\n+\n+\teth_dev->dev_ops = NULL;\n+\teth_dev->rx_pkt_burst = NULL;\n+\teth_dev->tx_pkt_burst = NULL;\n+\n+\trte_free(eth_dev->data->mac_addrs);\n+\teth_dev->data->mac_addrs = NULL;\n+\n+\tfor (i = 0; i < eth_dev->data->nb_rx_queues; i++) {\n+\t\teth_em_rx_queue_release(eth_dev->data->rx_queues[i]);\n+\t\teth_dev->data->rx_queues[i] = NULL;\n+\t}\n+\n+\tfor (i = 0; i < eth_dev->data->nb_tx_queues; i++) {\n+\t\teth_em_tx_queue_release(eth_dev->data->tx_queues[i]);\n+\t\teth_dev->data->tx_queues[i] = NULL;\n+\t}\n+\n+\t/* disable uio intr before callback unregister */\n+\trte_intr_disable(&(pci_dev->intr_handle));\n+\trte_intr_callback_unregister(&(pci_dev->intr_handle),\n+\t\teth_em_interrupt_handler, (void *)eth_dev);\n+\n+\treturn 0;\n+}\n+\n static struct eth_driver rte_em_pmd = {\n \t.pci_drv = {\n \t\t.name = \"rte_em_pmd\",\n \t\t.id_table = pci_id_em_map,\n-\t\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,\n+\t\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |\n+\t\t\tRTE_PCI_DRV_DETACHABLE,\n \t},\n \t.eth_dev_init = eth_em_dev_init,\n+\t.eth_dev_uninit = eth_em_dev_uninit,\n \t.dev_private_size = sizeof(struct e1000_adapter),\n };\n \n@@ -451,6 +499,8 @@ em_set_pba(struct e1000_hw *hw)\n static int\n eth_em_start(struct rte_eth_dev *dev)\n {\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(dev->data->dev_private);\n \tstruct e1000_hw *hw =\n \t\tE1000_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n \tint ret, mask;\n@@ -570,6 +620,8 @@ eth_em_start(struct rte_eth_dev *dev)\n \t\t}\n \t}\n \n+\tadapter->stopped = 0;\n+\n \tPMD_INIT_LOG(DEBUG, \"<<\");\n \n \treturn (0);\n@@ -613,8 +665,11 @@ static void\n eth_em_close(struct rte_eth_dev *dev)\n {\n \tstruct e1000_hw *hw = E1000_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(dev->data->dev_private);\n \n \teth_em_stop(dev);\n+\tadapter->stopped = 1;\n \te1000_phy_hw_reset(hw);\n \tem_release_manageability(hw);\n \tem_hw_control_release(hw);\ndiff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c\nindex 24c7510..ffd849d 100644\n--- a/drivers/net/e1000/igb_ethdev.c\n+++ b/drivers/net/e1000/igb_ethdev.c\n@@ -465,9 +465,12 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)\n \tstruct e1000_hw *hw =\n \t\tE1000_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);\n \tstruct e1000_vfta * shadow_vfta =\n-\t\t\tE1000_DEV_PRIVATE_TO_VFTA(eth_dev->data->dev_private);\n+\t\tE1000_DEV_PRIVATE_TO_VFTA(eth_dev->data->dev_private);\n \tstruct e1000_filter_info *filter_info =\n \t\tE1000_DEV_PRIVATE_TO_FILTER_INFO(eth_dev->data->dev_private);\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(eth_dev->data->dev_private);\n+\n \tuint32_t ctrl_ext;\n \n \tpci_dev = eth_dev->pci_dev;\n@@ -570,6 +573,7 @@ eth_igb_dev_init(struct rte_eth_dev *eth_dev)\n \t\tgoto err_late;\n \t}\n \thw->mac.get_link_status = 1;\n+\tadapter->stopped = 0;\n \n \t/* Indicate SOL/IDER usage */\n \tif (e1000_check_reset_block(hw) < 0) {\n@@ -614,6 +618,57 @@ err_late:\n \treturn (error);\n }\n \n+static int\n+eth_igb_dev_uninit(struct rte_eth_dev *eth_dev)\n+{\n+\tstruct rte_pci_device *pci_dev;\n+\tstruct e1000_hw *hw;\n+\tunsigned i;\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(eth_dev->data->dev_private);\n+\n+\tPMD_INIT_FUNC_TRACE();\n+\n+\tif (rte_eal_process_type() != RTE_PROC_PRIMARY)\n+\t\treturn -EPERM;\n+\n+\thw = E1000_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);\n+\tpci_dev = eth_dev->pci_dev;\n+\n+\tif (adapter->stopped == 0)\n+\t\teth_igb_close(eth_dev);\n+\n+\teth_dev->dev_ops = NULL;\n+\teth_dev->rx_pkt_burst = NULL;\n+\teth_dev->tx_pkt_burst = NULL;\n+\n+\tfor (i = 0; i < eth_dev->data->nb_rx_queues; i++) {\n+\t\teth_igb_rx_queue_release(eth_dev->data->rx_queues[i]);\n+\t\teth_dev->data->rx_queues[i] = NULL;\n+\t}\n+\n+\tfor (i = 0; i < eth_dev->data->nb_tx_queues; i++) {\n+\t\teth_igb_tx_queue_release(eth_dev->data->tx_queues[i]);\n+\t\teth_dev->data->tx_queues[i] = NULL;\n+\t}\n+\n+\t/* Reset any pending lock */\n+\tigb_reset_swfw_lock(hw);\n+\n+\trte_free(eth_dev->data->mac_addrs);\n+\teth_dev->data->mac_addrs = NULL;\n+\n+\t/* uninitialize PF if max_vfs not zero */\n+\tigb_pf_host_uninit(eth_dev);\n+\n+\t/* disable uio intr before callback unregister */\n+\trte_intr_disable(&(pci_dev->intr_handle));\n+\trte_intr_callback_unregister(&(pci_dev->intr_handle),\n+\t\teth_igb_interrupt_handler, (void *)eth_dev);\n+\n+\treturn 0;\n+}\n+\n /*\n * Virtual Function device init\n */\n@@ -621,6 +676,8 @@ static int\n eth_igbvf_dev_init(struct rte_eth_dev *eth_dev)\n {\n \tstruct rte_pci_device *pci_dev;\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(eth_dev->data->dev_private);\n \tstruct e1000_hw *hw =\n \t\tE1000_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);\n \tint diag;\n@@ -645,6 +702,7 @@ eth_igbvf_dev_init(struct rte_eth_dev *eth_dev)\n \thw->device_id = pci_dev->id.device_id;\n \thw->vendor_id = pci_dev->id.vendor_id;\n \thw->hw_addr = (void *)pci_dev->mem_resource[0].addr;\n+\tadapter->stopped = 0;\n \n \t/* Initialize the shared code (base driver) */\n \tdiag = e1000_setup_init_funcs(hw, TRUE);\n@@ -685,13 +743,50 @@ eth_igbvf_dev_init(struct rte_eth_dev *eth_dev)\n \treturn 0;\n }\n \n+static int\n+eth_igbvf_dev_uninit(struct rte_eth_dev *eth_dev)\n+{\n+\tunsigned i;\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(eth_dev->data->dev_private);\n+\n+\tPMD_INIT_FUNC_TRACE();\n+\n+\tif (rte_eal_process_type() != RTE_PROC_PRIMARY)\n+\t\treturn -EPERM;\n+\n+\tif (adapter->stopped == 0)\n+\t\tigbvf_dev_close(eth_dev);\n+\n+\teth_dev->dev_ops = NULL;\n+\teth_dev->rx_pkt_burst = NULL;\n+\teth_dev->tx_pkt_burst = NULL;\n+\n+\tfor (i = 0; i < eth_dev->data->nb_rx_queues; i++) {\n+\t\teth_igb_rx_queue_release(eth_dev->data->rx_queues[i]);\n+\t\teth_dev->data->rx_queues[i] = NULL;\n+\t}\n+\n+\tfor (i = 0; i < eth_dev->data->nb_tx_queues; i++) {\n+\t\teth_igb_tx_queue_release(eth_dev->data->tx_queues[i]);\n+\t\teth_dev->data->tx_queues[i] = NULL;\n+\t}\n+\n+\trte_free(eth_dev->data->mac_addrs);\n+\teth_dev->data->mac_addrs = NULL;\n+\n+\treturn 0;\n+}\n+\n static struct eth_driver rte_igb_pmd = {\n \t.pci_drv = {\n \t\t.name = \"rte_igb_pmd\",\n \t\t.id_table = pci_id_igb_map,\n-\t\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC,\n+\t\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_INTR_LSC |\n+\t\t\tRTE_PCI_DRV_DETACHABLE,\n \t},\n \t.eth_dev_init = eth_igb_dev_init,\n+\t.eth_dev_uninit = eth_igb_dev_uninit,\n \t.dev_private_size = sizeof(struct e1000_adapter),\n };\n \n@@ -702,9 +797,10 @@ static struct eth_driver rte_igbvf_pmd = {\n \t.pci_drv = {\n \t\t.name = \"rte_igbvf_pmd\",\n \t\t.id_table = pci_id_igbvf_map,\n-\t\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING,\n+\t\t.drv_flags = RTE_PCI_DRV_NEED_MAPPING | RTE_PCI_DRV_DETACHABLE,\n \t},\n \t.eth_dev_init = eth_igbvf_dev_init,\n+\t.eth_dev_uninit = eth_igbvf_dev_uninit,\n \t.dev_private_size = sizeof(struct e1000_adapter),\n };\n \n@@ -758,6 +854,8 @@ eth_igb_start(struct rte_eth_dev *dev)\n {\n \tstruct e1000_hw *hw =\n \t\tE1000_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(dev->data->dev_private);\n \tint ret, i, mask;\n \tuint32_t ctrl_ext;\n \n@@ -786,6 +884,7 @@ eth_igb_start(struct rte_eth_dev *dev)\n \t\tPMD_INIT_LOG(ERR, \"Unable to initialize the hardware\");\n \t\treturn (-EIO);\n \t}\n+\tadapter->stopped = 0;\n \n \tE1000_WRITE_REG(hw, E1000_VET, ETHER_TYPE_VLAN << 16 | ETHER_TYPE_VLAN);\n \n@@ -992,9 +1091,13 @@ static void\n eth_igb_close(struct rte_eth_dev *dev)\n {\n \tstruct e1000_hw *hw = E1000_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(dev->data->dev_private);\n \tstruct rte_eth_link link;\n \n \teth_igb_stop(dev);\n+\tadapter->stopped = 1;\n+\n \te1000_phy_hw_reset(hw);\n \tigb_release_manageability(hw);\n \tigb_hw_control_release(hw);\n@@ -2228,11 +2331,14 @@ igbvf_dev_start(struct rte_eth_dev *dev)\n {\n \tstruct e1000_hw *hw =\n \t\tE1000_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(dev->data->dev_private);\n \tint ret;\n \n \tPMD_INIT_FUNC_TRACE();\n \n \thw->mac.ops.reset_hw(hw);\n+\tadapter->stopped = 0;\n \n \t/* Set all vfta */\n \tigbvf_set_vfta_all(dev,1);\n@@ -2270,12 +2376,15 @@ static void\n igbvf_dev_close(struct rte_eth_dev *dev)\n {\n \tstruct e1000_hw *hw = E1000_DEV_PRIVATE_TO_HW(dev->data->dev_private);\n+\tstruct e1000_adapter *adapter =\n+\t\tE1000_DEV_PRIVATE(dev->data->dev_private);\n \n \tPMD_INIT_FUNC_TRACE();\n \n \te1000_reset_hw(hw);\n \n \tigbvf_dev_stop(dev);\n+\tadapter->stopped = 1;\n }\n \n static int igbvf_set_vfta(struct e1000_hw *hw, uint16_t vid, bool on)\ndiff --git a/drivers/net/e1000/igb_pf.c b/drivers/net/e1000/igb_pf.c\nindex 6a4d210..26c2960 100644\n--- a/drivers/net/e1000/igb_pf.c\n+++ b/drivers/net/e1000/igb_pf.c\n@@ -127,6 +127,28 @@ void igb_pf_host_init(struct rte_eth_dev *eth_dev)\n \treturn;\n }\n \n+void igb_pf_host_uninit(struct rte_eth_dev *dev)\n+{\n+\tstruct e1000_vf_info **vfinfo;\n+\tuint16_t vf_num;\n+\n+\tPMD_INIT_FUNC_TRACE();\n+\n+\tvfinfo = E1000_DEV_PRIVATE_TO_P_VFDATA(dev->data->dev_private);\n+\n+\tRTE_ETH_DEV_SRIOV(dev).active = 0;\n+\tRTE_ETH_DEV_SRIOV(dev).nb_q_per_pool = 0;\n+\tRTE_ETH_DEV_SRIOV(dev).def_vmdq_idx = 0;\n+\tRTE_ETH_DEV_SRIOV(dev).def_pool_q_idx = 0;\n+\n+\tvf_num = dev_num_vf(dev);\n+\tif (vf_num == 0)\n+\t\treturn;\n+\n+\trte_free(*vfinfo);\n+\t*vfinfo = NULL;\n+}\n+\n #define E1000_RAH_POOLSEL_SHIFT (18)\n int igb_pf_host_configure(struct rte_eth_dev *eth_dev)\n {\n", "prefixes": [ "dpdk-dev", "v5" ] }{ "id": 5512, "url": "