Searched refs:wanted_irqs (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_main.c | 233 unsigned int wanted_irqs, num_irqs, vnics_left, irqs_left; in nfp_net_pf_alloc_irqs() local 237 wanted_irqs = 0; in nfp_net_pf_alloc_irqs() 239 wanted_irqs += NFP_NET_NON_Q_VECTORS + nn->dp.num_r_vecs; in nfp_net_pf_alloc_irqs() 240 pf->irq_entries = kcalloc(wanted_irqs, sizeof(*pf->irq_entries), in nfp_net_pf_alloc_irqs() 247 wanted_irqs); in nfp_net_pf_alloc_irqs()
|
D | nfp_net_common.c | 369 unsigned int min_irqs, unsigned int wanted_irqs) in nfp_net_irqs_alloc() argument 374 for (i = 0; i < wanted_irqs; i++) in nfp_net_irqs_alloc() 378 min_irqs, wanted_irqs); in nfp_net_irqs_alloc() 381 min_irqs, wanted_irqs, got_irqs); in nfp_net_irqs_alloc() 385 if (got_irqs < wanted_irqs) in nfp_net_irqs_alloc() 387 wanted_irqs, got_irqs); in nfp_net_irqs_alloc()
|