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

Function sw_init_qid_iqs

dpdk/drivers/event/sw/sw_evdev.c:349–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349static void
350sw_init_qid_iqs(struct sw_evdev *sw)
351{
352 int i, j;
353
354 /* Initialize the IQ memory of all configured qids */
355 for (i = 0; i < RTE_EVENT_MAX_QUEUES_PER_DEV; i++) {
356 struct sw_qid *qid = &sw->qids[i];
357
358 if (!qid->initialized)
359 continue;
360
361 for (j = 0; j < SW_IQS_MAX; j++)
362 iq_init(sw, &qid->iq[j]);
363 }
364}
365
366static int
367sw_qids_empty(struct sw_evdev *sw)

Callers 1

sw_startFunction · 0.85

Calls 1

iq_initFunction · 0.85

Tested by

no test coverage detected