Lines Matching refs:iov
76 struct gve_tx_iovec iov[2]) in gve_tx_alloc_fifo()
96 iov[0].iov_offset = fifo->head; in gve_tx_alloc_fifo()
97 iov[0].iov_len = bytes; in gve_tx_alloc_fifo()
106 iov[0].iov_len -= overflow; in gve_tx_alloc_fifo()
107 iov[1].iov_offset = 0; /* Start of fifo*/ in gve_tx_alloc_fifo()
108 iov[1].iov_len = overflow; in gve_tx_alloc_fifo()
116 iov[nfrags - 1].iov_padding = padding; in gve_tx_alloc_fifo()
471 &info->iov[0]); in gve_tx_add_skb_copy()
474 &info->iov[payload_iov]); in gve_tx_add_skb_copy()
478 info->iov[hdr_nfrags - 1].iov_offset); in gve_tx_add_skb_copy()
481 tx->tx_fifo.base + info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
484 info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
485 info->iov[hdr_nfrags - 1].iov_len); in gve_tx_add_skb_copy()
498 info->iov[i].iov_len, in gve_tx_add_skb_copy()
499 info->iov[i].iov_offset); in gve_tx_add_skb_copy()
502 tx->tx_fifo.base + info->iov[i].iov_offset, in gve_tx_add_skb_copy()
503 info->iov[i].iov_len); in gve_tx_add_skb_copy()
505 info->iov[i].iov_offset, in gve_tx_add_skb_copy()
506 info->iov[i].iov_len); in gve_tx_add_skb_copy()
507 copy_offset += info->iov[i].iov_len; in gve_tx_add_skb_copy()
684 for (i = 0; i < ARRAY_SIZE(info->iov); i++) { in gve_clean_tx_done()
685 space_freed += info->iov[i].iov_len + info->iov[i].iov_padding; in gve_clean_tx_done()
686 info->iov[i].iov_len = 0; in gve_clean_tx_done()
687 info->iov[i].iov_padding = 0; in gve_clean_tx_done()