* Free a cache. It's the responsibility of the user to make sure that any * remaining objects in the cache are flushed to the corresponding * mempool. */
| 790 | * mempool. |
| 791 | */ |
| 792 | void |
| 793 | rte_mempool_cache_free(struct rte_mempool_cache *cache) |
| 794 | { |
| 795 | rte_mempool_trace_cache_free(cache); |
| 796 | rte_free(cache); |
| 797 | } |
| 798 | |
| 799 | /* create an empty mempool */ |
| 800 | struct rte_mempool * |