aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_cmds.h
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2013-07-23 05:55:03 -0400
committerDavid S. Miller <davem@davemloft.net>2013-07-24 18:41:52 -0400
commit3175d8c2d05f4c87ba616d4c11037a4ad3f77378 (patch)
tree0bc33bbcb84487e7263af90636c36473ffa82367 /drivers/net/ethernet/emulex/benet/be_cmds.h
parent95046b927a54f461766f83a212c6a93bc5fd2e67 (diff)
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>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_cmds.h')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_cmds.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.h b/drivers/net/ethernet/emulex/benet/be_cmds.h
index 5e9e2b0e920a..eb541f0dfee8 100644
--- a/drivers/net/ethernet/emulex/benet/be_cmds.h
+++ b/drivers/net/ethernet/emulex/benet/be_cmds.h
@@ -1937,6 +1937,8 @@ extern int be_cmd_get_active_mac(struct be_adapter *adapter, u32 pmac_id,
1937extern int be_cmd_get_perm_mac(struct be_adapter *adapter, u8 *mac); 1937extern int be_cmd_get_perm_mac(struct be_adapter *adapter, u8 *mac);
1938extern int be_cmd_set_mac_list(struct be_adapter *adapter, u8 *mac_array, 1938extern int be_cmd_set_mac_list(struct be_adapter *adapter, u8 *mac_array,
1939 u8 mac_count, u32 domain); 1939 u8 mac_count, u32 domain);
1940extern int be_cmd_set_mac(struct be_adapter *adapter, u8 *mac, int if_id,
1941 u32 dom);
1940extern int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid, 1942extern int be_cmd_set_hsw_config(struct be_adapter *adapter, u16 pvid,
1941 u32 domain, u16 intf_id); 1943 u32 domain, u16 intf_id);
1942extern int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid, 1944extern int be_cmd_get_hsw_config(struct be_adapter *adapter, u16 *pvid,