Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/
Dvirtio_net.c3688 u16 xdp_qp = 0, curr_qp; in virtnet_xdp_set() local
3716 xdp_qp = nr_cpu_ids; in virtnet_xdp_set()
3719 if (curr_qp + xdp_qp > vi->max_queue_pairs) { in virtnet_xdp_set()
3721 curr_qp + xdp_qp, vi->max_queue_pairs); in virtnet_xdp_set()
3722 xdp_qp = 0; in virtnet_xdp_set()
3749 err = _virtnet_set_queues(vi, curr_qp + xdp_qp); in virtnet_xdp_set()
3752 netif_set_real_num_rx_queues(dev, curr_qp + xdp_qp); in virtnet_xdp_set()
3753 vi->xdp_queue_pairs = xdp_qp; in virtnet_xdp_set()