From: Chen Jing D(Mark) Date: Fri, 20 Jun 2014 10:24:39 +0000 (+0800) Subject: i40e: destroy MSI-X pool on close X-Git-Tag: spdx-start~10618 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=204795fcaa48451a913e6d08a2dff27c4a02059c;p=dpdk.git i40e: destroy MSI-X pool on close Free MSIX pool resource in function i40e_dev_close. Signed-off-by: Chen Jing D(Mark) Acked-by: Helin Zhang Acked-by: Cunming Liang Acked-by: Jingjing Wu --- diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index a335242211..7ee6a70c4b 100644 --- a/lib/librte_pmd_i40e/i40e_ethdev.c +++ b/lib/librte_pmd_i40e/i40e_ethdev.c @@ -740,6 +740,7 @@ i40e_dev_close(struct rte_eth_dev *dev) i40e_shutdown_adminq(hw); i40e_res_pool_destroy(&pf->qp_pool); + i40e_res_pool_destroy(&pf->msix_pool); /* force a PF reset to clean anything leftover */ reg = I40E_READ_REG(hw, I40E_PFGEN_CTRL);