be2net: Use GET_PROFILE_CONFIG V1 cmd for BE3-R
authorVasundhara Volam <vasundhara.volam@emulex.com>
Sun, 21 Apr 2013 23:28:17 +0000 (23:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Apr 2013 19:36:06 +0000 (15:36 -0400)
commita05f99db86e6a57265890de1c9c7d748c3b25667
tree1579d8df0d59ff459395e53e69d05296b15bd871
parent0ad3157e813a59e91dfbea2eff6a3d330215f5af
be2net: Use GET_PROFILE_CONFIG V1 cmd for BE3-R

Use GET_PROFILE_CONFIG_V1 cmd for BE3-R, to query the maximum number of
TX rings available per function. On SH-R the same is queried via the
GET_FUNCTION_CONFIG cmd.

Signed-off-by: Vasundhara Volam <vasundhara.volam@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_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/emulex/benet/be_main.c