diff options
author | Shannon Nelson <shannon.nelson@oracle.com> | 2017-07-07 02:57:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-17 02:36:01 +0300 |
commit | 98524e04e0500a04fc461195c99e4385001fc18f (patch) | |
tree | bfb0c5c7ce38961e20bed8d18ec055333f94a3a5 /drivers/net/ethernet/sun/ldmvsw.c | |
parent | edaf3825182958a1fd5e39708fcb6ea48eca2060 (diff) | |
download | linux-98524e04e0500a04fc461195c99e4385001fc18f.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/sun/ldmvsw.c')
-rw-r--r-- | drivers/net/ethernet/sun/ldmvsw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/ldmvsw.c b/drivers/net/ethernet/sun/ldmvsw.c index 8603e397097e..5b56c24b6ed2 100644 --- a/drivers/net/ethernet/sun/ldmvsw.c +++ b/drivers/net/ethernet/sun/ldmvsw.c @@ -248,7 +248,7 @@ static struct net_device *vsw_alloc_netdev(u8 hwaddr[], dev->ethtool_ops = &vsw_ethtool_ops; dev->watchdog_timeo = VSW_TX_TIMEOUT; - dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_SG; + dev->hw_features = NETIF_F_HW_CSUM | NETIF_F_SG; dev->features = dev->hw_features; /* MTU range: 68 - 65535 */ |