[openib-general] [PATCH] ib_mad.c: Filter SMI and GSI packets if received on wrong QPN

Roland Dreier roland at topspin.com
Tue Sep 14 09:02:22 PDT 2004


    Sean> Looks good to me.  By the way, looking at the various SMI
    Sean> implementations available, I think that it makes sense to
    Sean> just merge that code into ib_mad.c.  A good portion of the
    Sean> SMI validates the MAD and determines if the MAD should be
    Sean> routed to the local device via the process_mad routine.
    Sean> Thoughts?  Also, does anyone know if we have a need to
    Sean> perform software loopback in the access layer?

If by software loopback you mean passing 0-hop DR SMPs to the
process_mad method, then yes, this is required.  On Tavor posting such
a MAD to a work queue will not work.

 - Roland



More information about the general mailing list