[openib-general] What does --process_mad-- exactly?

Hal Rosenstock halr at voltaire.com
Mon Sep 18 06:05:13 PDT 2006


Hi Michael,

On Mon, 2006-09-18 at 08:47, Michael Arndt wrote:
> Hi,
> 
> the function ib_mad_recv_done_handler, which is called if a dr_smp packet 
> was received, calls "port_priv->device->process_mad". I analyze that 
> function (recursive) for mthca, but I never found the point where a set or 
> get method is applied.
> 
> Does anybody knows, what exactly process_mad does.

process_mad hands the incoming MAD to the driver (mthca, ipath, eHCA) if
it has defined this routine. In the case of mthca, it is used to hand
incoming SMA and PMA packets down the firmware (see
hw/mthca/mthca_mad.c:mthca_process_mad).

-- Hal

> Thanks, Michael 
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 





More information about the general mailing list