]> git.baikalelectronics.ru Git - kernel.git/commit
sunvnet: add support for IPv6 checksum offloads
authorShannon Nelson <shannon.nelson@oracle.com>
Thu, 6 Jul 2017 23:57:10 +0000 (16:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 16 Jul 2017 23:36:01 +0000 (16:36 -0700)
commit22cc6ec0c5cab3d2eba2898b03f38395ab341136
treebfb0c5c7ce38961e20bed8d18ec055333f94a3a5
parent61837dab4eaef5491a38d2ccdd6c86ecf4aab7ac
sunvnet: add support for IPv6 checksum offloads

The original code didn't handle non-IPv4 packets very well, so the
offload advertising had to be scaled back down to just IP.  Here we
add the bits needed to support TCP and UDP packets over IPv6 and
turn the offload advertising back on.

Orabug: 26289579

Signed-off-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/ldmvsw.c
drivers/net/ethernet/sun/sunvnet.c
drivers/net/ethernet/sun/sunvnet_common.c