Searched refs:max_rx_rings (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_netvf_main.c | 69 int max_tx_rings, max_rx_rings; in nfp_netvf_pci_probe() local 150 max_rx_rings = readl(ctrl_bar + NFP_NET_CFG_MAX_RXRINGS); in nfp_netvf_pci_probe() 153 rx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_rx_rings * stride; in nfp_netvf_pci_probe() 166 max_rx_rings = (rx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe() 175 nn = nfp_net_alloc(pdev, ctrl_bar, true, max_tx_rings, max_rx_rings); in nfp_netvf_pci_probe()
|
D | nfp_net_debugfs.c | 170 for (i = 0; i < min(nn->max_rx_rings, nn->max_r_vecs); i++) { in nfp_net_debugfs_vnic_add()
|
D | nfp_net.h | 624 unsigned int max_rx_rings; member 925 unsigned int max_tx_rings, unsigned int max_rx_rings);
|
D | nfp_net_common.c | 3705 nn->dp.num_rx_rings, nn->max_rx_rings); in nfp_net_info() 3752 unsigned int max_tx_rings, unsigned int max_rx_rings) in nfp_net_alloc() argument 3761 max_tx_rings, max_rx_rings); in nfp_net_alloc() 3779 nn->max_rx_rings = max_rx_rings; in nfp_net_alloc() 3783 nn->dp.num_rx_rings = min_t(unsigned int, max_rx_rings, in nfp_net_alloc()
|
D | nfp_net_ethtool.c | 1413 channel->max_rx = min(nn->max_rx_rings, nn->max_r_vecs); in nfp_net_get_channels() 1455 if (total_rx > min(nn->max_rx_rings, nn->max_r_vecs) || in nfp_net_set_channels()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 524 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg() 526 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg() 567 req.max_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg() 594 hw_resc->max_rx_rings -= le16_to_cpu(req.min_rx_rings) * n; in bnxt_hwrm_func_vf_resc_cfg() 628 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings * 2) / in bnxt_hwrm_func_cfg() 631 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg() 684 hw_resc->max_rx_rings -= vf_rx_rings * num_vfs; in bnxt_hwrm_func_cfg() 753 if (hw_resc->max_rx_rings - bp->rx_nr_rings * 2 >= in bnxt_sriov_enable() 757 if (hw_resc->max_rx_rings - bp->rx_nr_rings >= in bnxt_sriov_enable()
|
D | bnxt_ethtool.c | 804 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local 812 bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings, true); in bnxt_get_channels() 821 channel->max_combined = min_t(int, max_rx_rings, max_tx_rings); in bnxt_get_channels() 823 if (bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings, false)) { in bnxt_get_channels() 824 max_rx_rings = 0; in bnxt_get_channels() 833 channel->max_rx = max_rx_rings; in bnxt_get_channels()
|
D | bnxt.c | 7312 hw_resc->max_rx_rings = le16_to_cpu(resp->max_rx_rings); in bnxt_hwrm_func_resc_qcaps() 7326 hw_resc->max_hw_ring_grps = hw_resc->max_rx_rings; in bnxt_hwrm_func_resc_qcaps() 7388 hw_resc->max_rx_rings = le16_to_cpu(resp->max_rx_rings); in __bnxt_hwrm_func_qcaps() 12323 *max_rx = hw_resc->max_rx_rings; in _bnxt_get_max_rings() 12416 int dflt_rings, max_rx_rings, max_tx_rings, rc; in bnxt_set_dflt_rings() local 12433 rc = bnxt_get_dflt_rings(bp, &max_rx_rings, &max_tx_rings, sh); in bnxt_set_dflt_rings() 12436 bp->rx_nr_rings = min_t(int, dflt_rings, max_rx_rings); in bnxt_set_dflt_rings()
|
D | bnxt.h | 1071 u16 max_rx_rings; member
|
D | bnxt_hsi.h | 1248 __le16 max_rx_rings; member 1923 __le16 max_rx_rings; member 1955 __le16 max_rx_rings; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 93 txqs = alink->vnic->max_rx_rings; in nfp_abm_spawn_repr() 327 alink->total_queues = alink->vnic->max_rx_rings; in nfp_abm_vnic_alloc()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 7770 u32 max_rx_rings = 1; in bnx2_get_channels() local 7774 max_rx_rings = RX_MAX_RINGS; in bnx2_get_channels() 7778 channels->max_rx = max_rx_rings; in bnx2_get_channels() 7792 u32 max_rx_rings = 1; in bnx2_set_channels() local 7797 max_rx_rings = RX_MAX_RINGS; in bnx2_set_channels() 7800 if (channels->rx_count > max_rx_rings || in bnx2_set_channels()
|