Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c528 u16 vf_tx_rings, vf_rx_rings, vf_cp_rings; in bnxt_hwrm_func_vf_resc_cfg() local
551 vf_tx_rings = hw_resc->max_tx_rings - bp->tx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg()
573 vf_tx_rings /= num_vfs; in bnxt_hwrm_func_vf_resc_cfg()
581 req->min_tx_rings = cpu_to_le16(vf_tx_rings); in bnxt_hwrm_func_vf_resc_cfg()
590 req->max_tx_rings = cpu_to_le16(vf_tx_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
662 vf_tx_rings = (hw_resc->max_tx_rings - bp->tx_nr_rings) / num_vfs; in bnxt_hwrm_func_cfg()
683 req->num_tx_rings = cpu_to_le16(vf_tx_rings); in bnxt_hwrm_func_cfg()
694 int vf_tx_rsvd = vf_tx_rings; in bnxt_hwrm_func_cfg()