RDMA/efa: Introduce SRD RNR retry
authorGal Pressman <galpress@amazon.com>
Fri, 31 Jul 2020 06:04:20 +0000 (09:04 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 18 Aug 2020 17:52:45 +0000 (14:52 -0300)
commita4e6a1dd57469d6ecee084db1507d3e37908d1e2
tree7f57bf03eb58d8d9b902e4a10fab239359f0d179
parent22c50e0660f40173eec8a5b714b27ef9e64b93c7
RDMA/efa: Introduce SRD RNR retry

This patch introduces the ability to configure SRD QPs with the RNR retry
parameter when issuing a modify QP command.

In addition, a capability bit was added to report support to the userspace
library.

Link: https://lore.kernel.org/r/20200731060420.17053-5-galpress@amazon.com
Reviewed-by: Firas JahJah <firasj@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
drivers/infiniband/hw/efa/efa_com_cmd.c
drivers/infiniband/hw/efa/efa_com_cmd.h
drivers/infiniband/hw/efa/efa_verbs.c
include/uapi/rdma/efa-abi.h