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

Function common_ring_mp_enqueue

dpdk/drivers/mempool/ring/rte_mempool_ring.c:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <rte_mempool.h>
11
12static int
13common_ring_mp_enqueue(struct rte_mempool *mp, void * const *obj_table,
14 unsigned n)
15{
16 return rte_ring_mp_enqueue_bulk(mp->pool_data,
17 obj_table, n, NULL) == 0 ? -ENOBUFS : 0;
18}
19
20static int
21common_ring_sp_enqueue(struct rte_mempool *mp, void * const *obj_table,

Callers

nothing calls this directly

Calls 1

rte_ring_mp_enqueue_bulkFunction · 0.85

Tested by

no test coverage detected