[openib-general] Re: User MAD registration with RMPP

Sean Hefty mshefty at ichips.intel.com
Thu Apr 28 13:18:15 PDT 2005


Hal Rosenstock wrote:

> Should the user registration check that RMPP is allowed for that
> management class (being registered) ? (It seems to me that allowing the
> user to enable RMPP on a management class which does not support RMPP
> might be dangerous).
> 
> If so, the list would be SA (class 3) and vendor range 2 (0x30-0x4f).
> Correct ?

I'm not sure that letting a user take over a management class that 
doesn't usually support RMPP would necessarily be dangerous; it just 
may not work for the user.  For the most part, the RMPP relies on the 
registration request to determine when to invoke RMPP.

The exception to this is that the code needs to calculate the offset of 
the user data separate from the common MAD headers.  This is done in 
the data_offset() function in mad_rmpp.c.

The classes that you mention above are the only classes that I know of 
that have RMPP defined.

- Sean



More information about the general mailing list