Skip to content

ipv6: sit: Implement TSO/GSO support

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ipv6: gso: make ipv6_gso_segment() stackablenet/ipv6/ip6_offload.c+17 -60 replies
2/3ipv6: sit: add GSO/TSO supportinclude/linux/netdev_features.h include/linux/skbuff.h net/core/ethtool.c +5 more+40 -110 replies
3/3bnx2x: add TSO support for SIT tunnelsdrivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] ipv6: sit: Implement TSO/GSO support

This patch serie implements GSO/TSO support for SIT tunnels

Broadcom bnx2x driver is now enabled for TSO support of SIT traffic

Before patches :

lpq84:~# ./netperf -H 2002:af6:1153:: -Cc
MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to 2002:af6:1153:: () port 0 AF_INET6
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

87380 16384 16384 10.00 3168.31 4.81 4.64 2.988 2.877

After patches :

lpq84:~# ./netperf -H 2002:af6:1153:: -Cc
MIGRATED TCP STREAM TEST from ::0 (::) port 0 AF_INET6 to 2002:af6:1153:: () port 0 AF_INET6
Recv   Send    Send                          Utilization       Service Demand
Socket Socket  Message  Elapsed              Send     Recv     Send    Recv
Size   Size    Size     Time     Throughput  local    remote   local   remote
bytes  bytes   bytes    secs.    10^6bits/s  % S      % S      us/KB   us/KB

87380 16384 16384 10.00 6006.97 1.86 5.48 0.608 1.795

Eric Dumazet (3):
ipv6: gso: make ipv6_gso_segment() stackable
ipv6: sit: add GSO/TSO support
bnx2x: add TSO support for SIT tunnels

 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c |  3 ++-
 include/linux/netdev_features.h                  |  2 ++
 include/linux/skbuff.h                           |  6 +++--
 net/core/ethtool.c                               |  1 +
 net/ipv4/af_inet.c                               |  1 +
 net/ipv4/tcp_offload.c                           |  1 +
 net/ipv6/ip6_offload.c                           | 34 +++++++++++++++++++-----
 net/ipv6/sit.c                                   | 28 ++++++++++++-------
 net/ipv6/udp_offload.c                           |  1 +
 9 files changed, 59 insertions(+), 18 deletions(-)
Signature · 1 line
1.8.4