]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix SWP offsets when vlan inserted by driver
authorMoshe Shemesh <moshe@mellanox.com>
Fri, 13 Nov 2020 04:06:28 +0000 (06:06 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 7 Jan 2021 20:22:49 +0000 (12:22 -0800)
commit6e829673697ba3b1e9f0a834ecc5ebbd7a8e0ba7
tree65cc555aaf3da2c920d1fb7b6d307fed9a7b9966
parentd22acbe231145eed0b6ff106b46418b54312efb5
net/mlx5e: Fix SWP offsets when vlan inserted by driver

In case WQE includes inline header the vlan is inserted by driver even
if vlan offload is set. On geneve over vlan interface where software
parser is used the SWP offsets should be updated according to the added
vlan.

Fixes: 0c526724a824 ("net/mlx5e: TX, Add geneve tunnel stateless offload support")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/txrx.h
drivers/net/ethernet/mellanox/mlx5/core/en_accel/en_accel.h
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c