Quoting r. Sean Hefty ([EMAIL PROTECTED]) "Re: [openib-general] [PATCH] change SMI/GSI 
QP types to match QP index values":
> On Fri, 24 Sep 2004 10:38:03 -0700
> Sean Hefty <[EMAIL PROTECTED]> wrote:
> 
> > 
> > Index: include/ib_verbs.h
> > ===================================================================
> > --- include/ib_verbs.h      (revision 880)
> > +++ include/ib_verbs.h      (working copy)
> > @@ -320,11 +320,11 @@
> >  };
> >  
> >  enum ib_qp_type {
> > +   IB_QPT_SMI,     /* SMI type = QP index 0 */
> > +   IB_QPT_GSI,     /* GSI type = QP index 1 */
> 
> I've committed this change.
> _______________________________________________

I think you really want:

enum ib_qp_type {
        IB_QPT_SMI=0,
        IB_QPT_GSI=1


                
to stress the fact that you really want to assign specific
values to IB_QPT_SMI/IB_QPT_GSI or the code would not work correctly.

MST
_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to