diff options
author | 2015-11-13 14:28:54 +0200 | |
---|---|---|
committer | 2015-11-13 14:28:54 +0200 | |
commit | 1f98e85aba1fb41110ea9743a69c075eeb60f476 (patch) | |
tree | e5c4216361e75df62d4790ec50776451c979b5ea /src/pal/linux/mbuf.cpp | |
parent | 57e67fd2ae248039951798978cc8c1c219c3d752 (diff) | |
parent | 45b71cff9d0465b77f82e4cd40b64a9f3183c1c7 (diff) |
Merge branch 'rpc_intg1' of csi-sceasr-b45:/auto/proj-pcube-b/apps/PL-b/tools/repo//trex-core into rpc_intg1
Diffstat (limited to 'src/pal/linux/mbuf.cpp')
-rwxr-xr-x | src/pal/linux/mbuf.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pal/linux/mbuf.cpp b/src/pal/linux/mbuf.cpp index 7eca8fd5..26a54fe9 100755 --- a/src/pal/linux/mbuf.cpp +++ b/src/pal/linux/mbuf.cpp @@ -78,6 +78,13 @@ rte_mempool_t * utl_rte_mempool_create(const char *name, return p; } +void utl_rte_mempool_delete(rte_mempool_t * & pool){ + if (pool) { + delete pool; + pool=0; + } +} + uint16_t rte_mbuf_refcnt_update(rte_mbuf_t *m, int16_t value) { |