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

Function rte_event_ring_init

dpdk/lib/eventdev/rte_event_ring.c:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "eventdev_trace.h"
9
10int
11rte_event_ring_init(struct rte_event_ring *r, const char *name,
12 unsigned int count, unsigned int flags)
13{
14 /* compilation-time checks */
15 RTE_BUILD_BUG_ON((sizeof(struct rte_event_ring) &
16 RTE_CACHE_LINE_MASK) != 0);
17
18 rte_eventdev_trace_ring_init(r, name, count, flags);
19
20 /* init the ring structure */
21 return rte_ring_init(&r->r, name, count, flags);
22}
23
24/* create the ring */
25struct rte_event_ring *

Callers

nothing calls this directly

Calls 1

rte_ring_initFunction · 0.85

Tested by

no test coverage detected