Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dvirtio_net.c42 #define VIRTNET_RX_PAD (NET_IP_ALIGN + NET_SKB_PAD) macro
1692 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_build_skb()
1717 unsigned int header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp()
1744 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp()
1760 xdp_prepare_buff(&xdp, buf + VIRTNET_RX_PAD + vi->hdr_len, in receive_small_xdp()
1813 buf -= VIRTNET_RX_PAD + xdp_headroom; in receive_small()
2420 int len = vi->hdr_len + VIRTNET_RX_PAD + GOOD_PACKET_LEN + xdp_headroom; in add_recvbuf_small()
2430 buf += VIRTNET_RX_PAD + xdp_headroom; in add_recvbuf_small()