Searched refs:xdp_headroom (Results 1 – 5 of 5) sorted by relevance
261 if (queue->vif->xdp_headroom) { in xenvif_rx_next_skb()267 extra->u.xdp.headroom = queue->vif->xdp_headroom; in xenvif_rx_next_skb()372 unsigned int offset = queue->vif->xdp_headroom; in xenvif_rx_data_slot()
299 u16 xdp_headroom; member
406 vif->xdp_headroom = 0; in read_xenbus_frontend_xdp()411 vif->xdp_headroom = headroom; in read_xenbus_frontend_xdp()
529 vif->xdp_headroom = 0; in xenvif_alloc()
645 unsigned int xdp_headroom = (unsigned long)ctx; in receive_small() local646 unsigned int header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small()671 if (unlikely(xdp_headroom < virtnet_get_headroom(vi))) { in receive_small()676 xdp_headroom = virtnet_get_headroom(vi); in receive_small()677 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small()693 xdp.data = xdp.data_hard_start + xdp_headroom; in receive_small()1105 unsigned int xdp_headroom = virtnet_get_headroom(vi); in add_recvbuf_small() local1106 void *ctx = (void *)(unsigned long)xdp_headroom; in add_recvbuf_small()1107 int len = vi->hdr_len + VIRTNET_RX_PAD + GOOD_PACKET_LEN + xdp_headroom; in add_recvbuf_small()1118 sg_init_one(rq->sg, buf + VIRTNET_RX_PAD + xdp_headroom, in add_recvbuf_small()