]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit285756c1bc898887c8f0b0b1e1a6f2a3d8d7e115
treedf5b059f138838db620117c4f14ea51006b15724
parent04f28a8111a4e7cd6172705bcba511b2c544a7ac
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