Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_net_main.c236 unsigned int wanted_irqs, num_irqs, vnics_left, irqs_left; in nfp_net_pf_alloc_irqs() local
240 wanted_irqs = 0; in nfp_net_pf_alloc_irqs()
242 wanted_irqs += NFP_NET_NON_Q_VECTORS + nn->dp.num_r_vecs; in nfp_net_pf_alloc_irqs()
243 pf->irq_entries = kcalloc(wanted_irqs, sizeof(*pf->irq_entries), in nfp_net_pf_alloc_irqs()
250 wanted_irqs); in nfp_net_pf_alloc_irqs()
Dnfp_net_common.c400 unsigned int min_irqs, unsigned int wanted_irqs) in nfp_net_irqs_alloc() argument
405 for (i = 0; i < wanted_irqs; i++) in nfp_net_irqs_alloc()
409 min_irqs, wanted_irqs); in nfp_net_irqs_alloc()
412 min_irqs, wanted_irqs, got_irqs); in nfp_net_irqs_alloc()
416 if (got_irqs < wanted_irqs) in nfp_net_irqs_alloc()
418 wanted_irqs, got_irqs); in nfp_net_irqs_alloc()