diff options
| author | Stefan Assmann <[email protected]> | 2012-08-18 04:06:11 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2012-09-22 01:38:31 -0700 |
| commit | f557147c4615f5e03abb673bd566901783565666 (patch) | |
| tree | 130b73b47e0604209167a2311ebdeb1735b2e687 /scripts | |
| parent | abb17e6c0c7b27693201dc85f75dbb184279fd10 (diff) | |
igb: Change how we check for pre-existing and assigned VFs
Adapt the pre-existing and assigned VFs code to the ixgbe way introduced
in commit 9297127b9cdd8d30c829ef5fd28b7cc0323a7bcd.
Instead of searching the enabled VFs we use pci_num_vf to determine enabled VFs.
By comparing to which PF an assigned VF is owned it's possible to decide
whether to leave it enabled or not.
Signed-off-by: Stefan Assmann <[email protected]>
Acked-by: Greg Rose <[email protected]>
Tested-by: Robert Garrett <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions