Searched refs:vf_vnics (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_sriov.c | 529 u16 vf_stat_ctx, vf_vnics, vf_ring_grps; in bnxt_hwrm_func_vf_resc_cfg() local 552 vf_vnics = hw_resc->max_vnics - bp->nr_vnics; in bnxt_hwrm_func_vf_resc_cfg() 553 vf_vnics = min_t(u16, vf_vnics, vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg() 575 vf_vnics /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg() 584 req->min_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_vf_resc_cfg() 593 req->max_vnics = cpu_to_le16(vf_vnics); 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 663 vf_vnics = (hw_resc->max_vnics - bp->nr_vnics) / num_vfs; in bnxt_hwrm_func_cfg() 664 vf_vnics = min_t(u16, vf_vnics, vf_rx_rings); in bnxt_hwrm_func_cfg() 688 req->num_vnics = cpu_to_le16(vf_vnics); in bnxt_hwrm_func_cfg() [all …]
|