Re: [dpdk-dev] [PATCH] net/iavf: release port upon close

2020-09-13 Thread Thomas Monjalon
As you may notice, I have included a slightly modified version of this patch in my series in order to cover the full picture: https://patches.dpdk.org/patch/77559/ Feel free to continue improving your patch in this thread or the other, as you prefer, as long as the secondary process issue

Re: [dpdk-dev] [PATCH] net/iavf: release port upon close

2020-09-13 Thread Thomas Monjalon
Hi, SteveX Yang wrote: > 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: SteveX Yang I guess the X is not part of your name. [...] > -static int > -iavf_dev_uninit(struct rte_eth_dev *dev) > -{ > -

Re: [dpdk-dev] [PATCH] net/iavf: release port upon close

2020-09-03 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of SteveX Yang > Sent: Tuesday, August 11, 2020 3:28 PM > To: Yang, Qiming ; Xing, Beilei > ; Wu, Jingjing ; > dev@dpdk.org > Cc: Yang, SteveX > Subject: [dpdk-dev] [PATCH] net/iavf: release port upon close > >

[dpdk-dev] [PATCH] net/iavf: release port upon close

2020-08-11 Thread SteveX Yang
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: SteveX Yang --- drivers/net/iavf/iavf_ethdev.c | 43 -- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/drivers/ne