Home
last modified time | relevance | path

Searched refs:xdp_headroom (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/xen-netback/
H A Drx.c287 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()
H A Dcommon.h297 u16 xdp_headroom; member
H A Dxenbus.c406 vif->xdp_headroom = 0; in read_xenbus_frontend_xdp()
411 vif->xdp_headroom = headroom; in read_xenbus_frontend_xdp()
H A Dinterface.c518 vif->xdp_headroom = 0; in xenvif_alloc()
/kernel/linux/linux-6.6/drivers/net/xen-netback/
H A Drx.c287 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()
H A Dcommon.h297 u16 xdp_headroom; member
H A Dxenbus.c406 vif->xdp_headroom = 0; in read_xenbus_frontend_xdp()
411 vif->xdp_headroom = headroom; in read_xenbus_frontend_xdp()
H A Dinterface.c519 vif->xdp_headroom = 0; in xenvif_alloc()
/kernel/linux/linux-6.6/drivers/net/
H A Dvirtio_net.c1145 unsigned int xdp_headroom, in receive_small_build_skb()
1154 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_build_skb()
1174 unsigned int xdp_headroom, in receive_small_xdp()
1179 unsigned int header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp()
1196 if (unlikely(xdp_headroom < virtnet_get_headroom(vi))) { in receive_small_xdp()
1201 xdp_headroom = virtnet_get_headroom(vi); in receive_small_xdp()
1202 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp()
1219 xdp_headroom, len, true); in receive_small_xdp()
1264 unsigned int xdp_headroom = (unsigned long)ctx; in receive_small() local
1285 xdp_headroom, le in receive_small()
1144 receive_small_build_skb(struct virtnet_info *vi, unsigned int xdp_headroom, void *buf, unsigned int len) receive_small_build_skb() argument
1169 receive_small_xdp(struct net_device *dev, struct virtnet_info *vi, struct receive_queue *rq, struct bpf_prog *xdp_prog, void *buf, unsigned int xdp_headroom, unsigned int len, unsigned int *xdp_xmit, struct virtnet_rq_stats *stats) receive_small_xdp() argument
1832 unsigned int xdp_headroom = virtnet_get_headroom(vi); add_recvbuf_small() local
[all...]
/kernel/linux/linux-5.10/drivers/net/
H A Dvirtio_net.c706 unsigned int xdp_headroom = (unsigned long)ctx; in receive_small() local
707 unsigned int header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small()
738 if (unlikely(xdp_headroom < virtnet_get_headroom(vi))) { in receive_small()
743 xdp_headroom = virtnet_get_headroom(vi); in receive_small()
744 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small()
760 xdp.data = xdp.data_hard_start + xdp_headroom; in receive_small()
1175 unsigned int xdp_headroom = virtnet_get_headroom(vi); in add_recvbuf_small() local
1176 void *ctx = (void *)(unsigned long)xdp_headroom; in add_recvbuf_small()
1177 int len = vi->hdr_len + VIRTNET_RX_PAD + GOOD_PACKET_LEN + xdp_headroom; in add_recvbuf_small()
1188 sg_init_one(rq->sg, buf + VIRTNET_RX_PAD + xdp_headroom, in add_recvbuf_small()
[all...]

Completed in 17 milliseconds