aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorGreg Rose <[email protected]>2012-02-02 23:51:43 +0000
committerJeff Kirsher <[email protected]>2012-02-09 01:24:29 -0800
commit0629292117572a60465f38cdedde2f8164c3df0b (patch)
treead9cf86ad892b17b2d2f27e0bce7ae9a09faa857 /tools/perf/util/scripting-engines/trace-event-python.c
parentb868179c47e9e8eadcd04c1f3105998e528988a3 (diff)
igb: fix vf lookup
Recent addition of code to find already allocated VFs failed to take account that systems with 2 or more multi-port SR-IOV capable controllers might have already enabled VFs. Make sure that the VFs the function is finding are actually subordinate to the particular instance of the adapter that is looking for them and not subordinate to some device that has previously enabled SR-IOV. This is applicable to 3.2+ kernels. CC: [email protected] Reported-by: David Ahern <[email protected]> Signed-off-by: Greg Rose <[email protected]> Tested-by: Robert E Garrett <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions