]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Support SQD2RTS for modify QP
authorSergey Gorenko <sergeygo@nvidia.com>
Mon, 10 May 2021 10:23:32 +0000 (13:23 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 20 May 2021 14:41:07 +0000 (11:41 -0300)
commitef18fa60020d84fbb33dcf2f480809d719d3be0d
treef932d3540263fbee12ed67ac20259388e16c183e
parentbaacf0751a8be9360e1e8fcff35f16e2c62a4d58
RDMA/mlx5: Support SQD2RTS for modify QP

The transition of the QP state from SQD to RTS is allowed by the IB
specification. The hardware also supports that, but it is not
implemented in mlx5_ib.

This commit adds SQD2RTS command to the modify QP in mlx5_ib to support
the missing feature. The feature is required by the signature pipelining
API that will be added to rdma-core.

Link: https://lore.kernel.org/r/ab4876360bfba0e9d64a5e8599438e32e0cb351e.1620641808.git.leonro@nvidia.com
Reviewed-by: Evgenii Kochetov <evgeniik@nvidia.com>
Signed-off-by: Sergey Gorenko <sergeygo@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/qp.c
drivers/infiniband/hw/mlx5/qpc.c