Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c206 pf->limit_vfs = nfp_rtsym_read_le(pf->rtbl, "nfd_vf_cfg_max_vfs", &err); in nfp_pcie_sriov_read_nfd_limit()
209 pf->limit_vfs = ~0; in nfp_pcie_sriov_read_nfd_limit()
217 err = pci_sriov_set_totalvfs(pf->pdev, pf->limit_vfs); in nfp_pcie_sriov_read_nfd_limit()
229 if (num_vfs > pf->limit_vfs) { in nfp_pcie_sriov_enable()
231 pf->limit_vfs); in nfp_pcie_sriov_enable()
772 if (pf->num_vfs > pf->limit_vfs) { in nfp_pci_probe()
775 pf->num_vfs, pf->limit_vfs); in nfp_pci_probe()
Dnfp_main.h110 unsigned int limit_vfs; member
Dnfp_net_main.c475 NFP_NET_CFG_BAR_SZ * pf->limit_vfs, in nfp_net_pci_map_mem()
485 min_size = NFP_NET_VF_CFG_SZ * pf->limit_vfs + NFP_NET_VF_CFG_MB_SZ; in nfp_net_pci_map_mem()