Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/
Dvirtio_net.c223 bool xdp_enabled; member
703 return vi->xdp_enabled ? VIRTIO_XDP_HEADROOM : 0; in virtnet_get_headroom()
801 if (likely(!vi->xdp_enabled)) { in receive_small()
968 if (likely(!vi->xdp_enabled)) { in receive_mergeable()
3146 vi->xdp_enabled = true; in virtnet_xdp_set()
3153 vi->xdp_enabled = false; in virtnet_xdp_set()
3221 if (vi->xdp_enabled) in virtnet_set_features()