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

Function dpaa_eth_queue_portal_rx

dpdk/drivers/net/dpaa/dpaa_rxtx.c:615–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

613}
614
615static uint16_t
616dpaa_eth_queue_portal_rx(struct qman_fq *fq,
617 struct rte_mbuf **bufs,
618 uint16_t nb_bufs)
619{
620 int ret;
621
622 if (unlikely(!fq->qp_initialized)) {
623 ret = rte_dpaa_portal_fq_init((void *)0, fq);
624 if (ret) {
625 DPAA_PMD_ERR("Failure in affining portal %d", ret);
626 return 0;
627 }
628 fq->qp_initialized = 1;
629 }
630
631 return qman_portal_poll_rx(nb_bufs, (void **)bufs, fq->qp);
632}
633
634enum qman_cb_dqrr_result
635dpaa_rx_cb_parallel(void *event,

Callers 1

dpaa_eth_queue_rxFunction · 0.85

Calls 2

rte_dpaa_portal_fq_initFunction · 0.85
qman_portal_poll_rxFunction · 0.85

Tested by

no test coverage detected