]> git.baikalelectronics.ru Git - kernel.git/commit
mvneta: Driver and hardware supports IPv6 offload, so enable it
authorAndrew Pilloud <andrewpilloud@igneoussystems.com>
Fri, 1 Sep 2017 14:49:49 +0000 (07:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Sep 2017 17:36:38 +0000 (10:36 -0700)
commitb9e872505ba2f68717b9e43be2b0c0b221fe0458
treebe168a9b190bc829ada0c483323c1f2eaa30407a
parentf852c79fbed97e6afcd3ad18b32d4ff880170e59
mvneta: Driver and hardware supports IPv6 offload, so enable it

The mvneta driver and hardware supports IPv6 offload, however it
isn't enabled. Set the NETIF_F_IPV6_CSUM feature to inform the
network layer that this driver can offload IPV6 TCP and UDP
checksums. This change has been tested on an Armada 370 and the
feature support confirmed with several device datasheets
including the Armada XP and Armada 3700.

Signed-off-by: Andrew Pilloud <andrewpilloud@igneoussystems.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c