summaryrefslogtreecommitdiffstats
path: root/include/rdma
diff options
context:
space:
mode:
authorHaggai Eran <haggaie@mellanox.com>2015-07-30 17:50:17 +0300
committerDoug Ledford <dledford@redhat.com>2015-08-30 15:48:22 -0400
commit15865e7dab62a58407f1b7decdafd89dd0a8b063 (patch)
tree7901d79257413163afb65d7ded24eebe536cae4c /include/rdma
parentddde896e561a51ae5023e531d66dc6a140a95ec3 (diff)
downloadop-kernel-dev-15865e7dab62a58407f1b7decdafd89dd0a8b063.zip
op-kernel-dev-15865e7dab62a58407f1b7decdafd89dd0a8b063.tar.gz
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')
-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 39ed2d2..1b567bb 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;
};
OpenPOWER on IntegriCloud