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:b0ce3508b2
("bonding: allow TSO being set on bonding master") and bridge:f902e8812e
("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>
This commit is contained in:
parent
7eb603459c
commit
247f6d0f86
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue