Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c528 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings; in bnxt_hwrm_func_vf_resc_cfg() local
545 vf_cp_rings = bnxt_get_avail_cp_rings_for_en(bp); in bnxt_hwrm_func_vf_resc_cfg()
572 vf_cp_rings /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()
580 req->min_cmpl_rings = cpu_to_le16(vf_cp_rings); in bnxt_hwrm_func_vf_resc_cfg()
589 req->max_cmpl_rings = cpu_to_le16(vf_cp_rings); in bnxt_hwrm_func_vf_resc_cfg()
639 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings, vf_stat_ctx, vf_vnics; in bnxt_hwrm_func_cfg() local
653 vf_cp_rings = bnxt_get_avail_cp_rings_for_en(bp) / num_vfs; in bnxt_hwrm_func_cfg()
682 req->num_cmpl_rings = cpu_to_le16(vf_cp_rings); in bnxt_hwrm_func_cfg()
713 hw_resc->max_cp_rings -= vf_cp_rings * num_vfs; in bnxt_hwrm_func_cfg()