| 508 | } |
| 509 | |
| 510 | uint16_t |
| 511 | ionic_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. |
nothing calls this directly
no test coverage detected