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

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

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
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
}