Home
last modified time | relevance | path

Searched refs:hw_resc (Results 1 – 15 of 15) sorted by relevance

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c502 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_vf_resc_cfg() local
525 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg()
599 hw_resc->max_irqs -= vf_msix * n; in bnxt_hwrm_func_vf_resc_cfg()
613 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_cfg() local
680 hw_resc->max_tx_rings -= total_vf_tx_rings; in bnxt_hwrm_func_cfg()
681 hw_resc->max_rx_rings -= vf_rx_rings * num_vfs; in bnxt_hwrm_func_cfg()
683 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
684 hw_resc->max_rsscos_ctxs -= num_vfs; in bnxt_hwrm_func_cfg()
686 hw_resc->max_vnics -= vf_vnics * num_vfs; in bnxt_hwrm_func_cfg()
730 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_sriov_enable() local
[all …]
H A Dbnxt_ulp.c122 struct bnxt_hw_resc *hw_resc; in bnxt_req_msix_vecs() local
153 hw_resc = &bp->hw_resc; in bnxt_req_msix_vecs()
156 (BNXT_NEW_RM(bp) && hw_resc->resv_irqs < total_vecs)) { in bnxt_req_msix_vecs()
172 resv_msix = hw_resc->resv_irqs - bp->cp_nr_rings; in bnxt_req_msix_vecs()
H A Dbnxt.c5988 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_get_rings() local
6250 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_check_rss_tbl_no_rmgr() local
6262 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_need_reserve_rings() local
6299 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in __bnxt_reserve_rings() local
7347 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_resc_qcaps() local
7384 hw_resc->max_hw_ring_grps = hw_resc->max_rx_rings; in bnxt_hwrm_func_resc_qcaps()
7405 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in __bnxt_hwrm_func_qcaps() local
8675 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_max_func_irqs() local
9661 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_if_change() local
10613 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_can_reserve_rings() local
[all …]
H A Dbnxt_ethtool.c803 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_channels() local
810 max_tx_sch_inputs = hw_resc->max_tx_sch_inputs; in bnxt_get_channels()
H A Dbnxt.h1969 struct bnxt_hw_resc hw_resc; member
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c502 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_vf_resc_cfg() local
525 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg()
599 hw_resc->max_irqs -= vf_msix * n; in bnxt_hwrm_func_vf_resc_cfg()
613 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_cfg() local
680 hw_resc->max_tx_rings -= total_vf_tx_rings; in bnxt_hwrm_func_cfg()
681 hw_resc->max_rx_rings -= vf_rx_rings * num_vfs; in bnxt_hwrm_func_cfg()
683 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
684 hw_resc->max_rsscos_ctxs -= num_vfs; in bnxt_hwrm_func_cfg()
686 hw_resc->max_vnics -= vf_vnics * num_vfs; in bnxt_hwrm_func_cfg()
730 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_sriov_enable() local
[all …]
H A Dbnxt_ulp.c122 struct bnxt_hw_resc *hw_resc; in bnxt_req_msix_vecs() local
153 hw_resc = &bp->hw_resc; in bnxt_req_msix_vecs()
156 (BNXT_NEW_RM(bp) && hw_resc->resv_irqs < total_vecs)) { in bnxt_req_msix_vecs()
172 resv_msix = hw_resc->resv_irqs - bp->cp_nr_rings; in bnxt_req_msix_vecs()
H A Dbnxt.c5988 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_get_rings() local
6250 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_check_rss_tbl_no_rmgr() local
6262 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_need_reserve_rings() local
6299 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in __bnxt_reserve_rings() local
7347 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_resc_qcaps() local
7384 hw_resc->max_hw_ring_grps = hw_resc->max_rx_rings; in bnxt_hwrm_func_resc_qcaps()
7405 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in __bnxt_hwrm_func_qcaps() local
8675 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_max_func_irqs() local
9661 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_if_change() local
10613 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_can_reserve_rings() local
[all …]
H A Dbnxt_ethtool.c803 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_channels() local
810 max_tx_sch_inputs = hw_resc->max_tx_sch_inputs; in bnxt_get_channels()
H A Dbnxt.h1969 struct bnxt_hw_resc hw_resc; member
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c502 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_vf_resc_cfg() local
525 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg()
599 hw_resc->max_irqs -= vf_msix * n; in bnxt_hwrm_func_vf_resc_cfg()
613 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_cfg() local
680 hw_resc->max_tx_rings -= total_vf_tx_rings; in bnxt_hwrm_func_cfg()
681 hw_resc->max_rx_rings -= vf_rx_rings * num_vfs; in bnxt_hwrm_func_cfg()
683 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()
684 hw_resc->max_rsscos_ctxs -= num_vfs; in bnxt_hwrm_func_cfg()
686 hw_resc->max_vnics -= vf_vnics * num_vfs; in bnxt_hwrm_func_cfg()
730 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_sriov_enable() local
[all …]
H A Dbnxt_ulp.c122 struct bnxt_hw_resc *hw_resc; in bnxt_req_msix_vecs() local
153 hw_resc = &bp->hw_resc; in bnxt_req_msix_vecs()
156 (BNXT_NEW_RM(bp) && hw_resc->resv_irqs < total_vecs)) { in bnxt_req_msix_vecs()
172 resv_msix = hw_resc->resv_irqs - bp->cp_nr_rings; in bnxt_req_msix_vecs()
H A Dbnxt.c5988 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_get_rings() local
6250 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_check_rss_tbl_no_rmgr() local
6262 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_need_reserve_rings() local
6299 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in __bnxt_reserve_rings() local
7347 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_func_resc_qcaps() local
7384 hw_resc->max_hw_ring_grps = hw_resc->max_rx_rings; in bnxt_hwrm_func_resc_qcaps()
7405 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in __bnxt_hwrm_func_qcaps() local
8675 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_max_func_irqs() local
9661 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_hwrm_if_change() local
10613 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_can_reserve_rings() local
[all …]
H A Dbnxt_ethtool.c803 struct bnxt_hw_resc *hw_resc = &bp->hw_resc; in bnxt_get_channels() local
810 max_tx_sch_inputs = hw_resc->max_tx_sch_inputs; in bnxt_get_channels()
H A Dbnxt.h1969 struct bnxt_hw_resc hw_resc; member