Re: [dpdk-dev] [PATCH v2 1/1] net/hinic: fix the problem of hugepage memory leaks

2020-11-20 Thread Ferruh Yigit
On 11/20/2020 9:11 AM, Guoyang Zhou wrote: The nic_io memory sets to NULL before free it, this is wrong, and the freeing of some private port resources should be moved from the ".remove(device)" function to the ".dev_close(port)" function. Fixes: f30e69b41f94 ("ethdev: add device flag to bypass

[dpdk-dev] [PATCH v2 1/1] net/hinic: fix the problem of hugepage memory leaks

2020-11-20 Thread Guoyang Zhou
The nic_io memory sets to NULL before free it, this is wrong, and the freeing of some private port resources should be moved from the ".remove(device)" function to the ".dev_close(port)" function. Fixes: f30e69b41f94 ("ethdev: add device flag to bypass auto-filled queue xstats") Cc: sta...@dpdk.o