diff options
author | Andy Gospodarek <[email protected]> | 2010-07-21 06:40:31 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2010-07-21 13:48:55 -0700 |
commit | bded64a7ff82f6af56426a4ff2483888e5ad5fe9 (patch) | |
tree | bba5dac804e4e691e2879d8c5bfd79b1c3182f6b /tools/perf/util/trace-event-scripting.c | |
parent | 0577589cc1d99700c2789b2fa075cc522d0de30b (diff) |
ixgbe/igb: catch invalid VF settings
Some ixgbe cards put an invalid VF device ID in the PCIe SR-IOV
capability. The ixgbe driver is only valid for PFs or non SR-IOV
hardware. It seems that the same problem could occur on igb hardware as
well, so if we discover we are trying to initialize a VF in ixbge_probe
or igb_probe, print an error and exit.
Based on a patch for ixgbe from Chris Wright <[email protected]>.
Signed-off-by: Andy Gospodarek <[email protected]>
Cc: Chris Wright <[email protected]>
Acked-by: Chris Wright <[email protected]>
Acked-by: Greg Rose <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions