Skip to contentSkip to conversation

team: allow TSO being set on master

PATCH Applied Jiri Pirko 2 participants 2 messages Feb 25, 2015 – Feb 27, 2015

Subsystems (3)
lore
Share & tools
lore

Jiri Pirko

author maintainer
#0 lore raw

PATCH 1/1 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")
---
 drivers/net/team/team.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/net/team/team.c +3 -0
index 0e62274..a7d163b 100644
@@ -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;
 }
 
Signature · 1 line
1.9.3
maintainer Applied
#1 lore raw

From: Jiri Pirko <[email protected]>
Date: Wed, 25 Feb 2015 19:52:11 +0100

Quoted 10 lines

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")

Applied, thanks Jiri.