Lines Matching refs:iov

85 			     struct gve_tx_iovec iov[2])  in gve_tx_alloc_fifo()
105 iov[0].iov_offset = fifo->head; in gve_tx_alloc_fifo()
106 iov[0].iov_len = bytes; in gve_tx_alloc_fifo()
115 iov[0].iov_len -= overflow; in gve_tx_alloc_fifo()
116 iov[1].iov_offset = 0; /* Start of fifo*/ in gve_tx_alloc_fifo()
117 iov[1].iov_len = overflow; in gve_tx_alloc_fifo()
125 iov[nfrags - 1].iov_padding = padding; in gve_tx_alloc_fifo()
149 for (i = 0; i < ARRAY_SIZE(info->iov); i++) { in gve_tx_clear_buffer_state()
150 space_freed += info->iov[i].iov_len + info->iov[i].iov_padding; in gve_tx_clear_buffer_state()
151 info->iov[i].iov_len = 0; in gve_tx_clear_buffer_state()
152 info->iov[i].iov_padding = 0; in gve_tx_clear_buffer_state()
537 &info->iov[0]); in gve_tx_add_skb_copy()
540 &info->iov[payload_iov]); in gve_tx_add_skb_copy()
545 info->iov[hdr_nfrags - 1].iov_offset, skb->len); in gve_tx_add_skb_copy()
548 tx->tx_fifo.base + info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
551 info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
552 info->iov[hdr_nfrags - 1].iov_len); in gve_tx_add_skb_copy()
567 info->iov[i].iov_len, in gve_tx_add_skb_copy()
568 info->iov[i].iov_offset); in gve_tx_add_skb_copy()
571 tx->tx_fifo.base + info->iov[i].iov_offset, in gve_tx_add_skb_copy()
572 info->iov[i].iov_len); in gve_tx_add_skb_copy()
574 info->iov[i].iov_offset, in gve_tx_add_skb_copy()
575 info->iov[i].iov_len); in gve_tx_add_skb_copy()
576 copy_offset += info->iov[i].iov_len; in gve_tx_add_skb_copy()
741 &info->iov[0]); in gve_tx_fill_xdp()
750 info->iov[iovi].iov_len, in gve_tx_fill_xdp()
751 info->iov[iovi].iov_offset, len); in gve_tx_fill_xdp()
755 info->iov[iovi].iov_len, in gve_tx_fill_xdp()
756 info->iov[iovi].iov_offset); in gve_tx_fill_xdp()
758 memcpy(tx->tx_fifo.base + info->iov[iovi].iov_offset, in gve_tx_fill_xdp()
759 data + offset, info->iov[iovi].iov_len); in gve_tx_fill_xdp()
762 info->iov[iovi].iov_offset, in gve_tx_fill_xdp()
763 info->iov[iovi].iov_len); in gve_tx_fill_xdp()
764 offset += info->iov[iovi].iov_len; in gve_tx_fill_xdp()