Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/
H A Dgve_tx.c414 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb() local
441 hdr_nfrags = gve_tx_alloc_fifo(&tx->tx_fifo, hlen + pad_bytes, in gve_tx_add_skb()
443 WARN(!hdr_nfrags, "hdr_nfrags should never be 0!"); in gve_tx_add_skb()
449 info->iov[hdr_nfrags - 1].iov_offset); in gve_tx_add_skb()
452 tx->tx_fifo.base + info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb()
455 info->iov[hdr_nfrags - 1].iov_offset, in gve_tx_add_skb()
456 info->iov[hdr_nfrags - 1].iov_len); in gve_tx_add_skb()
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/
H A Dgve_tx.c510 int pad_bytes, hlen, hdr_nfrags, payload_nfrags, l4_hdr_offset; in gve_tx_add_skb_copy() local
536 hdr_nfrags = gve_tx_alloc_fifo(&tx->tx_fifo, hlen + pad_bytes, in gve_tx_add_skb_copy()
538 WARN(!hdr_nfrags, "hdr_nfrags should never be 0!"); 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()

Completed in 3 milliseconds