Searched refs:hw_resc (Results 1 – 6 of 6) sorted by relevance
27 struct bnge_hw_resc *hw_resc = &bd->hw_resc; in bnge_get_max_func_irqs() local 29 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() local 229 hwr->tx = hw_resc->resv_tx_rings; in bnge_copy_reserved_rings() 230 hwr->rx = hw_resc in bnge_copy_reserved_rings() 247 struct bnge_hw_resc *hw_resc = &bd->hw_resc; bnge_need_reserve_rings() local 354 struct bnge_hw_resc *hw_resc; bnge_reserve_rings() local 440 struct bnge_hw_resc *hw_resc = &bd->hw_resc; _bnge_get_max_rings() local 585 struct bnge_hw_resc *hw_resc; bnge_net_init_dflt_config() local [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
7803 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_get_rings() local 7823 hw_resc->resv_tx_rings = le16_to_cpu(resp->alloc_tx_rings); in bnxt_hwrm_get_rings() 7827 hw_resc->resv_rx_rings = le16_to_cpu(resp->alloc_rx_rings); in bnxt_hwrm_get_rings() 7828 hw_resc->resv_hw_ring_grps = in bnxt_hwrm_get_rings() 7830 hw_resc->resv_vnics = le16_to_cpu(resp->alloc_vnics); in bnxt_hwrm_get_rings() 7831 hw_resc->resv_rsscos_ctxs = le16_to_cpu(resp->alloc_rsscos_ctx); in bnxt_hwrm_get_rings() 7834 hw_resc->resv_irqs = cp; in bnxt_hwrm_get_rings() 7836 int rx = hw_resc->resv_rx_rings; in bnxt_hwrm_get_rings() 7837 int tx = hw_resc in bnxt_hwrm_get_rings() 8071 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; bnxt_check_rss_tbl_no_rmgr() local 8110 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; bnxt_need_reserve_rings() local 8150 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; bnxt_copy_reserved_rings() local 8284 struct bnxt_hw_resc *hw_resc; __bnxt_reserve_rings() local 9729 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; bnxt_hwrm_func_resc_qcaps() local 9858 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; __bnxt_hwrm_func_qcaps() local 11580 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; bnxt_get_max_func_irqs() local 12801 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; bnxt_clear_reservations() local 13954 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; bnxt_can_reserve_rings() local 16784 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; _bnxt_get_max_rings() local 17160 struct bnxt_hw_resc *hw_resc; bnxt_init_one() local [all...]
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