Skip to content

net: Implement GSO/TSO support for IPIP

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ipv4: gso: send_check() & segment() cleanupsnet/ipv4/af_inet.c+11 -130 replies
2/6net: generalize skb_segment()net/core/skbuff.c+5 -170 replies
3/6ipv4: generalize gre_handle_offloadsinclude/net/gre.h include/net/ip_tunnels.h net/ipv4/gre_demux.c +1 more+43 -300 replies
4/6ipv4: gso: make inet_gso_segment() stackableinclude/linux/skbuff.h net/core/dev.c net/ipv4/af_inet.c+25 -90 replies
5/6ipip: add GSO/TSO supportinclude/linux/netdev_features.h include/linux/skbuff.h net/core/ethtool.c +8 more+29 -81 reply
6/6bnx2x: add TSO support for IPIPdrivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c+3 -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/6] net: Implement GSO/TSO support for IPIP

This patch serie implements GSO/TSO support for IPIP

David, please note it applies after "ipv4: gso: send_check() & segment() cleanups" ( http://patchwork.ozlabs.org/patch/284714/ )

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

Before patch :

lpq83:~# ./netperf -H 7.7.9.84 -Cc
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 7.7.9.84 () port 0 AF_INET
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 3357.88 5.09 3.70 2.983 2.167

After patch :

lpq83:~# ./netperf -H 7.7.9.84 -Cc
MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 7.7.9.84 () port 0 AF_INET
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 8532.40 2.55 7.73 0.588 1.781

Eric Dumazet (6):
ipv4: gso: send_check() & segment() cleanups
net: generalize skb_segment()
ipv4: generalize gre_handle_offloads
ipv4: gso: make inet_gso_segment() stackable
ipip: add GSO/TSO support
bnx2x: add TSO support for IPIP

 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c |  4 +-
 include/linux/netdev_features.h                  |  2 +
 include/linux/skbuff.h                           | 13 ++++--
 include/net/gre.h                                |  8 +++-
 include/net/ip_tunnels.h                         |  3 ++
 net/core/dev.c                                   |  2 +
 net/core/ethtool.c                               |  1 +
 net/core/skbuff.c                                | 22 ++-------
 net/ipv4/af_inet.c                               | 58 ++++++++++++++++--------
 net/ipv4/gre_demux.c                             | 29 ------------
 net/ipv4/gre_offload.c                           |  3 +-
 net/ipv4/ip_tunnel_core.c                        | 33 ++++++++++++++
 net/ipv4/ipip.c                                  | 11 +++--
 net/ipv4/tcp_offload.c                           |  1 +
 net/ipv4/udp_offload.c                           |  1 +
 net/ipv6/ip6_offload.c                           |  1 +
 net/ipv6/udp_offload.c                           |  1 +
 net/mpls/mpls_gso.c                              |  1 +
 18 files changed, 116 insertions(+), 78 deletions(-)
Signature · 1 line
1.8.4