MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_mempool_generic_put

Function rte_mempool_generic_put

dpdk/lib/mempool/rte_mempool.h:1431–1438  ·  view source on GitHub ↗

* Put several objects back in the mempool. * * @param mp * A pointer to the mempool structure. * @param obj_table * A pointer to a table of void * pointers (objects). * @param n * The number of objects to add in the mempool from the obj_table. * @param cache * A pointer to a mempool cache structure. May be NULL if not needed. */

Source from the content-addressed store, hash-verified

1429 * A pointer to a mempool cache structure. May be NULL if not needed.
1430 */
1431static __rte_always_inline void
1432rte_mempool_generic_put(struct rte_mempool *mp, void * const *obj_table,
1433 unsigned int n, struct rte_mempool_cache *cache)
1434{
1435 rte_mempool_trace_generic_put(mp, obj_table, n, cache);
1436 RTE_MEMPOOL_CHECK_COOKIES(mp, obj_table, n, 0);
1437 rte_mempool_do_generic_put(mp, obj_table, n, cache);
1438}
1439
1440/**
1441 * Put several objects back in the mempool.

Callers 4

rte_mempool_put_bulkFunction · 0.85
i40e_tx_free_bufs_avx512Function · 0.85
test_loopFunction · 0.85
test_mempool_basicFunction · 0.85

Calls 1

Tested by 2

test_loopFunction · 0.68
test_mempool_basicFunction · 0.68