Can someone explain why the mthca driver calls
ib_register_mad_agent() and implements ib_device.process_mad()?
It looks like the later does the actual processing of MAD packets
for the SMA and PMA whereas the former doesn't seem to do anything
except cause the ib_mad module to be modprobe'd.

I understand the need to have ib_mad loaded before ib_mthca
since the call to ib_register_device() will cause ib_mad
to create QP 0 & 1.

Normally, it looks like ib_register_mad_agent() is used to
tell the ib_mad module to send MADs to agents like the
SM, CM, etc.

-- 
Ralph Campbell <[EMAIL PROTECTED]>

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to