Lines Matching refs:tx_info

118 		    struct ena_tx_buffer *tx_info,
155 tx_info->tx_descs = nb_hw_desc;
156 tx_info->total_tx_size = bytes;
157 tx_info->last_jiffies = jiffies;
158 tx_info->print_once = 0;
686 struct ena_tx_buffer *tx_info)
692 ena_buf = tx_info->bufs;
693 cnt = tx_info->num_of_bufs;
698 if (tx_info->map_linear_data) {
727 struct ena_tx_buffer *tx_info = &tx_ring->tx_buffer_info[i];
729 if (!tx_info->skb)
743 ena_unmap_tx_buff(tx_ring, tx_info);
746 xdp_return_frame(tx_info->xdpf);
748 dev_kfree_skb_any(tx_info->skb);
798 struct ena_tx_buffer *tx_info, bool is_xdp)
800 if (tx_info)
804 "tx_info doesn't have valid %s. qid %u req_id %u",
821 struct ena_tx_buffer *tx_info;
823 tx_info = &tx_ring->tx_buffer_info[req_id];
824 if (likely(tx_info->skb))
827 return handle_invalid_req_id(tx_ring, req_id, tx_info, false);
845 struct ena_tx_buffer *tx_info;
861 tx_info = &tx_ring->tx_buffer_info[req_id];
862 skb = tx_info->skb;
867 tx_info->skb = NULL;
868 tx_info->last_jiffies = 0;
870 ena_unmap_tx_buff(tx_ring, tx_info);
876 tx_bytes += tx_info->total_tx_size;
879 total_done += tx_info->tx_descs;
2495 struct ena_tx_buffer *tx_info,
2509 tx_info->skb = skb;
2510 ena_buf = tx_info->bufs;
2553 tx_info->num_of_bufs++;
2554 tx_info->map_linear_data = 1;
2556 tx_info->map_linear_data = 0;
2579 tx_info->num_of_bufs++;
2590 tx_info->skb = NULL;
2592 tx_info->num_of_bufs += i;
2593 ena_unmap_tx_buff(tx_ring, tx_info);
2602 struct ena_tx_buffer *tx_info;
2622 tx_info = &tx_ring->tx_buffer_info[req_id];
2623 tx_info->num_of_bufs = 0;
2625 WARN(tx_info->skb, "SKB isn't NULL req_id %d\n", req_id);
2627 rc = ena_tx_map_skb(tx_ring, tx_info, skb, &push_hdr, &header_len);
2632 ena_tx_ctx.ena_bufs = tx_info->bufs;
2634 ena_tx_ctx.num_bufs = tx_info->num_of_bufs;
2643 tx_info,
2694 ena_unmap_tx_buff(tx_ring, tx_info);
2695 tx_info->skb = NULL;