net: bcmgenet: enable NETIF_F_HW_CSUM feature
authorDoug Berger <opendmb@gmail.com>
Wed, 18 Dec 2019 00:51:09 +0000 (16:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Dec 2019 02:11:10 +0000 (18:11 -0800)
commitdd8e911b7f2af2315184a8e551ca77ff226a4ec5
tree65ca1b59beebaac1003b72674fee6f5efee8d69d
parent99d55638d4b053c549c924959747c58392b2dbea
net: bcmgenet: enable NETIF_F_HW_CSUM feature

The GENET hardware should be capable of generating IP checksums
using the NETIF_F_HW_CSUM feature, so switch to using that feature
instead of the depricated NETIF_F_IP_CSUM and NETIF_F_IPV6_CSUM.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c