netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next] team: allow TSO being set on master
@ 2015-02-25 18:52 Jiri Pirko
  2015-02-27 22:11 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Pirko @ 2015-02-25 18:52 UTC (permalink / raw)
  To: netdev; +Cc: davem, jprochaz

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>
---
 drivers/net/team/team.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c
index 0e62274..a7d163b 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,
 						     mask);
 	}
 	rcu_read_unlock();
+
+	features = netdev_add_tso_features(features, mask);
+
 	return features;
 }
 
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [patch net-next] team: allow TSO being set on master
  2015-02-25 18:52 [patch net-next] team: allow TSO being set on master Jiri Pirko
@ 2015-02-27 22:11 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-02-27 22:11 UTC (permalink / raw)
  To: jiri; +Cc: netdev, jprochaz

From: Jiri Pirko <jiri@resnulli.us>
Date: Wed, 25 Feb 2015 19:52:11 +0100

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

Applied, thanks Jiri.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-27 22:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 18:52 [patch net-next] team: allow TSO being set on master Jiri Pirko
2015-02-27 22:11 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).