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

wangyunjian wangyunjian at huawei.com
Wed Sep 30 02:58:00 CEST 2020


> -----Original Message-----
> From: Ferruh Yigit [mailto:ferruh.yigit at intel.com]
> Sent: Wednesday, September 30, 2020 12:56 AM
> To: wangyunjian <wangyunjian at huawei.com>; dev at dpdk.org
> Cc: keith.wiles at intel.com; thomas at monjalon.net; Lilijun (Jerry)
> <jerry.lilijun at huawei.com>; xudingke <xudingke at huawei.com>
> Subject: Re: [dpdk-dev] [PATCH v2] net/tap: release port upon close
> 
> On 9/17/2020 12:47 PM, wangyunjian wrote:
> > From: Yunjian Wang <wangyunjian at huawei.com>
> >
> > 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: Yunjian Wang <wangyunjian at huawei.com>
> > ---
> > v2:
> >     Remove redundant check and assignment suggested
> >     by Ferruh Yigit and Thomas Monjalon
> 
> Hi Yunjian,
> 
> There is a newer version of the tap close in the patchset related to the ethdev
> close updates:
> https://patches.dpdk.org/patch/79086/
> 
> I will update this one as 'Superseded', can you please check the above one?
> 

OK, I will check and test it.

Thanks,
Yunjian

> Thanks,
> ferruh



More information about the dev mailing list