Lines Matching refs:tx_info
267 struct ena_tx_buffer *tx_info; in ena_tx_cleanup() local
274 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_tx_cleanup()
276 mbuf = tx_info->mbuf; in ena_tx_cleanup()
278 tx_info->mbuf = NULL; in ena_tx_cleanup()
279 bintime_clear(&tx_info->timestamp); in ena_tx_cleanup()
281 bus_dmamap_sync(adapter->tx_buf_tag, tx_info->dmamap, in ena_tx_cleanup()
283 bus_dmamap_unload(adapter->tx_buf_tag, tx_info->dmamap); in ena_tx_cleanup()
290 total_done += tx_info->tx_descs; in ena_tx_cleanup()
853 ena_tx_map_mbuf(struct ena_ring *tx_ring, struct ena_tx_buffer *tx_info, in ena_tx_map_mbuf() argument
865 tx_info->mbuf = mbuf; in ena_tx_map_mbuf()
866 ena_buf = tx_info->bufs; in ena_tx_map_mbuf()
873 tx_info->dmamap, mbuf, segs, &nsegs, BUS_DMA_NOWAIT); in ena_tx_map_mbuf()
932 tx_info->num_of_bufs++; in ena_tx_map_mbuf()
956 tx_info->num_of_bufs++; in ena_tx_map_mbuf()
963 tx_info->mbuf = NULL; in ena_tx_map_mbuf()
972 struct ena_tx_buffer *tx_info; in ena_xmit_mbuf() local
1001 tx_info = &tx_ring->tx_buffer_info[req_id]; in ena_xmit_mbuf()
1002 tx_info->num_of_bufs = 0; in ena_xmit_mbuf()
1004 ENA_WARN(tx_info->mbuf != NULL, adapter->ena_dev, in ena_xmit_mbuf()
1007 rc = ena_tx_map_mbuf(tx_ring, tx_info, *mbuf, &push_hdr, &header_len); in ena_xmit_mbuf()
1013 ena_tx_ctx.ena_bufs = tx_info->bufs; in ena_xmit_mbuf()
1015 ena_tx_ctx.num_bufs = tx_info->num_of_bufs; in ena_xmit_mbuf()
1055 tx_info->tx_descs = nb_hw_desc; in ena_xmit_mbuf()
1056 getbinuptime(&tx_info->timestamp); in ena_xmit_mbuf()
1057 tx_info->print_once = true; in ena_xmit_mbuf()
1089 bus_dmamap_sync(adapter->tx_buf_tag, tx_info->dmamap, in ena_xmit_mbuf()
1095 tx_info->mbuf = NULL; in ena_xmit_mbuf()
1096 bus_dmamap_unload(adapter->tx_buf_tag, tx_info->dmamap); in ena_xmit_mbuf()