Home
last modified time | relevance | path

Searched refs:num_alloc_vfs (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c50 for (i = 0; i < pf->num_alloc_vfs; i++, vf++) { in i40e_vc_vf_broadcast()
104 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_vc_notify_link_state()
136 if (!vf || vf->vf_id >= vf->pf->num_alloc_vfs) in i40e_vc_notify_vf_reset()
862 for (i = 0; i < pf->num_alloc_vfs; i++) in i40e_free_vfs()
879 tmp = pf->num_alloc_vfs; in i40e_free_vfs()
880 pf->num_alloc_vfs = 0; in i40e_free_vfs()
916 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs) in i40e_alloc_vfs() argument
925 if (pci_num_vf(pf->pdev) != num_alloc_vfs) { in i40e_alloc_vfs()
926 ret = pci_enable_sriov(pf->pdev, num_alloc_vfs); in i40e_alloc_vfs()
930 pf->num_alloc_vfs = 0; in i40e_alloc_vfs()
[all …]
Di40e_virtchnl_pf.h109 int i40e_alloc_vfs(struct i40e_pf *pf, u16 num_alloc_vfs);
Di40e.h369 int num_alloc_vfs; /* actual number of VFs allocated */ member
Di40e_ethtool.c2281 if (ntohl(fsp->h_ext.data[1]) >= pf->num_alloc_vfs) { in i40e_add_fdir_ethtool()
Di40e_main.c6487 if (pf->num_alloc_vfs) { in i40e_reset_and_rebuild()
6488 for (v = 0; v < pf->num_alloc_vfs; v++) in i40e_reset_and_rebuild()
6587 for (i = 0; i < pf->num_alloc_vfs && mdd_detected; i++) { in i40e_handle_mdd_event()