OSDN Git Service

IB/hfi1, IB/rdmavt: Allow for extending of QP's s_ack_queue
authorKaike Wan <kaike.wan@intel.com>
Thu, 24 Jan 2019 03:21:01 +0000 (19:21 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 31 Jan 2019 16:36:05 +0000 (11:36 -0500)
commitddf922c31fedd19c5b89a269c35e5c8b68c64327
tree6daf6ecb072e29614ea2a1574e322042c93ea5da
parentf01b4d5a43da47a9f61618a81a4ff3258ddc2c01
IB/hfi1, IB/rdmavt: Allow for extending of QP's s_ack_queue

The OPFN protocol uses the COMPARE_SWAP request to exchange data
between the requester and the responder and therefore needs to
be stored in the QP's s_ack_queue when the request is received
on the responder side. However, because the user does not know
anything about the OPFN protocol, this extra entry in the
queue cannot be advertised to the user. This patch adds an extra
entry in a QP's s_ack_queue.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/rc.c
drivers/infiniband/hw/hfi1/verbs.c
include/rdma/rdma_vt.h