- Add debug counters for objects put/get to/from the common pool. - Make __MEMPOOL_STAT_ADD() more generic
--- v5: - Fix compilation issue - Move 'increment get_success_bulk/objs' inside __mempool_generic_get v4: - Remove cache stats v3: - Add a patch to make stat add macro generic - Remove other stat add/subtract macros - Rename counters for better understanding - Add put/get cache bulk counters v2: - Fix typo in the commit message --- Dharmik Thakkar (1): mempool: make stats macro generic Joyce Kong (1): mempool: distinguish debug counters from cache and pool lib/mempool/rte_mempool.c | 16 ++++++++++ lib/mempool/rte_mempool.h | 63 +++++++++++++++++++++++---------------- 2 files changed, 54 insertions(+), 25 deletions(-) -- 2.17.1