summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
diff options
context:
space:
mode:
authorRaed Salem2018-12-17 10:40:06 +0100
committerSaeed Mahameed2019-02-05 21:10:19 +0100
commit82eaa1fa0448da1852d7b80832e67e80a08dcc27 (patch)
tree9a4f9befaf093a3b7a27ac44c258f218439f2f13 /drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf (diff)
downloadkernel-qcow2-linux-82eaa1fa0448da1852d7b80832e67e80a08dcc27.tar.gz
kernel-qcow2-linux-82eaa1fa0448da1852d7b80832e67e80a08dcc27.tar.xz
kernel-qcow2-linux-82eaa1fa0448da1852d7b80832e67e80a08dcc27.zip
net/mlx5e: FPGA, fix Innova IPsec TX offload data path performance
At Innova IPsec TX offload data path a special software parser metadata is used to pass some packet attributes to the hardware, this metadata is passed using the Ethernet control segment of a WQE (a HW descriptor) header. The cited commit might nullify this header, hence the metadata is lost, this caused a significant performance drop during hw offloading operation. Fix by restoring the metadata at the Ethernet control segment in case it was nullified. Fixes: 37fdffb217a4 ("net/mlx5: WQ, fixes for fragmented WQ buffers API") Signed-off-by: Raed Salem <raeds@mellanox.com> Reviewed-by: Tariq Toukan <tariqt@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c')
0 files changed, 0 insertions, 0 deletions