Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4c78bb84 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

team: lb: let userspace care about port macs



Better to leave this for userspace

Signed-off-by: default avatarJiri Pirko <jpirko@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a74e9106
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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 = {