Lines Matching refs:tx_info
220 "tx_info doesn't have valid mbuf. req_id %hu qid %hu\n",
265 struct ena_tx_buffer *tx_info;
272 tx_info = &tx_ring->tx_buffer_info[req_id];
274 mbuf = tx_info->mbuf;
276 tx_info->mbuf = NULL;
277 bintime_clear(&tx_info->timestamp);
279 bus_dmamap_sync(adapter->tx_buf_tag, tx_info->dmamap,
281 bus_dmamap_unload(adapter->tx_buf_tag, tx_info->dmamap);
288 total_done += tx_info->tx_descs;
845 ena_tx_map_mbuf(struct ena_ring *tx_ring, struct ena_tx_buffer *tx_info,
857 tx_info->mbuf = mbuf;
858 ena_buf = tx_info->bufs;
865 tx_info->dmamap, mbuf, segs, &nsegs, BUS_DMA_NOWAIT);
924 tx_info->num_of_bufs++;
948 tx_info->num_of_bufs++;
955 tx_info->mbuf = NULL;
964 struct ena_tx_buffer *tx_info;
993 tx_info = &tx_ring->tx_buffer_info[req_id];
994 tx_info->num_of_bufs = 0;
996 ENA_WARN(tx_info->mbuf != NULL, adapter->ena_dev,
999 rc = ena_tx_map_mbuf(tx_ring, tx_info, *mbuf, &push_hdr, &header_len);
1005 ena_tx_ctx.ena_bufs = tx_info->bufs;
1007 ena_tx_ctx.num_bufs = tx_info->num_of_bufs;
1047 tx_info->tx_descs = nb_hw_desc;
1048 getbinuptime(&tx_info->timestamp);
1049 tx_info->print_once = true;
1081 bus_dmamap_sync(adapter->tx_buf_tag, tx_info->dmamap,
1087 tx_info->mbuf = NULL;
1088 bus_dmamap_unload(adapter->tx_buf_tag, tx_info->dmamap);