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

Function sw_clean_qid_iqs

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

Source from the content-addressed store, hash-verified

453}
454
455static void
456sw_clean_qid_iqs(struct rte_eventdev *dev)
457{
458 struct sw_evdev *sw = sw_pmd_priv(dev);
459 int i, j;
460
461 /* Release the IQ memory of all configured qids */
462 for (i = 0; i < RTE_EVENT_MAX_QUEUES_PER_DEV; i++) {
463 struct sw_qid *qid = &sw->qids[i];
464
465 for (j = 0; j < SW_IQS_MAX; j++) {
466 if (!qid->iq[j].head)
467 continue;
468 iq_free_chunk_list(sw, qid->iq[j].head);
469 qid->iq[j].head = NULL;
470 }
471 }
472}
473
474static void
475sw_queue_def_conf(struct rte_eventdev *dev, uint8_t queue_id,

Callers 1

sw_stopFunction · 0.85

Calls 2

sw_pmd_privFunction · 0.85
iq_free_chunk_listFunction · 0.85

Tested by

no test coverage detected