Searched refs:vf_rx_rings (Results 1 – 1 of 1) sorted by relevance
580 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings; in bnxt_hwrm_func_vf_resc_cfg() local600 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg()602 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()625 vf_rx_rings /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()639 vf_vnics = min_t(u16, vf_vnics, vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()642 req->min_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()651 req->max_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()719 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg()724 vf_vnics = min_t(u16, vf_vnics, vf_rx_rings); in bnxt_hwrm_func_cfg()744 req->num_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_cfg()[all …]