[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1425614658-43701-4-git-send-email-roopa@cumulusnetworks.com>
Date: Thu, 5 Mar 2015 20:04:18 -0800
From: roopa@...ulusnetworks.com
To: sfeldma@...il.com, jiri@...nulli.us
Cc: davem@...emloft.net, netdev@...r.kernel.org
Subject: [PATCH net-next 3/3] team: add support for ndo_switch_port_stp_update when team dev is a bridge port
From: Roopa Prabhu <roopa@...ulusnetworks.com>
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 <roopa@...ulusnetworks.com>
---
drivers/net/team/team.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index a7d163b..8d96f89 100644
--- a/drivers/net/team/team.c
+++ b/drivers/net/team/team.c
@@ -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,
};
/***********************
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists