net/iavf: release port upon close
authorSteve Yang <stevex.yang@intel.com>
Tue, 11 Aug 2020 07:27:52 +0000 (07:27 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:06 +0000 (18:55 +0200)
commitf5586bd4641d4296e071f2fb8c718eac99d37f3d
tree3ba49c9d4e513f074c8b92b3d3f52b243df280d6
parent05e4c3aff35f41d527acfab86df55477fd8dcff2
net/iavf: release port upon close

Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources
for the port can be freed by rte_eth_dev_close().

Signed-off-by: Steve Yang <stevex.yang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_ethdev.c