[openib-general] [PATCH RFC 1 of 5] IB/sa: QoS support

Michael S. Tsirkin mst at mellanox.co.il
Mon Jan 22 09:57:59 PST 2007


> > Index: linux-2.6/include/rdma/ib_sa.h
> > ===================================================================
> > --- linux-2.6.orig/include/rdma/ib_sa.h
> > +++ linux-2.6/include/rdma/ib_sa.h
> > @@ -109,8 +109,9 @@ enum ib_sa_selector {
> >   * Reserved rows are indicated with comments to help maintainability.
> >   */
> >  
> > -/* reserved:								 0 */
> > -/* reserved:								 1 */
> > +#define IB_SA_PATH_REC_SERVICE_ID		       (IB_SA_COMP_MASK( 0) | \
> > +							IB_SA_COMP_MASK( 1))
> > +
> 
> Does the annex redefine how component mask works, or does it make path records 
> have a special case?  (I'll try to look at the annex;  it's just that this 
> definition isn't obvious to me.)

Service ID is a special case - it has 2 comp masks that must always
go together.

-- 
MST




More information about the general mailing list