summaryrefslogtreecommitdiffstats
path: root/include/rdma/ib_cm.h
diff options
context:
space:
mode:
authorHaggai Eran <haggaie@mellanox.com>2015-07-30 16:50:17 +0200
committerDoug Ledford <dledford@redhat.com>2015-08-30 21:48:22 +0200
commit15865e7dab62a58407f1b7decdafd89dd0a8b063 (patch)
tree7901d79257413163afb65d7ded24eebe536cae4c /include/rdma/ib_cm.h
parentIB/ipoib: Return IPoIB devices matching connection parameters (diff)
downloadlinux-15865e7dab62a58407f1b7decdafd89dd0a8b063.tar.xz
linux-15865e7dab62a58407f1b7decdafd89dd0a8b063.zip
IB/cm: Expose service ID in request events
Expose the service ID on an incoming CM or SIDR request to the event handler. This will allow the RDMA CM module to de-multiplex connection requests based on the information encoded in the service ID. Acked-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/ib_cm.h')
-rw-r--r--include/rdma/ib_cm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_cm.h b/include/rdma/ib_cm.h
index 39ed2d2fbd51..1b567bbc3ad4 100644
--- a/include/rdma/ib_cm.h
+++ b/include/rdma/ib_cm.h
@@ -223,6 +223,7 @@ struct ib_cm_apr_event_param {
struct ib_cm_sidr_req_event_param {
struct ib_cm_id *listen_id;
+ __be64 service_id;
u8 port;
u16 pkey;
};