Searched refs:hw_resc (Results 1 – 5 of 5) sorted by relevance
27 struct bnge_hw_resc *hw_resc = &bd->hw_resc; in bnge_get_max_func_irqs() local29 return min_t(u16, hw_resc->max_irqs, hw_resc->max_nqs); in bnge_get_max_func_irqs()34 return bd->hw_resc.max_stat_ctxs; in bnge_get_max_func_stat_ctxs()51 return bd->hw_resc.max_cp_rings; in bnge_get_max_func_cp_rings()227 struct bnge_hw_resc *hw_resc = &bd->hw_resc; in bnge_copy_reserved_rings() local229 hwr->tx = hw_resc->resv_tx_rings; in bnge_copy_reserved_rings()230 hwr->rx = hw_resc->resv_rx_rings; in bnge_copy_reserved_rings()231 hwr->nq = hw_resc->resv_irqs; in bnge_copy_reserved_rings()232 hwr->cmpl = hw_resc->resv_cp_rings; in bnge_copy_reserved_rings()233 hwr->grp = hw_resc->resv_hw_ring_grps; in bnge_copy_reserved_rings()[all …]
412 struct bnge_hw_resc *hw_resc = &bd->hw_resc; in bnge_hwrm_get_rings() local431 hw_resc->resv_tx_rings = le16_to_cpu(resp->alloc_tx_rings); in bnge_hwrm_get_rings()432 hw_resc->resv_rx_rings = le16_to_cpu(resp->alloc_rx_rings); in bnge_hwrm_get_rings()433 hw_resc->resv_hw_ring_grps = in bnge_hwrm_get_rings()435 hw_resc->resv_vnics = le16_to_cpu(resp->alloc_vnics); in bnge_hwrm_get_rings()436 hw_resc->resv_rsscos_ctxs = le16_to_cpu(resp->alloc_rsscos_ctx); in bnge_hwrm_get_rings()439 hw_resc->resv_irqs = cp; in bnge_hwrm_get_rings()440 rx = hw_resc->resv_rx_rings; in bnge_hwrm_get_rings()441 tx = hw_resc->resv_tx_rings; in bnge_hwrm_get_rings()450 hw_resc->resv_rx_rings = rx; in bnge_hwrm_get_rings()[all …]
158 struct bnge_hw_resc hw_resc; member
911 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_channels() local918 max_tx_sch_inputs = hw_resc->max_tx_sch_inputs; in bnxt_get_channels()
2678 struct bnxt_hw_resc hw_resc; member