team: add support for ndo_switch_port_stp_update when team dev is a bridge port
Subsystems (3)
PATCH 3/3 team: add support for ndo_switch_port_stp_update when team dev is a bridge port
From: Roopa Prabhu <[email protected]>
This patch adds support for stp state offload netdev op to support the case where team dev is a bridge port and team slaves are switch ports.
Signed-off-by Roopa Prabhu <[email protected]>
--- drivers/net/team/team.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/team/team.c +1 -0
@@ -1981,6 +1981,7 @@ static const struct net_device_ops team_netdev_ops = { .ndo_change_carrier = team_change_carrier, .ndo_bridge_setlink = ndo_dflt_netdev_switch_port_bridge_setlink, .ndo_bridge_dellink = ndo_dflt_netdev_switch_port_bridge_dellink, + .ndo_switch_port_stp_update = ndo_dflt_netdev_switch_port_stp_update, };/***********************
Signature · 1 line
1.7.10.4
Quoted 6 lines · Fri, Mar 06, 2015 at 05:04:18AM CET, [email protected] wrote:
From: Roopa Prabhu <[email protected]>
This patch adds support for stp state offload netdev op to support the case where team dev is a bridge port and team slaves are switch ports.
Signed-off-by Roopa Prabhu <[email protected]>
Acked-by Jiri Pirko <[email protected]>