Thread (2 messages) flat view 2 messages, 2 authors, 2021-02-12

Re: [PATCH mlx5-next] RDMA/mlx5: Allow CQ creation without attached EQs

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-02-12 18:09:17
Also in: linux-rdma

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help