aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2015-02-25 13:52:11 -0500
committerDavid S. Miller <davem@davemloft.net>2015-02-27 17:11:28 -0500
commit247f6d0f8667fda408fbe0e503ab54a957be2ce5 (patch)
tree9ae9433cfdb9f293b2cdda2e5c16a76617558106
parent7eb603459caf1de4ddf36c18d7ce3ebef28dde8e (diff)
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 <jprochaz@redhat.com> Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/team/team.c3
1 files changed, 3 insertions, 0 deletions
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,
1937 mask); 1937 mask);
1938 } 1938 }
1939 rcu_read_unlock(); 1939 rcu_read_unlock();
1940
1941 features = netdev_add_tso_features(features, mask);
1942
1940 return features; 1943 return features;
1941} 1944}
1942 1945