Commit 64050cd
Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
This reverts commit 6d6727d.
Although the NIC doesn't support offload of outer header CSUM, using
gso_partial_features allows offloading the tunnel's segmentation. The
driver relies on the stack CSUM calculation of the outer header. For
this, NETIF_F_GSO_UDP_TUNNEL_CSUM must be a member of the device's
features.
Fixes: 6d6727d ("net/mlx5e: Block offload of outer header csum for UDP tunnels")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>1 parent 9e72a55 commit 64050cd
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4789 | 4789 | | |
4790 | 4790 | | |
4791 | 4791 | | |
4792 | | - | |
4793 | | - | |
4794 | | - | |
| 4792 | + | |
| 4793 | + | |
| 4794 | + | |
| 4795 | + | |
| 4796 | + | |
| 4797 | + | |
| 4798 | + | |
4795 | 4799 | | |
4796 | 4800 | | |
4797 | 4801 | | |
| |||
0 commit comments