Re: [PATCH v2 05/13] IB/cm: Share listening CM IDs

2015-07-28 Thread Haggai Eran
On 27/07/2015 22:04, Hefty, Sean wrote: +struct ib_cm_id *ib_cm_insert_listen(struct ib_device *device, + ib_cm_handler cm_handler, + __be64 service_id, __be64 service_mask) +{ + struct cm_id_private *cm_id_priv; + struct

RE: [PATCH v2 05/13] IB/cm: Share listening CM IDs

2015-07-27 Thread Hefty, Sean
+/** + * Create a new listening ib_cm_id and listen on the given service ID. + * + * If there's an existing ID listening on that same device and service ID, + * return it. + * + * @device: Device associated with the cm_id. All related communication will + * be associated with the

[PATCH v2 05/13] IB/cm: Share listening CM IDs

2015-07-26 Thread Haggai Eran
Enabling network namespaces for RDMA CM will allow processes on different namespaces to listen on the same port. In order to leave namespace support out of the CM layer, this requires that multiple RDMA CM IDs will be able to share a single CM ID. This patch adds infrastructure to retrieve an