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

Function parse_eventq_sched

dpdk/examples/l3fwd/main.c:621–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619
620#ifdef RTE_LIB_EVENTDEV
621static void
622parse_eventq_sched(const char *optarg)
623{
624 struct l3fwd_event_resources *evt_rsrc = l3fwd_get_eventdev_rsrc();
625
626 if (!strcmp(optarg, "ordered"))
627 evt_rsrc->sched_type = RTE_SCHED_TYPE_ORDERED;
628 if (!strcmp(optarg, "atomic"))
629 evt_rsrc->sched_type = RTE_SCHED_TYPE_ATOMIC;
630 if (!strcmp(optarg, "parallel"))
631 evt_rsrc->sched_type = RTE_SCHED_TYPE_PARALLEL;
632}
633
634static void
635parse_event_eth_rx_queues(const char *eth_rx_queues)

Callers 1

parse_argsFunction · 0.85

Calls 2

l3fwd_get_eventdev_rsrcFunction · 0.85
strcmpFunction · 0.85

Tested by

no test coverage detected