Searched refs:xdp_headroom (Results 1 – 5 of 5) sorted by relevance
287 if (queue->vif->xdp_headroom) { in xenvif_rx_next_skb()293 extra->u.xdp.headroom = queue->vif->xdp_headroom; in xenvif_rx_next_skb()398 unsigned int offset = queue->vif->xdp_headroom; in xenvif_rx_data_slot()
297 u16 xdp_headroom; member
406 vif->xdp_headroom = 0; in read_xenbus_frontend_xdp()411 vif->xdp_headroom = headroom; in read_xenbus_frontend_xdp()
516 vif->xdp_headroom = 0; in xenvif_alloc()
739 unsigned int xdp_headroom = (unsigned long)ctx; in receive_small() local740 unsigned int header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small()771 if (unlikely(xdp_headroom < virtnet_get_headroom(vi))) { in receive_small()776 xdp_headroom = virtnet_get_headroom(vi); in receive_small()777 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small()794 xdp_headroom, len, true); in receive_small()1226 unsigned int xdp_headroom = virtnet_get_headroom(vi); in add_recvbuf_small() local1227 void *ctx = (void *)(unsigned long)xdp_headroom; in add_recvbuf_small()1228 int len = vi->hdr_len + VIRTNET_RX_PAD + GOOD_PACKET_LEN + xdp_headroom; in add_recvbuf_small()1239 sg_init_one(rq->sg, buf + VIRTNET_RX_PAD + xdp_headroom, in add_recvbuf_small()