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

Function rte_mempool_get_ops

dpdk/lib/mempool/rte_mempool.h:741–747  ·  view source on GitHub ↗

* @internal Get the mempool ops struct from its index. * * @param ops_index * The index of the ops struct in the ops struct table. It must be a valid * index: (0 <= idx < num_ops). * @return * The pointer to the ops struct in the table. */

Source from the content-addressed store, hash-verified

739 * The pointer to the ops struct in the table.
740 */
741static inline struct rte_mempool_ops *
742rte_mempool_get_ops(int ops_index)
743{
744 RTE_VERIFY((ops_index >= 0) && (ops_index < RTE_MEMPOOL_MAX_OPS_IDX));
745
746 return &rte_mempool_ops_table.ops[ops_index];
747}
748
749/**
750 * @internal Wrapper for mempool_ops alloc callback.

Callers 15

rte_mempool_ops_allocFunction · 0.85
rte_mempool_ops_freeFunction · 0.85
rte_mempool_ops_populateFunction · 0.85
rte_mempool_ops_get_infoFunction · 0.85
rte_mempool_dumpFunction · 0.85
cnxk_nix_process_rx_confFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_m2d_auto_freeFunction · 0.68