]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Merge branch 'inet_csums'
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 19:28:52 +0000 (15:28 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 May 2014 19:28:52 +0000 (15:28 -0400)
commitc020b9d42045cdc235815ecf22b796a8f4e4d053
tree19aa4761b4381904203def58cf90abb6ae96cebe
parent2ad064968762534c0f3b552d5fe88496787bade9
parent4068579e1e098fa81d48db9ba4432ab664c58561
Merge branch 'inet_csums'

Tom Herbert says:

====================
net: Checksum offload changes

I am working on overhauling RX checksum offload. Goals of this effort
are:

- Specify what exactly it means when driver returns CHECKSUM_UNNECESSARY
- Preserve CHECKSUM_COMPLETE through encapsulation layers
- Don't do skb_checksum more than once per packet
- Unify GRO and non-GRO csum verification as much as possible
- Unify the checksum functions (checksum_init)
- Simply code

What is in this first patch set:

- Create a common "checksum_init" function which is called from
  TCPv{4,6} and UDPv{4,6}
- Add some for RFC6936, UDP/IPv6 zero checksums
- Add architecture support for csum_add and provide implementations
  for x86_64 and Sparc 32 and 64 bit (please test the latter)

Please review carefully and test if possible, mucking with basic
checksum functions is always a little precarious :-)
====================

Signed-off-by: David S. Miller <davem@davemloft.net>