[ofw] help deciphering mlx4 driver

Leonid Keller leonid at mellanox.co.il
Wed Aug 6 08:45:18 PDT 2008


ca_event_handler is never invoked.
My oversight, thank you.
But do you really need it ?
MTHCA *does* call ca_event_handler, but it is not used by IBAL.

> -----Original Message-----
> From: ofw-bounces at lists.openfabrics.org 
> [mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Sean Hefty
> Sent: Monday, August 04, 2008 8:38 PM
> To: ofw at lists.openfabrics.org
> Subject: [ofw] help deciphering mlx4 driver
> 
> Can anyone point me to where in the mlx4 driver that 
> asynchronous HCA events are reported up?
> 
> I had traced the code to:
> 
> mlnx_open_ca() -> mlnx_set_cb() -> sets mlnx_hca_t::async_cb_p
> 
> which gets used in ca_event_handler().
> 
> Only, I don't see where ca_event_handler() is invoked, so I 
> think I'm off somewhere.
> 
> - Sean
> 
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
> 



More information about the ofw mailing list