Skip to content

Commit

Permalink
team: allow TSO being set on master
Browse files Browse the repository at this point in the history
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:
	b0ce350 ("bonding: allow TSO being set on bonding master")
and bridge:
	f902e88 ("bridge: Add ability to enable TSO")

Suggested-by: Jiri Prochazka <jprochaz@redhat.com>
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Feb 27, 2015
1 parent 7eb6034 commit 247f6d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/team/team.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 247f6d0

Please sign in to comment.