RE: [PATCH v4 2/5] raw/ifpga: remove vdev when ifpga is closed

2022-06-06 Thread Xu, Rosen
Hi, > -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 16:34 > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subjec

RE: [PATCH v4 2/5] raw/ifpga: remove vdev when ifpga is closed

2022-06-05 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, May 27, 2022 4:34 PM > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subjec

[PATCH v4 2/5] raw/ifpga: remove vdev when ifpga is closed

2022-05-27 Thread Wei Huang
Virtual devices created on ifpga raw device will not be removed when ifpga device has closed. To avoid resource leak problem, this patch introduces an ifpga virtual device remove function, virtual devices will be destroyed after the ifpga raw device closed. Fixes: ef1e8ede3da5 ("raw/ifpga: add Int