Home
last modified time | relevance | path

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

/linux-6.1.9/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
548 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()
639 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings, vf_stat_ctx, vf_vnics; in bnxt_hwrm_func_cfg() local
656 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings * 2) / in bnxt_hwrm_func_cfg()
659 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg()
[all …]