Searched refs:numqueues (Results 1 – 2 of 2) sorted by relevance
211 unsigned int numqueues; member569 u32 numqueues = 0; in tun_automq_select_queue() local571 numqueues = READ_ONCE(tun->numqueues); in tun_automq_select_queue()580 txq = ((u64)txq * numqueues) >> 32; in tun_automq_select_queue()589 u32 numqueues; in tun_ebpf_select_queue() local592 numqueues = READ_ONCE(tun->numqueues); in tun_ebpf_select_queue()593 if (!numqueues) in tun_ebpf_select_queue()600 return ret % numqueues; in tun_ebpf_select_queue()631 netif_set_real_num_tx_queues(tun->dev, tun->numqueues); in tun_set_real_num_queues()632 netif_set_real_num_rx_queues(tun->dev, tun->numqueues); in tun_set_real_num_queues()[all …]
168 if (tap->numqueues == MAX_TAP_QUEUES) in tap_set_queue()182 tap->numqueues++; in tap_set_queue()233 tap->numqueues--; in tap_put_queue()308 tap->numqueues--; in tap_del_queues()312 BUG_ON(tap->numqueues); in tap_del_queues()1296 int n = tap->numqueues; in tap_queue_resize()