be2net: Use GET_PROFILE_CONFIG cmd for BE3-R to query max-vfs
authorSuresh Reddy <suresh.reddy@emulex.com>
Tue, 11 Mar 2014 13:23:03 +0000 (18:53 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 20:19:47 +0000 (16:19 -0400)
commitecf1f6e1df385d17b9cdebd06edf4d1f00d217a7
treedf5b059f138838db620117c4f14ea51006b15724
parent39e7d095f9d0a82a78804650917cd57972a480ce
be2net: Use GET_PROFILE_CONFIG cmd for BE3-R to query max-vfs

Use GET_PROFILE_CONFIG_V1 cmd even for BE3-R (it's already used for
Lancer-R and Skyhawk-R), to query max-vfs value supported by the FW.
This is needed as on some configs, the value exported in the PCI-config
space is not accurate.

Signed-off-by: Suresh Reddy <suresh.reddy@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c