Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/
Dvirtio_net.c255 bool xdp_enabled; member
1060 return vi->xdp_enabled ? VIRTIO_XDP_HEADROOM : 0; in virtnet_get_headroom()
1265 if (unlikely(vi->xdp_enabled)) { in receive_small()
1637 if (unlikely(vi->xdp_enabled)) { in receive_mergeable()
3756 vi->xdp_enabled = true; in virtnet_xdp_set()
3766 vi->xdp_enabled = false; in virtnet_xdp_set()
3834 if (vi->xdp_enabled) in virtnet_set_features()