net/bnxt: release port upon close
authorSomnath Kotur <somnath.kotur@broadcom.com>
Thu, 16 Jan 2020 13:04:54 +0000 (18:34 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:19 +0000 (09:51 +0100)
commit47840e2ff8711375850341a240bcd6cde062d9cf
tree5e9cd84099a295c3d8853c0a4a7ec96de3f17b7f
parent537a053a79196db4999f7d956d00f822e95e9969
net/bnxt: 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: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_ethdev.c