netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] net: Implement GSO/TSO support for IPIP
@ 2013-10-19 18:42 Eric Dumazet
  2013-10-19 18:42 ` [PATCH net-next 1/6] ipv4: gso: send_check() & segment() cleanups Eric Dumazet
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Eric Dumazet @ 2013-10-19 18:42 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev, Jerry Chu, Tom Herbert, Eric Dumazet

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

-- 
1.8.4

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

end of thread, other threads:[~2013-10-19 23:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-19 18:42 [PATCH net-next 0/6] net: Implement GSO/TSO support for IPIP Eric Dumazet
2013-10-19 18:42 ` [PATCH net-next 1/6] ipv4: gso: send_check() & segment() cleanups Eric Dumazet
2013-10-19 18:42 ` [PATCH net-next 2/6] net: generalize skb_segment() Eric Dumazet
2013-10-19 18:42 ` [PATCH net-next 3/6] ipv4: generalize gre_handle_offloads Eric Dumazet
2013-10-19 18:42 ` [PATCH net-next 4/6] ipv4: gso: make inet_gso_segment() stackable Eric Dumazet
2013-10-19 18:42 ` [PATCH net-next 5/6] ipip: add GSO/TSO support Eric Dumazet
2013-10-19 21:00   ` Dmitry Kravkov
2013-10-19 18:42 ` [PATCH net-next 6/6] bnx2x: add TSO support for IPIP Eric Dumazet
2013-10-19 18:59 ` [PATCH net-next 0/6] net: Implement GSO/TSO " Eric Dumazet
2013-10-19 23:37   ` 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).