diff options
author | Sathya Perla <sathyap@serverengines.com> | 2009-06-17 20:09:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-19 03:18:41 -0400 |
commit | 24307eef74bd38e3fc6a6df8f8a1bfc48967f9f6 (patch) | |
tree | 86583877a2178f8ea1baff35e2262a6b1de8bd58 /drivers/net/benet/be_cmds.h | |
parent | 6ac7b687cb3acc437a586794949a43f5249956bb (diff) |
be2net: cleanup multicast_set cmd to avoid mc_list copy
Cleanup multicast_set method to avoid an extra copy of mc_list
and unwanted promiscuos sets to BE.
Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_cmds.h')
-rw-r--r-- | drivers/net/benet/be_cmds.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h index 0a9189defc2a..a567aa437ec9 100644 --- a/drivers/net/benet/be_cmds.h +++ b/drivers/net/benet/be_cmds.h | |||
@@ -716,8 +716,8 @@ extern int be_cmd_vlan_config(struct be_ctrl_info *ctrl, u32 if_id, | |||
716 | bool promiscuous); | 716 | bool promiscuous); |
717 | extern int be_cmd_promiscuous_config(struct be_ctrl_info *ctrl, | 717 | extern int be_cmd_promiscuous_config(struct be_ctrl_info *ctrl, |
718 | u8 port_num, bool en); | 718 | u8 port_num, bool en); |
719 | extern int be_cmd_mcast_mac_set(struct be_ctrl_info *ctrl, u32 if_id, | 719 | extern int be_cmd_multicast_set(struct be_ctrl_info *ctrl, u32 if_id, |
720 | u8 *mac_table, u32 num, bool promiscuous); | 720 | struct dev_mc_list *mc_list, u32 mc_count); |
721 | extern int be_cmd_set_flow_control(struct be_ctrl_info *ctrl, | 721 | extern int be_cmd_set_flow_control(struct be_ctrl_info *ctrl, |
722 | u32 tx_fc, u32 rx_fc); | 722 | u32 tx_fc, u32 rx_fc); |
723 | extern int be_cmd_get_flow_control(struct be_ctrl_info *ctrl, | 723 | extern int be_cmd_get_flow_control(struct be_ctrl_info *ctrl, |