Home
last modified time | relevance | path

Searched refs:tx_entry (Results 1 – 5 of 5) sorted by relevance

/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx_vec.h15 struct hns3_entry *tx_entry; in hns3_tx_bulk_free_buffers() local
20 tx_entry = &txq->sw_ring[txq->next_to_clean]; in hns3_tx_bulk_free_buffers()
21 for (i = 0; i < txq->tx_rs_thresh; i++, tx_entry++) { in hns3_tx_bulk_free_buffers()
22 m = rte_pktmbuf_prefree_seg(tx_entry->mbuf); in hns3_tx_bulk_free_buffers()
23 tx_entry->mbuf = NULL; in hns3_tx_bulk_free_buffers()
H A Dhns3_rxtx_vec_neon.h34 struct hns3_entry *tx_entry; in hns3_xmit_fixed_burst_vec() local
52 tx_entry = &txq->sw_ring[next_to_use]; in hns3_xmit_fixed_burst_vec()
63 tx_entry[i].mbuf = *tx_pkts; in hns3_xmit_fixed_burst_vec()
69 tx_entry = &txq->sw_ring[next_to_use]; in hns3_xmit_fixed_burst_vec()
74 tx_entry[i].mbuf = *tx_pkts; in hns3_xmit_fixed_burst_vec()
H A Dhns3_rxtx_vec_sve.c362 struct hns3_entry *tx_entry = &txq->sw_ring[txq->next_to_use]; in hns3_tx_fill_hw_ring_sve() local
382 svst1_u64(pg, (uint64_t *)tx_entry, base_addr); in hns3_tx_fill_hw_ring_sve()
415 tx_entry += svcntd(); in hns3_tx_fill_hw_ring_sve()
H A Dhns3_rxtx.c3405 struct hns3_entry *tx_entry; in hns3_tx_free_buffer_simple() local
3428 tx_entry = &txq->sw_ring[txq->next_to_clean]; in hns3_tx_free_buffer_simple()
3431 rte_prefetch0((tx_entry + i)->mbuf); in hns3_tx_free_buffer_simple()
3433 rte_mempool_put(tx_entry->mbuf->pool, tx_entry->mbuf); in hns3_tx_free_buffer_simple()
3434 tx_entry->mbuf = NULL; in hns3_tx_free_buffer_simple()
3445 tx_entry->mbuf = pkts[0]; in hns3_tx_backup_1mbuf()
3451 hns3_tx_backup_1mbuf(&tx_entry[0], &pkts[0]); in hns3_tx_backup_4mbuf()
3452 hns3_tx_backup_1mbuf(&tx_entry[1], &pkts[1]); in hns3_tx_backup_4mbuf()
3453 hns3_tx_backup_1mbuf(&tx_entry[2], &pkts[2]); in hns3_tx_backup_4mbuf()
3454 hns3_tx_backup_1mbuf(&tx_entry[3], &pkts[3]); in hns3_tx_backup_4mbuf()
[all …]
/f-stack/dpdk/drivers/net/atlantic/
H A Datl_rxtx.c195 struct atl_tx_entry *tx_entry; in atl_reset_tx_queue() local
206 tx_entry = txq->sw_ring; in atl_reset_tx_queue()
216 tx_entry[i].mbuf = NULL; in atl_reset_tx_queue()
1229 struct atl_tx_entry *tx_entry; in atl_xmit_pkt() local
1285 tx_entry = &txq->sw_ring[tail]; in atl_xmit_pkt()
1287 if (tx_entry->mbuf) in atl_xmit_pkt()
1288 rte_pktmbuf_free_seg(tx_entry->mbuf); in atl_xmit_pkt()
1289 tx_entry->mbuf = m_seg; in atl_xmit_pkt()