Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/
Dtun.c180 unsigned int numqueues; member
527 u32 numqueues = 0; in tun_automq_select_queue() local
529 numqueues = READ_ONCE(tun->numqueues); in tun_automq_select_queue()
538 txq = ((u64)txq * numqueues) >> 32; in tun_automq_select_queue()
547 u32 numqueues; in tun_ebpf_select_queue() local
550 numqueues = READ_ONCE(tun->numqueues); in tun_ebpf_select_queue()
551 if (!numqueues) in tun_ebpf_select_queue()
558 return ret % numqueues; in tun_ebpf_select_queue()
589 netif_set_real_num_tx_queues(tun->dev, tun->numqueues); in tun_set_real_num_queues()
590 netif_set_real_num_rx_queues(tun->dev, tun->numqueues); in tun_set_real_num_queues()
[all …]
Dtap.c168 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()
1297 int n = tap->numqueues; in tap_queue_resize()
/linux-6.1.9/include/linux/
Dif_tap.h43 int numqueues; member