summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2011-12-13 01:58:50 +0100
committerDavid S. Miller <davem@davemloft.net>2011-12-13 19:34:26 +0100
commit11ac75ed1eb9d8f5ff067fa9a82ebf5075989281 (patch)
treeead18a44d5fa3fba328c2be772cf1568b7adbcc5 /include/net/sock.h
parentbe2net: fix ethtool ringparam reporting (diff)
downloadlinux-11ac75ed1eb9d8f5ff067fa9a82ebf5075989281.tar.xz
linux-11ac75ed1eb9d8f5ff067fa9a82ebf5075989281.zip
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 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions