summaryrefslogtreecommitdiff
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2011-12-13 00:58:50 (GMT)
committerDavid S. Miller <davem@davemloft.net>2011-12-13 18:34:26 (GMT)
commit11ac75ed1eb9d8f5ff067fa9a82ebf5075989281 (patch)
treeead18a44d5fa3fba328c2be772cf1568b7adbcc5 /drivers/macintosh
parent110b82bc6265a48c1a0bf198109bed325ed055e2 (diff)
downloadlinux-fsl-qoriq-11ac75ed1eb9d8f5ff067fa9a82ebf5075989281.tar.xz
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 <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions