[openib-general] Questions about SMI

Hal Rosenstock halr at voltaire.com
Tue Oct 12 12:56:12 PDT 2004


On Tue, 2004-10-12 at 14:58, Roland Dreier wrote:
> They arrive as normal receives but with SLID = 0.  The question I have
> is where the check for SMP trap with SLID == 0 will be made.  It's not
> possible for someone to register a MAD agent for SMP traps to handle
> this, because the SM itself needs to get all normal SMP traps.  So
> this special case needs to be handled before agent dispatch is done.

Sounds like the driver is the only place where this can be done then.

> Also, since this is really just a Tavor/Arbel-specific quirk, it would
> be better to find a generic way for low-level drivers to hook into the
> MAD code and handle this.

I can provide an ib_mad_send routine that takes a MAD pointer similar to
what is there now. Would that work for you ? Is that generic enough ?
The only issue will be for the MAD layer to deal with the send
completion differently than sends posted by agents of the MAD layer.
That should be straightforward to resolve.

-- Hal





More information about the general mailing list