From: Jiri Pirko Date: Wed, 25 Feb 2015 18:52:11 +0000 (+0100) Subject: team: allow TSO being set on master X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=247f6d0f8667fda408fbe0e503ab54a957be2ce5;p=openwrt%2Fstaging%2Fblogic.git team: allow TSO being set on master This patch allows TSO being set/unset on the master, so that GSO segmentation is done after team layer. Similar patch is present for bonding: b0ce3508b25e ("bonding: allow TSO being set on bonding master") and bridge: f902e8812ef6 ("bridge: Add ability to enable TSO") Suggested-by: Jiri Prochazka Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 0e62274e884a..a7d163bf5bbb 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -1937,6 +1937,9 @@ static netdev_features_t team_fix_features(struct net_device *dev, mask); } rcu_read_unlock(); + + features = netdev_add_tso_features(features, mask); + return features; }