| 1322 | } |
| 1323 | |
| 1324 | static void |
| 1325 | em_rx_queue_release_mbufs(struct em_rx_queue *rxq) |
| 1326 | { |
| 1327 | unsigned i; |
| 1328 | |
| 1329 | if (rxq->sw_ring != NULL) { |
| 1330 | for (i = 0; i != rxq->nb_rx_desc; i++) { |
| 1331 | if (rxq->sw_ring[i].mbuf != NULL) { |
| 1332 | rte_pktmbuf_free_seg(rxq->sw_ring[i].mbuf); |
| 1333 | rxq->sw_ring[i].mbuf = NULL; |
| 1334 | } |
| 1335 | } |
| 1336 | } |
| 1337 | } |
| 1338 | |
| 1339 | static void |
| 1340 | em_rx_queue_release(struct em_rx_queue *rxq) |
no test coverage detected