]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Turn on HW tunnel offload in all TIRs
authorTariq Toukan <tariqt@mellanox.com>
Sun, 20 Jan 2019 09:04:34 +0000 (11:04 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 1 May 2019 21:39:15 +0000 (14:39 -0700)
commit188fbecfaaa9c067c6cb6c2f0083b369df577e9c
tree339be7d901425d5d8e5c7f1d228850fd7e42be32
parent92b84f3ab14e152af7cdc02a3a31a76f9ccc5f24
net/mlx5e: Turn on HW tunnel offload in all TIRs

Hardware requires that all TIRs that steer traffic to the same RQ
should share identical tunneled_offload_en value.
For that, the tunneled_offload_en bit should be set/unset (according to
the HW capability) for all TIRs', not only the ones dedicated for
tunneled (inner) traffic.

Fixes: ea75a5132ff4 ("net/mlx5e: Fix checksum handling for non-stripped vlan packets")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c