Skip to content

Commit 4a38d09

Browse files
anjalisinghai1Jeff Kirsher
authored andcommitted
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>
1 parent 7b08639 commit 4a38d09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/net/ethernet/intel/i40e/i40e_main.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5765,6 +5765,9 @@ static int i40e_sw_init(struct i40e_pf *pf)
57655765
pf->num_req_vfs = min_t(int,
57665766
pf->hw.func_caps.num_vfs,
57675767
I40E_MAX_VF_COUNT);
5768+
dev_info(&pf->pdev->dev,
5769+
"Number of VFs being requested for PF[%d] = %d\n",
5770+
pf->hw.pf_id, pf->num_req_vfs);
57685771
}
57695772
#endif /* CONFIG_PCI_IOV */
57705773
pf->eeprom_version = 0xDEAD;

0 commit comments

Comments
 (0)