On 9/28/2020 2:40 AM, Tianfei zhang wrote:
From: Wei Huang <[email protected]>
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 <[email protected]>
Signed-off-by: Tianfei zhang <[email protected]>
<...>