[ovs-git] [openvswitch/ovs] 8d3882: netdev-dpdk: fix memory leak
noreply at github.com
Thu Aug 4 22:56:13 UTC 2016
Author: Mark Kavanagh <mark.b.kavanagh at intel.com>
Date: 2016-08-04 (Thu, 04 Aug 2016)
netdev-dpdk: fix memory leak
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 memory pool is no longer in use).
Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
More information about the git