]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: support encapsulated ipv6 TSO
authorEric Dumazet <edumazet@google.com>
Thu, 15 Oct 2015 16:22:11 +0000 (09:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Oct 2015 06:29:28 +0000 (23:29 -0700)
commit52b18ca52192af5fd92c31acb02736caae8c212d
tree41d406861b1c3b6fee5145adae8c650cc3457608
parent579a9bf5d127c0995e20a3a3236587facf9fdf49
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>
drivers/net/bonding/bond_main.c