Searched refs:max_rx_rings (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_netvf_main.c | 82 int max_tx_rings, max_rx_rings; in nfp_netvf_pci_probe() local 166 max_rx_rings = readl(ctrl_bar + NFP_NET_CFG_MAX_RXRINGS); in nfp_netvf_pci_probe() 169 rx_bar_sz = NFP_QCP_QUEUE_ADDR_SZ * max_rx_rings * stride; in nfp_netvf_pci_probe() 182 max_rx_rings = (rx_bar_sz / NFP_QCP_QUEUE_ADDR_SZ) / 2; in nfp_netvf_pci_probe() 192 max_tx_rings, max_rx_rings); in nfp_netvf_pci_probe()
|
D | nfp_net_debugfs.c | 146 for (i = 0; i < min(nn->max_rx_rings, nn->max_r_vecs); i++) { in nfp_net_debugfs_vnic_add()
|
D | nfp_net.h | 650 unsigned int max_rx_rings; member 984 unsigned int max_tx_rings, unsigned int max_rx_rings);
|
D | nfp_net_common.c | 2416 nn->dp.num_rx_rings, nn->max_rx_rings); in nfp_net_info() 2472 unsigned int max_tx_rings, unsigned int max_rx_rings) in nfp_net_alloc() argument 2482 max_tx_rings, max_rx_rings); in nfp_net_alloc() 2529 nn->max_rx_rings = max_rx_rings; in nfp_net_alloc() 2533 nn->dp.num_rx_rings = min_t(unsigned int, max_rx_rings, in nfp_net_alloc()
|
D | nfp_net_ethtool.c | 2214 channel->max_rx = min(nn->max_rx_rings, nn->max_r_vecs); in nfp_net_get_channels() 2256 if (total_rx > min(nn->max_rx_rings, nn->max_r_vecs) || in nfp_net_set_channels()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 550 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings * 2; in bnxt_hwrm_func_vf_resc_cfg() 552 vf_rx_rings = hw_resc->max_rx_rings - bp->rx_nr_rings; in bnxt_hwrm_func_vf_resc_cfg() 601 req->max_rx_rings = cpu_to_le16(vf_rx_rings); in bnxt_hwrm_func_vf_resc_cfg() 627 hw_resc->max_rx_rings -= le16_to_cpu(req->min_rx_rings) * n; in bnxt_hwrm_func_vf_resc_cfg() 666 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings * 2) / in bnxt_hwrm_func_cfg() 669 vf_rx_rings = (hw_resc->max_rx_rings - bp->rx_nr_rings) / in bnxt_hwrm_func_cfg() 721 hw_resc->max_rx_rings -= vf_rx_rings * num_vfs; in bnxt_hwrm_func_cfg() 789 if (hw_resc->max_rx_rings - bp->rx_nr_rings * 2 >= in bnxt_sriov_enable() 793 if (hw_resc->max_rx_rings - bp->rx_nr_rings >= in bnxt_sriov_enable()
|
D | bnxt_ethtool.c | 875 int max_rx_rings, max_tx_rings, tcs; in bnxt_get_channels() local 883 bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings, true); in bnxt_get_channels() 892 channel->max_combined = min_t(int, max_rx_rings, max_tx_rings); in bnxt_get_channels() 894 if (bnxt_get_max_rings(bp, &max_rx_rings, &max_tx_rings, false)) { in bnxt_get_channels() 895 max_rx_rings = 0; in bnxt_get_channels() 904 channel->max_rx = max_rx_rings; in bnxt_get_channels()
|
D | bnxt.c | 9021 hw_resc->max_rx_rings = le16_to_cpu(resp->max_rx_rings); in bnxt_hwrm_func_resc_qcaps() 9035 hw_resc->max_hw_ring_grps = hw_resc->max_rx_rings; in bnxt_hwrm_func_resc_qcaps() 9191 hw_resc->max_rx_rings = le16_to_cpu(resp->max_rx_rings); in __bnxt_hwrm_func_qcaps() 15384 *max_rx = hw_resc->max_rx_rings; in _bnxt_get_max_rings() 15484 int dflt_rings, max_rx_rings, max_tx_rings, rc; in bnxt_set_dflt_rings() local 15502 rc = bnxt_get_dflt_rings(bp, &max_rx_rings, &max_tx_rings, sh); in bnxt_set_dflt_rings() 15505 bp->rx_nr_rings = min_t(int, dflt_rings, max_rx_rings); in bnxt_set_dflt_rings()
|
D | bnxt.h | 1328 u16 max_rx_rings; member
|
D | bnxt_hsi.h | 1753 __le16 max_rx_rings; member 2676 __le16 max_rx_rings; member 2717 __le16 max_rx_rings; member
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 7764 u32 max_rx_rings = 1; in bnx2_get_channels() local 7768 max_rx_rings = RX_MAX_RINGS; in bnx2_get_channels() 7772 channels->max_rx = max_rx_rings; in bnx2_get_channels() 7786 u32 max_rx_rings = 1; in bnx2_set_channels() local 7791 max_rx_rings = RX_MAX_RINGS; in bnx2_set_channels() 7794 if (channels->rx_count > max_rx_rings || in bnx2_set_channels()
|