Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c529 u16 vf_stat_ctx, vf_vnics, vf_ring_grps; in bnxt_hwrm_func_vf_resc_cfg() local
541 vf_ring_grps = 0; in bnxt_hwrm_func_vf_resc_cfg()
543 vf_ring_grps = hw_resc->max_hw_ring_grps - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()
577 vf_ring_grps /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()
586 req->min_hw_ring_grps = cpu_to_le16(vf_ring_grps); in bnxt_hwrm_func_vf_resc_cfg()
595 req->max_hw_ring_grps = cpu_to_le16(vf_ring_grps); in bnxt_hwrm_func_vf_resc_cfg()
644 u16 vf_ring_grps; in bnxt_hwrm_func_cfg() local
661 vf_ring_grps = (hw_resc->max_hw_ring_grps - bp->rx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()
685 req->num_hw_ring_grps = cpu_to_le16(vf_ring_grps); in bnxt_hwrm_func_cfg()
712 hw_resc->max_hw_ring_grps -= vf_ring_grps * num_vfs; in bnxt_hwrm_func_cfg()