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

Function dsw_port_ctl_enqueue

dpdk/drivers/event/dsw/dsw_event.c:185–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185static void
186dsw_port_ctl_enqueue(struct dsw_port *port, struct dsw_ctl_msg *msg)
187{
188 /* there's always room on the ring */
189 while (rte_ring_enqueue_elem(port->ctl_in_ring, msg, sizeof(*msg)) != 0)
190 rte_pause();
191}
192
193static int
194dsw_port_ctl_dequeue(struct dsw_port *port, struct dsw_ctl_msg *msg)

Callers 3

dsw_port_ctl_broadcastFunction · 0.85

Calls 2

rte_ring_enqueue_elemFunction · 0.85
rte_pauseFunction · 0.50

Tested by

no test coverage detected