Lines Matching refs:mbuf
82 struct rte_mbuf *mbuf; /**< mbuf associated with RX descriptor. */ member
89 struct rte_mbuf *mbuf; /**< mbuf associated with TX desc, if any. */ member
428 RTE_MBUF_PREFETCH_TO_FREE(txe->mbuf); in eth_igb_xmit_pkts()
562 RTE_MBUF_PREFETCH_TO_FREE(txn->mbuf); in eth_igb_xmit_pkts()
564 if (txe->mbuf != NULL) { in eth_igb_xmit_pkts()
565 rte_pktmbuf_free_seg(txe->mbuf); in eth_igb_xmit_pkts()
566 txe->mbuf = NULL; in eth_igb_xmit_pkts()
587 if (txe->mbuf != NULL) in eth_igb_xmit_pkts()
588 rte_pktmbuf_free_seg(txe->mbuf); in eth_igb_xmit_pkts()
589 txe->mbuf = m_seg; in eth_igb_xmit_pkts()
913 rte_igb_prefetch(sw_ring[rx_id].mbuf); in eth_igb_recv_pkts()
925 rxm = rxe->mbuf; in eth_igb_recv_pkts()
926 rxe->mbuf = nmb; in eth_igb_recv_pkts()
1104 rte_igb_prefetch(sw_ring[rx_id].mbuf); in eth_igb_recv_scattered_pkts()
1120 rxm = rxe->mbuf; in eth_igb_recv_scattered_pkts()
1121 rxe->mbuf = nmb; in eth_igb_recv_scattered_pkts()
1285 if (txq->sw_ring[i].mbuf != NULL) { in igb_tx_queue_release_mbufs()
1286 rte_pktmbuf_free_seg(txq->sw_ring[i].mbuf); in igb_tx_queue_release_mbufs()
1287 txq->sw_ring[i].mbuf = NULL; in igb_tx_queue_release_mbufs()
1350 if (sw_ring[tx_last].mbuf) { in igb_tx_done_cleanup()
1365 if (sw_ring[tx_id].mbuf) { in igb_tx_done_cleanup()
1367 sw_ring[tx_id].mbuf); in igb_tx_done_cleanup()
1368 sw_ring[tx_id].mbuf = NULL; in igb_tx_done_cleanup()
1408 if (sw_ring[tx_id].mbuf) in igb_tx_done_cleanup()
1416 if (!sw_ring[tx_id].mbuf) in igb_tx_done_cleanup()
1460 txe[i].mbuf = NULL; in igb_reset_tx_queue()
1623 if (rxq->sw_ring[i].mbuf != NULL) { in igb_rx_queue_release_mbufs()
1624 rte_pktmbuf_free_seg(rxq->sw_ring[i].mbuf); in igb_rx_queue_release_mbufs()
1625 rxq->sw_ring[i].mbuf = NULL; in igb_rx_queue_release_mbufs()
2284 struct rte_mbuf *mbuf = rte_mbuf_raw_alloc(rxq->mb_pool); in igb_alloc_rx_queue_mbufs() local
2286 if (mbuf == NULL) { in igb_alloc_rx_queue_mbufs()
2292 rte_cpu_to_le_64(rte_mbuf_data_iova_default(mbuf)); in igb_alloc_rx_queue_mbufs()
2296 rxe[i].mbuf = mbuf; in igb_alloc_rx_queue_mbufs()