On Thu, Feb 11, 2021 at 10:55:49AM +0200, Leon Romanovsky wrote:
From: Tal Gilboa <talgi@nvidia.com>
The traditional DevX CQ creation flow goes through mlx5_core_create_cq()
which checks that the given EQN corresponds to an existing EQ. For some
mlx5 devices this behaviour is too strict, they expect EQN assignment
during modify CQ stage.
Allow them to create CQ through general command interface.
Signed-off-by: Tal Gilboa <talgi@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
---
drivers/infiniband/hw/mlx5/devx.c | 13 ++++++++++++-
include/linux/mlx5/mlx5_ifc.h | 5 +++--
2 files changed, 15 insertions(+), 3 deletions(-)
Applied to for-next
Thanks,
Jason