Searched refs:vf_rx_rings (Results 1 – 1 of 1) sorted by relevance
528 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings; in bnxt_hwrm_func_vf_resc_cfg() local548 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg()550 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; 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()574 vf_rx_rings /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()582 req->min_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()591 req->max_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg()659 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg()664 vf_vnics = min_t(u16, vf_vnics, vf_rx_rings); in bnxt_hwrm_func_cfg()684 req->num_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_cfg()[all …]