[openib-general] [PATCH] SMI update

Hal Rosenstock halr at voltaire.com
Fri Sep 17 13:46:34 PDT 2004


On Fri, 2004-09-17 at 15:31, Roland Dreier wrote:
>     Hal> My bad again :-( port_num needs to be at send time not
>     Hal> registration time. An extra parameter is needed for
>     Hal> ib_mad_post_send and ib_post_send for this. Do you see a way
>     Hal> around it ?
> 
> Nope.  I just committed the following on my branch.
> 
> Index: ib_verbs.h
> ===================================================================
> --- ib_verbs.h	(revision 833)
> +++ ib_verbs.h	(working copy)
> @@ -521,6 +521,7 @@
>  			u32	remote_qkey;
>  			int	timeout_ms; /* valid for MADs only */
>  			u16	pkey_index; /* valid for GSI only */
> +			u8	port_num;   /* valid for DR SMPs on switch only */
>  		} ud;
>  	} wr;
>  };

Similarly on openib-candidate branch (and committed)...

svn diff ib_verbs.h
Index: ib_verbs.h
===================================================================
--- ib_verbs.h  (revision 846)
+++ ib_verbs.h  (working copy)
@@ -543,6 +543,7 @@
                        u32     remote_qkey;
                        int     timeout_ms; /* valid for MADs only */
                        u16     pkey_index; /* valid for GSI only */
+                       u8      port_num;   /* valid for DR SMPs on
switch only */
                } ud;
        } wr;
 };





More information about the general mailing list