Lines Matching refs:vecs
73 cfg->vecs = min(cfg->aq_hw_caps->vecs, AQ_CFG_VECS_DEF); in aq_nic_cfg_update_num_vecs()
74 cfg->vecs = min(cfg->vecs, num_online_cpus()); in aq_nic_cfg_update_num_vecs()
76 cfg->vecs = min(cfg->vecs, self->irqvecs - AQ_HW_SERVICE_IRQS); in aq_nic_cfg_update_num_vecs()
78 cfg->vecs = rounddown_pow_of_two(cfg->vecs); in aq_nic_cfg_update_num_vecs()
82 cfg->vecs = min(cfg->vecs, 4U); in aq_nic_cfg_update_num_vecs()
85 if (cfg->vecs <= 4) in aq_nic_cfg_update_num_vecs()
91 cfg->num_rss_queues = min(cfg->vecs, AQ_CFG_NUM_RSS_QUEUES_DEF); in aq_nic_cfg_update_num_vecs()
131 (cfg->aq_hw_caps->vecs == 1U) || in aq_nic_cfg_start()
132 (cfg->vecs == 1U)) { in aq_nic_cfg_start()
134 cfg->vecs = 1U; in aq_nic_cfg_start()
141 if (AQ_HW_SERVICE_IRQS > 0 && cfg->vecs + 1 <= self->irqvecs) in aq_nic_cfg_start()
142 cfg->link_irq_vec = cfg->vecs; in aq_nic_cfg_start()
343 for (self->aq_vecs = 0; self->aq_vecs < aq_nic_get_cfg(self)->vecs; in aq_nic_ndev_register()
870 unsigned int vec = skb->queue_mapping % cfg->vecs; in aq_nic_xmit()
871 unsigned int tc = skb->queue_mapping / cfg->vecs; in aq_nic_xmit()
1476 for (self->aq_vecs = 0; self->aq_vecs < cfg->vecs; self->aq_vecs++) { in aq_nic_realloc_vectors()
1601 const unsigned int prev_vecs = cfg->vecs; in aq_nic_setup_tc_mqprio()
1635 if (prev_vecs != cfg->vecs) { in aq_nic_setup_tc_mqprio()