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