Lines Matching refs:tx_info
172 struct ena_tx_buffer *tx_info,
675 struct ena_tx_buffer *tx_info = NULL; in validate_tx_req_id() local
678 tx_info = &tx_ring->tx_buffer_info[req_id]; in validate_tx_req_id()
679 if (likely(tx_info->mbuf)) in validate_tx_req_id()
683 if (tx_info) in validate_tx_req_id()
2860 struct ena_tx_buffer *tx_info, in ena_tx_map_mbuf() argument
2871 tx_info->mbuf = mbuf; in ena_tx_map_mbuf()
2872 ena_buf = tx_info->bufs; in ena_tx_map_mbuf()
2911 tx_info->num_of_bufs++; in ena_tx_map_mbuf()
2926 tx_info->num_of_bufs++; in ena_tx_map_mbuf()
2934 struct ena_tx_buffer *tx_info; in ena_xmit_mbuf() local
2955 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_xmit_mbuf()
2956 tx_info->num_of_bufs = 0; in ena_xmit_mbuf()
2957 RTE_ASSERT(tx_info->mbuf == NULL); in ena_xmit_mbuf()
2959 ena_tx_map_mbuf(tx_ring, tx_info, mbuf, &push_header, &header_len); in ena_xmit_mbuf()
2961 ena_tx_ctx.ena_bufs = tx_info->bufs; in ena_xmit_mbuf()
2963 ena_tx_ctx.num_bufs = tx_info->num_of_bufs; in ena_xmit_mbuf()
2992 tx_info->tx_descs = nb_hw_desc; in ena_xmit_mbuf()
2993 tx_info->timestamp = rte_get_timer_cycles(); in ena_xmit_mbuf()
3021 struct ena_tx_buffer *tx_info; in ena_tx_cleanup() local
3031 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_tx_cleanup()
3032 tx_info->timestamp = 0; in ena_tx_cleanup()
3034 mbuf = tx_info->mbuf; in ena_tx_cleanup()
3037 tx_info->mbuf = NULL; in ena_tx_cleanup()
3040 total_tx_descs += tx_info->tx_descs; in ena_tx_cleanup()