Commit 43dc4e01 authored by Donald Dutile's avatar Donald Dutile Committed by Jeff Kirsher
Browse files

ixgbe: Limit number of reported VFs to device specific value

ixgbe claims it supports 64 VFs in its SRIOV capability
structure, but the driver only supports 63.  Adjust it
so sysfs sriov configuration checking will check with
the proper totalvf value.

Signed-off-by: default avatarDonald Dutile <>
Acked-by: default avatarGreg Rose <>
Tested-by: default avatarPhil Schmitt <>
Tested-by: default avatarSibai Li <>
Signed-off-by: default avatarJeff Kirsher <>
parent da36b647
......@@ -7389,6 +7389,7 @@ static int ixgbe_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
memcpy(&hw->mbx.ops, ii->mbx_ops, sizeof(hw->mbx.ops));
pci_sriov_set_totalvfs(pdev, 63);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment