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

Function dsw_port_drain_in_ring

dpdk/drivers/event/dsw/dsw_evdev.c:320–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320static void
321dsw_port_drain_in_ring(uint8_t dev_id, struct dsw_port *port,
322 eventdev_stop_flush_t flush, void *flush_arg)
323{
324 struct rte_event ev;
325
326 while (rte_event_ring_dequeue_burst(port->in_ring, &ev, 1, NULL))
327 flush(dev_id, ev, flush_arg);
328}
329
330static void
331dsw_drain(uint8_t dev_id, struct dsw_evdev *dsw,

Callers 1

dsw_drainFunction · 0.70

Calls 2

flushFunction · 0.50

Tested by

no test coverage detected