Re: [dpdk-dev] [PATCH] net/bnx2x: enhance old ethdev close behavior

2020-09-25 Thread Thomas Monjalon
25/09/2020 06:17, Rasesh Mody: > 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 > --- > static int eth_b

[dpdk-dev] [PATCH] net/bnx2x: enhance old ethdev close behavior

2020-09-24 Thread Rasesh Mody
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 --- drivers/net/bnx2x/bnx2x_ethdev.c | 20 ++-- 1