net/sfc: release port upon close
authorAndrew Rybchenko <arybchenko@solarflare.com>
Fri, 21 Jun 2019 09:40:41 +0000 (10:40 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 4 Jul 2019 23:52:01 +0000 (01:52 +0200)
commit8fce2224d06c59c13e2da130a51231870aa33462
treec595a026b0198df51735aaf69f54633ec41af113
parent93f993cbbba21efddc96d36abc4c7329e757ea74
net/sfc: release port upon close

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

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Ivan Malov <ivan.malov@oktetlabs.ru>
drivers/net/sfc/sfc_ethdev.c