]> 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)
commit8f6f863d65e48f3a1c514c2f2c918d05d78ec24a
treebfb0c5c7ce38961e20bed8d18ec055333f94a3a5
parentc8ca1992269fcd9551961c5062dbe84830ba268c
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