]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5e: Enable striding RQ for Connect-X IPsec capable devices
authorRaed Salem <raeds@nvidia.com>
Sun, 24 Jan 2021 20:40:23 +0000 (22:40 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 12 Feb 2021 02:50:09 +0000 (18:50 -0800)
commite4484d9df5000a18916e0bbcee50828eac8e293e
tree0d785f1faaa42683e40bb3e69d73dac9ac1eecb4
parent0e22bfb7c046e7c8ae339f396e78a0976633698c
net/mlx5e: Enable striding RQ for Connect-X IPsec capable devices

This limitation was inherited by previous Innova (FPGA) IPsec
implementation, it uses its private set of RQ handlers which does
not support striding rq, for Connect-X this is no longer true.

Fix by keeping this limitation only for Innova IPsec supporting devices,
as otherwise this limitation effectively wrongly blocks striding RQs for
all future Connect-X devices for all flows even if IPsec offload is not
used.

Fixes: 2d64663cd559 ("net/mlx5: IPsec: Add HW crypto offload support")
Signed-off-by: Raed Salem <raeds@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c
drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.h