aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSathya Perla <[email protected]>2011-12-13 00:58:50 +0000
committerDavid S. Miller <[email protected]>2011-12-13 13:34:26 -0500
commit11ac75ed1eb9d8f5ff067fa9a82ebf5075989281 (patch)
treeead18a44d5fa3fba328c2be772cf1568b7adbcc5 /tools/perf/scripts/python/bin
parent110b82bc6265a48c1a0bf198109bed325ed055e2 (diff)
be2net: refactor/cleanup vf configuration code
- use adapter->num_vfs (and not the module param) to store the actual number of vfs created. Use the same variable to reflect SRIOV enable/disable state. So, drop the adapter->sriov_enabled field. - use for_all_vfs() macro in VF configuration code - drop the "vf_" prefix for the fields of be_vf_cfg; the prefix is redundant and removing it helps reduce line wrap Signed-off-by: Sathya Perla <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions