]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
udp: Add support for software checksum and GSO_PARTIAL with GSO offload
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 7 May 2018 18:08:46 +0000 (11:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 May 2018 02:30:06 +0000 (22:30 -0400)
commit6053d0f189064302420930f9ef9022e24a04946a
treea32784880b5707ba05ab9a1c5d6114ff4012fd85
parent0ad6509571e06b302d519f2f05e616ac8c1a10d7
udp: Add support for software checksum and GSO_PARTIAL with GSO offload

This patch adds support for a software provided checksum and GSO_PARTIAL
segmentation support. With this we can offload UDP segmentation on devices
that only have partial support for tunnels.

Since we are no longer needing the hardware checksum we can drop the checks
in the segmentation code that were verifying if it was present.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp_offload.c
net/ipv6/udp_offload.c