Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Dnfp_netvf_main.c82 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()
Dnfp_net_debugfs.c146 for (i = 0; i < min(nn->max_rx_rings, nn->max_r_vecs); i++) { in nfp_net_debugfs_vnic_add()
Dnfp_net.h650 unsigned int max_rx_rings; member
984 unsigned int max_tx_rings, unsigned int max_rx_rings);
Dnfp_net_common.c2416 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()
Dnfp_net_ethtool.c2214 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/
Dbnxt_sriov.c550 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()
Dbnxt_ethtool.c875 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()
Dbnxt.c9021 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()
Dbnxt.h1328 u16 max_rx_rings; member
Dbnxt_hsi.h1753 __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/
Dmain.c93 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/
Dbnx2.c7764 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()