[openib-general] [PATCH] SMI update

Roland Dreier roland at topspin.com
Fri Sep 17 12:31:41 PDT 2004


    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;
 };






More information about the general mailing list