|
|
Subscribe / Log in / New account

Local Checksum Offload

From:  Edward Cree <ecree@solarflare.com>
To:  David Miller <davem@davemloft.net>
Subject:  [PATCH v2 net-next 0/5] Local Checksum Offload
Date:  Thu, 7 Jan 2016 17:10:17 +0000
Message-ID:  <568E9BF9.2050001@solarflare.com>
Cc:  <netdev@vger.kernel.org>, <linux-net-drivers@solarflare.com>, Tom Herbert <tom@herbertland.com>
Archive‑link:  Article

Tested with a VXLAN tunnel over a device that doesn't support inner checksum
 offload (so the checksum will have been done in sw by validate_xmit_skb()).

Changes from v1:
 * Enabled support in more encapsulation protocols.
   I think it now covers everything except GRE.
 * Wrote up some documentation covering TX checksum offload, LCO and RCO.

Edward Cree (5):
  net: local checksum offload for encapsulation
  net: enable LCO for udp_tunnel_handle_offloads() users
  net: vxlan: enable local checksum offload
  fou: enable LCO in FOU and GUE
  Documentation/networking: add tx-offloads.txt to explain LCO

 Documentation/networking/00-INDEX        |   2 +
 Documentation/networking/tx-offloads.txt | 122 +++++++++++++++++++++++++++++++
 drivers/net/vxlan.c                      |   4 +-
 include/linux/skbuff.h                   |  26 +++++++
 include/net/udp_tunnel.h                 |   3 +-
 net/ipv4/fou.c                           |   5 +-
 net/ipv4/ip_tunnel_core.c                |   4 +
 net/ipv4/udp.c                           |  29 +++-----
 net/ipv6/ip6_checksum.c                  |  24 ++----
 9 files changed, 178 insertions(+), 41 deletions(-)
 create mode 100644 Documentation/networking/tx-offloads.txt



Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds