Add ibv_open_qp() for XRC receive QPs

XRC receive QPs are shareable across multiple processes.  Allow any
process with access to the XRC domain to open an existing QP.  After
opening the QP, the process will receive events related to the QP and
be able to modify the QP.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
5 files changed