sfc: correctly support non-partial GSO_UDP_TUNNEL_CSUM on EF100
authorEdward Cree <ecree@solarflare.com>
Thu, 12 Nov 2020 15:19:47 +0000 (15:19 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 13 Nov 2020 23:33:27 +0000 (15:33 -0800)
commit42bfd69a9fdd84b6b99324e745c4817878bbe0b7
treec6349e650c0a46ba2ee01c064742973119c21c7c
parentdc8d2512e697f1f4d07b4722a5ca3b1bc84759e2
sfc: correctly support non-partial GSO_UDP_TUNNEL_CSUM on EF100

By asking the HW for the correct edits, we can make UDP tunnel TSO
 work without needing GSO_PARTIAL.  So don't specify it in our
 netdev->gso_partial_features.
However, retain GSO_PARTIAL support, as this will be used for other
 protocols later.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Acked-by: Martin Habets <mhabets@solarflare.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
drivers/net/ethernet/sfc/ef100_nic.c
drivers/net/ethernet/sfc/ef100_tx.c