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

Function flush

dpdk/drivers/event/sw/sw_evdev_selftest.c:2890–2894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2888}
2889
2890static void
2891flush(uint8_t dev_id __rte_unused, struct rte_event event, void *arg)
2892{
2893 *((uint8_t *) arg) += (event.u64 == 0xCA11BACC) ? 1 : 0;
2894}
2895
2896static int
2897dev_stop_flush(struct test *t) /* test to check we can properly flush events */

Callers 2

sw_drain_portsFunction · 0.70
sw_drain_queueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected