]> 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)
commit13bccbb9eec6d4f3b3b880179bad57b8c2e366bd
tree339be7d901425d5d8e5c7f1d228850fd7e42be32
parent9bd8e3cb7468cf9028c9edf12c6a788242d0c9f3
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: eccdb8003d8c ("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