net: Eliminate NETIF_F_GEN_CSUM and NETIF_F_V[46]_CSUM
[linux-drm-fsl-dcu.git] / drivers / net / ethernet / sfc / efx.c
index 1fe13c733c1e4515725f4639c1dbb62829ec5cd6..6f697438545d9404b71b796456f86c5e1d45c493 100644 (file)
@@ -3128,7 +3128,7 @@ static int efx_pci_probe(struct pci_dev *pci_dev,
        net_dev->features |= (efx->type->offload_features | NETIF_F_SG |
                              NETIF_F_HIGHDMA | NETIF_F_TSO |
                              NETIF_F_RXCSUM);
-       if (efx->type->offload_features & NETIF_F_V6_CSUM)
+       if (efx->type->offload_features & (NETIF_F_IPV6_CSUM | NETIF_F_HW_CSUM))
                net_dev->features |= NETIF_F_TSO6;
        /* Mask for features that also apply to VLAN devices */
        net_dev->vlan_features |= (NETIF_F_HW_CSUM | NETIF_F_SG |