Skip to content

Commit

Permalink
team: lb: let userspace care about port macs
Browse files Browse the repository at this point in the history
Better to leave this for userspace

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Apr 21, 2012
1 parent a74e910 commit 4c78bb8
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions drivers/net/team/team_mode_loadbalance.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,22 +142,10 @@ static void lb_exit(struct team *team)
ARRAY_SIZE(lb_options));
}

static int lb_port_enter(struct team *team, struct team_port *port)
{
return team_port_set_team_mac(port);
}

static void lb_port_change_mac(struct team *team, struct team_port *port)
{
team_port_set_team_mac(port);
}

static const struct team_mode_ops lb_mode_ops = {
.init = lb_init,
.exit = lb_exit,
.transmit = lb_transmit,
.port_enter = lb_port_enter,
.port_change_mac = lb_port_change_mac,
};

static struct team_mode lb_mode = {
Expand Down

0 comments on commit 4c78bb8

Please sign in to comment.