Searched refs:hw_resc (Results 1 – 5 of 5) sorted by relevance
527 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_vf_resc_cfg() local540 vf_msix = hw_resc->max_nqs - bnxt_nq_rings_in_use(bp); in bnxt_hwrm_func_vf_resc_cfg()543 vf_ring_grps = hw_resc->max_hw_ring_grps - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()548 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg()550 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()551 vf_tx_rings = hw_resc->max_tx_rings - bp->tx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()552 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg()554 vf_rss = hw_resc->max_rsscos_ctxs - bp->rsscos_nr_ctxs; in bnxt_hwrm_func_vf_resc_cfg()616 hw_resc->max_tx_rings -= le16_to_cpu(req->min_tx_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()617 hw_resc->max_rx_rings -= le16_to_cpu(req->min_rx_rings) * n; in bnxt_hwrm_func_vf_resc_cfg()[all …]
123 struct bnxt_hw_resc *hw_resc; in bnxt_req_msix_vecs() local154 hw_resc = &bp->hw_resc; in bnxt_req_msix_vecs()157 (BNXT_NEW_RM(bp) && hw_resc->resv_irqs < total_vecs)) { in bnxt_req_msix_vecs()173 resv_msix = hw_resc->resv_irqs - bp->cp_nr_rings; in bnxt_req_msix_vecs()
6140 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_get_rings() local6160 hw_resc->resv_tx_rings = le16_to_cpu(resp->alloc_tx_rings); in bnxt_hwrm_get_rings()6164 hw_resc->resv_rx_rings = le16_to_cpu(resp->alloc_rx_rings); in bnxt_hwrm_get_rings()6165 hw_resc->resv_hw_ring_grps = in bnxt_hwrm_get_rings()6167 hw_resc->resv_vnics = le16_to_cpu(resp->alloc_vnics); in bnxt_hwrm_get_rings()6170 hw_resc->resv_irqs = cp; in bnxt_hwrm_get_rings()6172 int rx = hw_resc->resv_rx_rings; in bnxt_hwrm_get_rings()6173 int tx = hw_resc->resv_tx_rings; in bnxt_hwrm_get_rings()6181 hw_resc->resv_rx_rings = rx; in bnxt_hwrm_get_rings()6182 hw_resc->resv_tx_rings = tx; in bnxt_hwrm_get_rings()[all …]
857 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_channels() local864 max_tx_sch_inputs = hw_resc->max_tx_sch_inputs; in bnxt_get_channels()
2081 struct bnxt_hw_resc hw_resc; member