Commit 247f6d0f authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

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:
	b0ce3508 ("bonding: allow TSO being set on bonding master")
and bridge:
	f902e881 ("bridge: Add ability to enable TSO")
Suggested-by: default avatarJiri Prochazka <jprochaz@redhat.com>
Signed-off-by: default avatarJiri Pirko <jiri@resnulli.us>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7eb60345
...@@ -1937,6 +1937,9 @@ static netdev_features_t team_fix_features(struct net_device *dev, ...@@ -1937,6 +1937,9 @@ static netdev_features_t team_fix_features(struct net_device *dev,
mask); mask);
} }
rcu_read_unlock(); rcu_read_unlock();
features = netdev_add_tso_features(features, mask);
return features; return features;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment