Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/drivers/net/
H A Dvirtio_net.c1142 unsigned int xdp_headroom, in receive_small_build_skb() argument
1151 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_build_skb()
1171 unsigned int xdp_headroom, in receive_small_xdp() argument
1176 unsigned int header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp()
1197 if (unlikely(xdp_headroom < virtnet_get_headroom(vi))) { in receive_small_xdp()
1202 xdp_headroom = virtnet_get_headroom(vi); in receive_small_xdp()
1203 header_offset = VIRTNET_RX_PAD + xdp_headroom; in receive_small_xdp()
1220 xdp_headroom, len, true); in receive_small_xdp()
1265 unsigned int xdp_headroom = (unsigned long)ctx; in receive_small() local
1272 buf -= VIRTNET_RX_PAD + xdp_headroom; in receive_small()
[all …]