Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c212 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local
214 bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings); in bnxt_get_channels()
217 max_tx_rings /= tcs; in bnxt_get_channels()
220 channel->max_tx = max_tx_rings; in bnxt_get_channels()
231 int max_rx_rings, max_tx_rings, tcs; in bnxt_set_channels() local
238 bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings); in bnxt_set_channels()
241 max_tx_rings /= tcs; in bnxt_set_channels()
244 channel->tx_count > max_tx_rings) in bnxt_set_channels()
Dbnxt_sriov.c393 vf_tx_rings = (bp->pf.max_tx_rings - bp->tx_nr_rings) / *num_vfs; in bnxt_hwrm_func_cfg()
468 if (bp->pf.max_tx_rings - bp->tx_nr_rings >= min_tx_rings) in bnxt_sriov_enable()
540 bp->pf.max_pf_tx_rings = bp->pf.max_tx_rings; in bnxt_sriov_disable()
Dbnxt.h696 u16 max_tx_rings; member
724 u16 max_tx_rings; /* HW assigned max tx rings for this PF */ member
Dbnxt.c3661 pf->max_tx_rings = le16_to_cpu(resp->max_tx_rings); in bnxt_hwrm_func_qcaps()
3662 pf->max_pf_tx_rings = pf->max_tx_rings; in bnxt_hwrm_func_qcaps()
3690 vf->max_tx_rings = le16_to_cpu(resp->max_tx_rings); in bnxt_hwrm_func_qcaps()
5339 int max_rx_rings, max_tx_rings; in bnxt_setup_tc() local
5341 bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings); in bnxt_setup_tc()
5342 if (bp->tx_nr_rings_per_tc * tc > max_tx_rings) in bnxt_setup_tc()
5666 *max_tx = bp->vf.max_tx_rings; in bnxt_get_max_rings()
5684 int rc, max_rx_rings, max_tx_rings, max_irqs, dflt_rings; in bnxt_init_one() local
5776 bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings); in bnxt_init_one()
5778 bp->tx_nr_rings_per_tc = min_t(int, dflt_rings, max_tx_rings); in bnxt_init_one()
Dbnxt_hsi.h917 __le16 max_tx_rings; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_init.c2312 u16 max_sds_rings, max_tx_rings; in qlcnic_83xx_configure_opmode() local
2326 max_tx_rings = QLCNIC_MAX_VNIC_TX_RINGS; in qlcnic_83xx_configure_opmode()
2332 max_tx_rings = QLCNIC_MAX_TX_RINGS; in qlcnic_83xx_configure_opmode()
2340 adapter->max_tx_rings = min(ahw->max_tx_ques, max_tx_rings); in qlcnic_83xx_configure_opmode()
2446 adapter->max_tx_rings = QLCNIC_MAX_TX_RINGS; in qlcnic_83xx_init_rings()
Dqlcnic_ethtool.c702 if (tx_ring > adapter->max_tx_rings) { in qlcnic_validate_ring_count()
705 tx_ring, adapter->max_tx_rings); in qlcnic_validate_ring_count()
719 channel->max_tx = adapter->max_tx_rings; in qlcnic_get_channels()
Dqlcnic_main.c657 max_rings = adapter->max_tx_rings; in qlcnic_max_rings()
671 if (adapter->max_tx_rings) in qlcnic_set_tx_ring_count()
1338 adapter->max_tx_rings = QLCNIC_MAX_HW_VNIC_TX_RINGS; in qlcnic_initialize_nic()
1344 adapter->max_tx_rings = QLCNIC_MAX_HW_TX_RINGS; in qlcnic_initialize_nic()
4054 max_hw_rings = adapter->max_tx_rings; in qlcnic_validate_rings()
Dqlcnic.h1126 u8 max_tx_rings; /* max tx rings supported by adapter */ member
/drivers/net/ethernet/broadcom/
Dbnx2.c7759 u32 max_tx_rings = 1; in bnx2_get_channels() local
7763 max_tx_rings = TX_MAX_RINGS; in bnx2_get_channels()
7767 channels->max_tx = max_tx_rings; in bnx2_get_channels()
7781 u32 max_tx_rings = 1; in bnx2_set_channels() local
7786 max_tx_rings = TX_MAX_RINGS; in bnx2_set_channels()
7789 channels->tx_count > max_tx_rings) in bnx2_set_channels()