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

Function test_ring_create

dpdk/app/test/test_ring.h:33–43  ·  view source on GitHub ↗

This function is placed here as it is required for both * performance and functional tests. */

Source from the content-addressed store, hash-verified

31 * performance and functional tests.
32 */
33static inline struct rte_ring*
34test_ring_create(const char *name, int esize, unsigned int count,
35 int socket_id, unsigned int flags)
36{
37 /* Legacy queue APIs? */
38 if (esize == -1)
39 return rte_ring_create(name, count, socket_id, flags);
40 else
41 return rte_ring_create_elem(name, esize, count,
42 socket_id, flags);
43}
44
45static inline void*
46test_ring_inc_ptr(void *obj, int esize, unsigned int n)

Callers 8

test_ring_perf_esizeFunction · 0.85
test_ring_negative_testsFunction · 0.85
test_ring_basic_exFunction · 0.85

Calls 2

rte_ring_createFunction · 0.85
rte_ring_create_elemFunction · 0.85

Tested by

no test coverage detected