Instead of relying on a the ib_cm module to check an incoming CM request's
private data header, add these checks to the RDMA CM module. This allows a
following patch to to clean up the ib_cm interface and remove the code that
looks into the private headers. It will also allow supporting namespaces
> @@ -1040,6 +1040,181 @@ static int cma_save_net_info(struct sockaddr
> *src_addr,
> return cma_save_ip_info(src_addr, dst_addr, ib_event, service_id);
> }
>
> +struct cma_req_info {
> + struct ib_device *device;
> + int port;
> + const union ib_gid *local_gid;
The use of a po
On 28/07/2015 02:07, Hefty, Sean wrote:
>> @@ -1040,6 +1040,181 @@ static int cma_save_net_info(struct sockaddr
>> *src_addr,
>> return cma_save_ip_info(src_addr, dst_addr, ib_event, service_id);
>> }
>>
>> +struct cma_req_info {
>> +struct ib_device *device;
>> +int port;
>> +con