Searched refs:hw_resc (Results 1 – 4 of 4) 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()226 struct bnge_hw_resc *hw_resc = &bd->hw_resc; in bnge_copy_reserved_rings() local228 hwr->tx = hw_resc->resv_tx_rings; in bnge_copy_reserved_rings()229 hwr->rx = hw_resc->resv_rx_rings; in bnge_copy_reserved_rings()230 hwr->nq = hw_resc->resv_irqs; in bnge_copy_reserved_rings()231 hwr->cmpl = hw_resc->resv_cp_rings; in bnge_copy_reserved_rings()232 hwr->grp = hw_resc->resv_hw_ring_grps; in bnge_copy_reserved_rings()[all …]
7755 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_get_rings() local7775 hw_resc->resv_tx_rings = le16_to_cpu(resp->alloc_tx_rings); in bnxt_hwrm_get_rings()7779 hw_resc->resv_rx_rings = le16_to_cpu(resp->alloc_rx_rings); in bnxt_hwrm_get_rings()7780 hw_resc->resv_hw_ring_grps = in bnxt_hwrm_get_rings()7782 hw_resc->resv_vnics = le16_to_cpu(resp->alloc_vnics); in bnxt_hwrm_get_rings()7783 hw_resc->resv_rsscos_ctxs = le16_to_cpu(resp->alloc_rsscos_ctx); in bnxt_hwrm_get_rings()7786 hw_resc->resv_irqs = cp; in bnxt_hwrm_get_rings()7788 int rx = hw_resc->resv_rx_rings; in bnxt_hwrm_get_rings()7789 int tx = hw_resc->resv_tx_rings; in bnxt_hwrm_get_rings()7799 hw_resc->resv_rx_rings = rx; in bnxt_hwrm_get_rings()[all …]
910 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_channels() local917 max_tx_sch_inputs = hw_resc->max_tx_sch_inputs; in bnxt_get_channels()
2664 struct bnxt_hw_resc hw_resc; member