Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/xen-netback/
Drx.c261 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()
Dcommon.h299 u16 xdp_headroom; member
Dxenbus.c406 vif->xdp_headroom = 0; in read_xenbus_frontend_xdp()
411 vif->xdp_headroom = headroom; in read_xenbus_frontend_xdp()
Dinterface.c529 vif->xdp_headroom = 0; in xenvif_alloc()
/Linux-v5.10/drivers/net/
Dvirtio_net.c645 unsigned int xdp_headroom = (unsigned long)ctx; in receive_small() local
646 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() local
1106 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()