aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-10-15 12:22:11 -0400
committerDavid S. Miller <davem@davemloft.net>2015-10-16 02:29:28 -0400
commite87eb4051efe76b35d0a297db772f5964a001544 (patch)
tree41d406861b1c3b6fee5145adae8c650cc3457608 /drivers/net/bonding
parent181e4246b4666bc3af148c1dacb330c9be2acf76 (diff)
bonding: support encapsulated ipv6 TSO
If using a sixtofour device on top of a bonding device, skb segmentation of TCP traffic is done right before calling bonding xmit, because bonding only enables TSO for IPv4. This patch improves single flow performance by about 120 % on my hosts, because segmentation is deferred right before calling slave xmit. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r--drivers/net/bonding/bond_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 90f2615428c0..d0f23cd6e236 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -1071,7 +1071,7 @@ static netdev_features_t bond_fix_features(struct net_device *dev,
1071 NETIF_F_HIGHDMA | NETIF_F_LRO) 1071 NETIF_F_HIGHDMA | NETIF_F_LRO)
1072 1072
1073#define BOND_ENC_FEATURES (NETIF_F_ALL_CSUM | NETIF_F_SG | NETIF_F_RXCSUM |\ 1073#define BOND_ENC_FEATURES (NETIF_F_ALL_CSUM | NETIF_F_SG | NETIF_F_RXCSUM |\
1074 NETIF_F_TSO) 1074 NETIF_F_ALL_TSO)
1075 1075
1076static void bond_compute_features(struct bonding *bond) 1076static void bond_compute_features(struct bonding *bond)
1077{ 1077{