Re: [ovs-dev] [PATCH V2] netdev-dpdk: fix memory leak

2016-08-04 Thread Daniele Di Proietto
I'm glad we can finally uncomment this code! The patch looks good to me. I made a few style changes and pushed this to master Thanks 2016-08-04 2:49 GMT-07:00 Mark Kavanagh : > DPDK v16.07 introduces the ability to free memzones. > Up until this point, DPDK memory pools created in OVS could >

[ovs-dev] [PATCH V2] netdev-dpdk: fix memory leak

2016-08-04 Thread Mark Kavanagh
DPDK v16.07 introduces the ability to free memzones. Up until this point, DPDK memory pools created in OVS could not be destroyed, thus incurring a memory leak. Leverage the DPDK v16.07 rte_mempool API to free DPDK mempools when their associated reference count reaches 0 (this indicates that the m