aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/cmd.c
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@nvidia.com>2022-10-26 14:51:44 +0100
committerJakub Kicinski <kuba@kernel.org>2022-10-27 11:06:55 -0700
commit0f3caaa2c6fbf9f892bd235c9dce9eb551f8d815 (patch)
tree2a627b4c56aafd0bfad592798fd9442f358b547e /drivers/net/ethernet/mellanox/mlx5/core/cmd.c
parentnet/mlx5e: Update restore chain id for slow path packets (diff)
downloadlinux-dev-0f3caaa2c6fbf9f892bd235c9dce9eb551f8d815.tar.xz
linux-dev-0f3caaa2c6fbf9f892bd235c9dce9eb551f8d815.zip
net/mlx5: ASO, Create the ASO SQ with the correct timestamp format
mlx5 SQs must select the timestamp format explicitly according to the active clock mode, select the current active timestamp mode so ASO SQ create will succeed. This fixes the following error prints when trying to create ipsec ASO SQ while the timestamp format is real time mode. mlx5_cmd_out_err:778:(pid 34874): CREATE_SQ(0x904) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xd61c0b), err(-22) mlx5_aso_create_sq:285:(pid 34874): Failed to open aso wq sq, err=-22 mlx5e_ipsec_init:436:(pid 34874): IPSec initialization failed, -22 Fixes: cdd04f4d4d71 ("net/mlx5: Add support to create SQ and CQ for ASO") Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Reported-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Link: https://lore.kernel.org/r/20221026135153.154807-7-saeed@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/cmd.c')
0 files changed, 0 insertions, 0 deletions