OSDN Git Service

net: mvpp2: enable UDP/TCP checksum over IPv6
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 5 Mar 2018 14:16:53 +0000 (15:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 17:55:55 +0000 (12:55 -0500)
commit381c56712db43af1112a21cce6bdc37281890cdb
tree33c0042d7f0cf4566d33fe00eecdb609376e2835
parent93ff130f1c2bae00c0378f065e441e988b0cd1e7
net: mvpp2: enable UDP/TCP checksum over IPv6

This patch adds the NETIF_F_IPV6_CSUM to the driver's features to enable
UDP/TCP checksum over IPv6. No extra configuration of the engine is
needed on top of the IPv4 counterpart, which already is in the features
list (NETIF_F_IP_CSUM).

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2.c