[dpdk-dev] [PATCH v2 2/4] raw/ifpga/base: free resources when destroying ifpga device
Ferruh Yigit
ferruh.yigit at intel.com
Thu Oct 15 20:57:10 CEST 2020
On 9/28/2020 2:40 AM, Tianfei zhang wrote:
> From: Wei Huang <wei.huang at intel.com>
>
> Add two functions to complete the resources free work, one
> is ifpga_adapter_destroy(), the other is ifpga_bus_uinit().
> Then call opae_adapter_destroy() in ifpga_rawdev_destroy().
>
> Additional modifiction is removing opae_adapter_free() from
s/modifiction/modification
> ifpga_rawdev_destroy() because opae adapter will be released
> in rte_rawdev_pmd_release().
I can see following call stack,
rte_rawdev_pmd_release()
rte_rawdev_close()
ifpga_rawdev_close()
In this path 'opae_adapter_free()' is not called, can you please confirm if opae
adapter free is done.
>
> Signed-off-by: Wei Huang <wei.huang at intel.com>
> Signed-off-by: Tianfei zhang <tianfei.zhang at intel.com>
<...>
More information about the dev
mailing list