[openib-general] [PATCH] CM: remove pkey from SIDR REQ - use pkey from path rec instead

Or Gerlitz ogerlitz at voltaire.com
Sat May 20 23:07:28 PDT 2006


Sean Hefty wrote:
> The pkey is provided into a SIDR REQ in two places, once as a parameter,
> and again in the path record.  Remove the pkey as a parameter and always
> use that given in the path record.
> 
> This change has no practical effect on ABI functionality.
> 
> Signed-off-by: Sean Hefty <sean.hefty at intel.com>
> ---
> Index: include/rdma/ib_cm.h
> ===================================================================
> --- include/rdma/ib_cm.h	(revision 6884)
> +++ include/rdma/ib_cm.h	(working copy)
> @@ -546,7 +546,6 @@ struct ib_cm_sidr_req_param {
>  	const void		*private_data;
>  	u8			private_data_len;
>  	u8			max_cm_retries;
> -	u16			pkey;
>  };

while reviewing this i noticed that this documentation error:

ib_send_cm_sidr_rep - Sends a service ID resolution ***request*** to the 
remote node.

which you can fix when committing this patch.

Or.




More information about the general mailing list