Home
last modified time | relevance | path

Searched refs:hdr_nfrags (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_tx.c511 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb_copy() local
537 hdr_nfrags = gve_tx_alloc_fifo(&tx->tx_fifo, hlen + pad_bytes, in gve_tx_add_skb_copy()
539 WARN(!hdr_nfrags, "hdr_nfrags should never be 0!"); in gve_tx_add_skb_copy()
546 info->iov[hdr_nfrags - 1].iov_offset, skb->len); in gve_tx_add_skb_copy()
549 tx->tx_fifo.base + info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
552 info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb_copy()
553 info->iov[hdr_nfrags - 1].iov_len); in gve_tx_add_skb_copy()