Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/
Dvirtio_net.c42 #define VIRTIO_XDP_HEADROOM 256 macro
1060 return vi->xdp_enabled ? VIRTIO_XDP_HEADROOM : 0; in virtnet_get_headroom()
1124 *len = page_off - VIRTIO_XDP_HEADROOM; in xdp_linearize_page()
1407 xdp_prepare_buff(xdp, buf - VIRTIO_XDP_HEADROOM, in virtnet_build_xdp_buff_mrg()
1408 VIRTIO_XDP_HEADROOM + vi->hdr_len, len - vi->hdr_len, true); in virtnet_build_xdp_buff_mrg()
1521 VIRTIO_XDP_HEADROOM, in mergeable_xdp_get_buf()
1526 xdp_room = SKB_DATA_ALIGN(VIRTIO_XDP_HEADROOM + in mergeable_xdp_get_buf()
1535 memcpy(page_address(xdp_page) + VIRTIO_XDP_HEADROOM, in mergeable_xdp_get_buf()
1545 return page_address(*page) + VIRTIO_XDP_HEADROOM; in mergeable_xdp_get_buf()
3683 unsigned int room = SKB_DATA_ALIGN(VIRTIO_XDP_HEADROOM + in virtnet_xdp_set()