RE: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-27 Thread Huang, Wei
> ; Zhang, Qi Z ; Nipun Gupta > >> ; Hemant Agrawal > >> Cc: sta...@dpdk.org; Zhang, Tianfei > >> Subject: Re: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function > >> > >> On 1/26/2022 3:29 AM, Wei Huang wrote: > >>> Use rte_dev_re

Re: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-27 Thread Ferruh Yigit
On 1/27/2022 8:57 AM, Huang, Wei wrote: Hi, -Original Message- From: Yigit, Ferruh Sent: Wednesday, January 26, 2022 21:25 To: Huang, Wei ; dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z ; Nipun Gupta ; Hemant Agrawal Cc: sta...@dpdk.org; Zhang, Tianfei Subject: Re: [PATCH v1] raw/ifpga: fix

RE: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-27 Thread Huang, Wei
Hi, > -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, January 26, 2022 21:25 > To: Huang, Wei ; dev@dpdk.org; Xu, Rosen > ; Zhang, Qi Z ; Nipun Gupta > ; Hemant Agrawal > Cc: sta...@dpdk.org; Zhang, Tianfei > Subject: Re: [PATCH v1] raw/ifpga: f

Re: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-26 Thread Ferruh Yigit
On 1/26/2022 3:29 AM, Wei Huang wrote: Use rte_dev_remove() to replace rte_rawdev_pmd_release() in ifpga_rawdev_cleanup(), resources occupied by ifpga raw devices such as threads can be released correctly. As far as I understand you are fixing an issue that not all resources are released, is t

RE: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-26 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Rosen > Sent: Wednesday, January 26, 2022 3:08 PM > To: Huang, Wei ; dev@dpdk.org; Zhang, Qi Z > > Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh > > Subject: RE: [PATCH v1] raw/ifpga: fix ifpga devices

RE: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-25 Thread Xu, Rosen
Hi, > -Original Message- > From: Huang, Wei > Sent: Wednesday, January 26, 2022 11:30 > To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh > ; Huang, Wei > Subject: [PATCH v1] raw/ifpga: fix ifpga devices c

RE: [PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-25 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Wednesday, January 26, 2022 11:30 AM > To: dev@dpdk.org; Xu, Rosen ; Zhang, Qi Z > > Cc: sta...@dpdk.org; Zhang, Tianfei ; Yigit, Ferruh > ; Huang, Wei > Subject: [PATCH v1] raw/ifpga: fix ifpga devices c

[PATCH v1] raw/ifpga: fix ifpga devices cleanup function

2022-01-25 Thread Wei Huang
Use rte_dev_remove() to replace rte_rawdev_pmd_release() in ifpga_rawdev_cleanup(), resources occupied by ifpga raw devices such as threads can be released correctly. Fixes: f724a802 ("raw/ifpga: add miscellaneous APIs") Signed-off-by: Wei Huang --- drivers/raw/ifpga/ifpga_rawdev.c | 4 +++- 1