[ofa-general] [PATCH] OpenSM/ib_types.h: Rename IB_NOTICE_* macros for Producer Type field in Notice attribute

Hal Rosenstock halr at voltaire.com
Thu Apr 26 07:41:22 PDT 2007


On Thu, 2007-04-26 at 10:36, Yevgeny Kliteynik wrote:
> Hal Rosenstock wrote:
> > OpenSM/ib_types.h: Rename IB_NOTICE_* macros for Producer Type field in
> > Notice attribute
> > 
> > Update Notice Producer Type macros names
> 
> Looks fine (and also makes sense).
> This is for master only, right?

Right.

-- Hal

> -- Yevgeny
> 
> > Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
> > Signed-off-by: Hal Rosenstock <halr at voltaire.com>
> > 
> > diff --git a/osm/include/iba/ib_types.h b/osm/include/iba/ib_types.h
> > index 94141ba..7bb81a8 100644
> > --- a/osm/include/iba/ib_types.h
> > +++ b/osm/include/iba/ib_types.h
> > @@ -1557,54 +1557,52 @@ ib_class_is_rmpp(
> >  #define IB_NODE_TYPE_ROUTER					0x03
> >  /**********/
> >  
> > -/****d* IBA Base: Constants/IB_NOTICE_NODE_TYPE_CA
> > +/****d* IBA Base: Constants/IB_NOTICE_PRODUCER_TYPE_CA
> >  * NAME
> > -*	IB_NOTICE_NODE_TYPE_CA
> > +*	IB_NOTICE_PRODUCER_TYPE_CA
> >  *
> >  * DESCRIPTION
> > -*	Encoded generic node type used in MAD attributes (13.4.8.2)
> > +*	Encoded generic producer type used in Notice attribute (13.4.8.2)
> >  *
> >  * SOURCE
> >  */
> > -#define IB_NOTICE_NODE_TYPE_CA				(CL_NTOH32(0x000001))
> > +#define IB_NOTICE_PRODUCER_TYPE_CA			(CL_NTOH32(0x000001))
> >  /**********/
> >  
> > -/****d* IBA Base: Constants/IB_NOTICE_NODE_TYPE_SWITCH
> > +/****d* IBA Base: Constants/IB_NOTICE_PRODUCER_TYPE_SWITCH
> >  * NAME
> > -*	IB_NOTICE_NODE_TYPE_SWITCH
> > +*	IB_NOTICE_PRODUCER_TYPE_SWITCH
> >  *
> >  * DESCRIPTION
> > -*	Encoded generic node type used in MAD attributes (13.4.8.2)
> > +*	Encoded generic producer type used in Notice attribute (13.4.8.2)
> >  *
> >  * SOURCE
> >  */
> > -#define IB_NOTICE_NODE_TYPE_SWITCH			(CL_NTOH32(0x000002))
> > +#define IB_NOTICE_PRODUCER_TYPE_SWITCH			(CL_NTOH32(0x000002))
> >  /**********/
> >  
> > -/****d* IBA Base: Constants/IB_NOTICE_NODE_TYPE_ROUTER
> > +/****d* IBA Base: Constants/IB_NOTICE_PRODUCER_TYPE_ROUTER
> >  * NAME
> > -*	IB_NOTICE_NODE_TYPE_ROUTER
> > +*	IB_NOTICE_PRODUCER_TYPE_ROUTER
> >  *
> >  * DESCRIPTION
> > -*	Encoded generic node type used in MAD attributes (13.4.8.2)
> > +*	Encoded generic producer type used in Notice attribute (13.4.8.2)
> >  *
> >  * SOURCE
> >  */
> > -#define IB_NOTICE_NODE_TYPE_ROUTER			(CL_NTOH32(0x000003))
> > +#define IB_NOTICE_PRODUCER_TYPE_ROUTER			(CL_NTOH32(0x000003))
> >  /**********/
> >  
> > -/****d* IBA Base: Constants/IB_NOTICE_NODE_TYPE_SUBN_MGMT
> > +/****d* IBA Base: Constants/IB_NOTICE_NODE_TYPE_CLASS_MGR
> >  * NAME
> > -*	IB_NOTICE_NODE_TYPE_SUBN_MGMT
> > +*	IB_NOTICE_NODE_TYPE_CLASS_MGR
> >  *
> >  * DESCRIPTION
> > -*	Encoded generic node type used in MAD attributes (13.4.8.2).
> > -*	Note that this value is not defined for the NodeType field
> > -*	of the NodeInfo attribute (14.2.5.3).
> > +*	Encoded generic producer type used in Notice attribute (13.4.8.2)
> >  *
> >  * SOURCE
> >  */
> > -#define IB_NOTICE_NODE_TYPE_SUBN_MGMT		(CL_NTOH32(0x000004))
> > +#define IB_NOTICE_NODE_TYPE_CLASS_MGR			(CL_NTOH32(0x000004))
> >  /**********/
> >  
> >  /****d* IBA Base: Constants/IB_MTU_LEN_TYPE
> > 
> > 
> > 
> > _______________________________________________
> > general mailing list
> > general at lists.openfabrics.org
> > http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> > 
> > To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> > 
> 




More information about the general mailing list