[openib-general] ib_mad.h: ib_mad_reg_req question

Hal Rosenstock halr at voltaire.com
Tue Aug 31 12:03:10 PDT 2004


Currently, ib_mad_reg_req includes the mgmt_class as follows:

struct ib_mad_reg_req {
        u8      mgmt_class;
...
};

There are 2 SM classes: one for direct routed and the other for LID
routed. Should these be handled separately (requiring 2 registrations
for a client to get them all) or treated "special" and allow one
registration to get them ?

To me, this is a 2 part question:
1. Is there ever a need to get just one of these classes ? (I don't
think so but want to be sure...)
2. If not, then is it acceptable to muddy the interface this way ?

-- Hal




More information about the general mailing list