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

Function ionic_recv_pkts_sg

dpdk/drivers/net/ionic/ionic_rxtx_sg.c:510–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510uint16_t
511ionic_recv_pkts_sg(void *rx_queue, struct rte_mbuf **rx_pkts,
512 uint16_t nb_pkts)
513{
514 struct ionic_rx_qcq *rxq = rx_queue;
515 struct ionic_rx_service rx_svc;
516
517 rx_svc.rx_pkts = rx_pkts;
518 rx_svc.nb_rx = 0;
519
520 ionic_rxq_service_sg(rxq, nb_pkts, &rx_svc);
521
522 return rx_svc.nb_rx;
523}
524
525/*
526 * Fills all descriptors with mbufs.

Callers

nothing calls this directly

Calls 1

ionic_rxq_service_sgFunction · 0.85

Tested by

no test coverage detected