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)
commit98524e04e0500a04fc461195c99e4385001fc18f
treebfb0c5c7ce38961e20bed8d18ec055333f94a3a5
parentedaf3825182958a1fd5e39708fcb6ea48eca2060
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