Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c225 pf->limit_vfs = nfp_rtsym_read_le(pf->rtbl, "nfd_vf_cfg_max_vfs", &err); in nfp_pcie_sriov_read_nfd_limit()
228 pf->limit_vfs = ~0; in nfp_pcie_sriov_read_nfd_limit()
236 err = pci_sriov_set_totalvfs(pf->pdev, pf->limit_vfs); in nfp_pcie_sriov_read_nfd_limit()
249 if (num_vfs > pf->limit_vfs) { in nfp_pcie_sriov_enable()
251 pf->limit_vfs); in nfp_pcie_sriov_enable()
784 if (pf->num_vfs > pf->limit_vfs) { in nfp_pci_probe()
787 pf->num_vfs, pf->limit_vfs); in nfp_pci_probe()
Dnfp_main.h112 unsigned int limit_vfs; member
Dnfp_net_main.c478 NFP_NET_CFG_BAR_SZ * pf->limit_vfs, in nfp_net_pci_map_mem()
488 min_size = NFP_NET_VF_CFG_SZ * pf->limit_vfs + NFP_NET_VF_CFG_MB_SZ; in nfp_net_pci_map_mem()