be2net: use SET/GET_MAC_LIST for SH-R
authorSathya Perla <sathya.perla@emulex.com>
Tue, 23 Jul 2013 09:55:03 +0000 (15:25 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Jul 2013 22:41:52 +0000 (15:41 -0700)
commit3175d8c2d05f4c87ba616d4c11037a4ad3f77378
tree0bc33bbcb84487e7263af90636c36473ffa82367
parent95046b927a54f461766f83a212c6a93bc5fd2e67
be2net: use SET/GET_MAC_LIST for SH-R

On SH-R and Lancer-R, GET_MAC_LIST cmd is better supported
(instead of NTWK_MAC_QUERY cmd) to query provisioned MAC addresses.
Similiarly, (on SH-R and Lancer-R) SET_MAC_LIST must be used by the PF to
provision a permanent MAC addresses to the VF.

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