Home
last modified time | relevance | path

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

/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c204 pf->limit_vfs = nfp_rtsym_read_le(pf->rtbl, "nfd_vf_cfg_max_vfs", &err); in nfp_pcie_sriov_read_nfd_limit()
207 pf->limit_vfs = ~0; in nfp_pcie_sriov_read_nfd_limit()
215 err = pci_sriov_set_totalvfs(pf->pdev, pf->limit_vfs); in nfp_pcie_sriov_read_nfd_limit()
227 if (num_vfs > pf->limit_vfs) { in nfp_pcie_sriov_enable()
229 pf->limit_vfs); in nfp_pcie_sriov_enable()
755 if (pf->num_vfs > pf->limit_vfs) { in nfp_pci_probe()
758 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()