mirror of https://gitee.com/openkylin/linux.git
i40e: add num_VFs message
Print a message to notify the user of how many VFs are initialized on each port. Change-Id: I29ac2acc478ee4e588fd6ffcc35133d4c6607ca9 Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
7b0863977f
commit
4a38d09cd9
|
@ -5765,6 +5765,9 @@ static int i40e_sw_init(struct i40e_pf *pf)
|
|||
pf->num_req_vfs = min_t(int,
|
||||
pf->hw.func_caps.num_vfs,
|
||||
I40E_MAX_VF_COUNT);
|
||||
dev_info(&pf->pdev->dev,
|
||||
"Number of VFs being requested for PF[%d] = %d\n",
|
||||
pf->hw.pf_id, pf->num_req_vfs);
|
||||
}
|
||||
#endif /* CONFIG_PCI_IOV */
|
||||
pf->eeprom_version = 0xDEAD;
|
||||
|
|
Loading…
Reference in New Issue