net/qede: release port upon close
authorRasesh Mody <rmody@marvell.com>
Mon, 28 Sep 2020 23:14:25 +0000 (01:14 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 30 Sep 2020 17:19:14 +0000 (19:19 +0200)
commit1df1bb5275393d757d45a2dcd48cff17a108bc88
treeef246556c86e2ce4ab4536b8e95d25ed713e3c9c
parent57803c5ef5a1d067330b0dd7e314149e4ef3a3c3
net/qede: 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(). With this change the
private port resources are released in the .dev_close callback.

Signed-off-by: Rasesh Mody <rmody@marvell.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/qede/qede_ethdev.c