[openib-general] [PATCH] SMI update

Hal Rosenstock halr at voltaire.com
Fri Sep 17 12:11:25 PDT 2004


On Fri, 2004-09-17 at 13:51, Hal Rosenstock wrote:
> Roland Dreier wrote:
> >     Hal> Doesn't the mad_agent supplied in the ib_mad_post_send take
> >     Hal> care of that ?
> >
> > I don't see how it can.  What am I missing?
> 
> You're right. It's not the switch output port. Another parameter is needed
> to support switches when sending DR packets. It can be ignored for CAs.

On second thought, it can work. Since there is only one port on the
switch (base or enhanced switch port 0), the port_num parameter could
be overloaded to mean the output port for DR SMI packets and ignored
otherwise (LR) for switches.

-- Hal




More information about the general mailing list