net/ark: remove resources when port is close
authorEd Czeck <ed.czeck@atomicrules.com>
Mon, 22 Jul 2019 12:35:41 +0000 (08:35 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:36 +0000 (14:31 +0200)
commitc5ddc9b98d171aa9483a50ce846ec391c8f2f885
tree4d17f057f453ddade04b461d24cc63d3b648837e
parent7311db731863841f71be27edfad7aab9081ff4e5
net/ark: remove resources when port is close

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

Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
drivers/net/ark/ark_ethdev.c