diff options
author | Jiri Pirko <jpirko@redhat.com> | 2012-04-20 00:42:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-21 16:26:33 -0400 |
commit | 4c78bb845bd2aaf1f7136e75314c7d034cfd120f (patch) | |
tree | 8410da7bcb184ef787f0464677d39b462a271bc1 /drivers/net | |
parent | a74e910618efb154936958cfeb2aab7c234478c5 (diff) |
team: lb: let userspace care about port macs
Better to leave this for userspace
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/team/team_mode_loadbalance.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/team/team_mode_loadbalance.c b/drivers/net/team/team_mode_loadbalance.c index 2b506b29a874..438d5b871630 100644 --- a/drivers/net/team/team_mode_loadbalance.c +++ b/drivers/net/team/team_mode_loadbalance.c | |||
@@ -142,22 +142,10 @@ static void lb_exit(struct team *team) | |||
142 | ARRAY_SIZE(lb_options)); | 142 | ARRAY_SIZE(lb_options)); |
143 | } | 143 | } |
144 | 144 | ||
145 | static int lb_port_enter(struct team *team, struct team_port *port) | ||
146 | { | ||
147 | return team_port_set_team_mac(port); | ||
148 | } | ||
149 | |||
150 | static void lb_port_change_mac(struct team *team, struct team_port *port) | ||
151 | { | ||
152 | team_port_set_team_mac(port); | ||
153 | } | ||
154 | |||
155 | static const struct team_mode_ops lb_mode_ops = { | 145 | static const struct team_mode_ops lb_mode_ops = { |
156 | .init = lb_init, | 146 | .init = lb_init, |
157 | .exit = lb_exit, | 147 | .exit = lb_exit, |
158 | .transmit = lb_transmit, | 148 | .transmit = lb_transmit, |
159 | .port_enter = lb_port_enter, | ||
160 | .port_change_mac = lb_port_change_mac, | ||
161 | }; | 149 | }; |
162 | 150 | ||
163 | static struct team_mode lb_mode = { | 151 | static struct team_mode lb_mode = { |