[openib-general] [PATCH] mthca: Test interrupts during initialization

Michael S. Tsirkin mst at mellanox.co.il
Mon Jan 17 09:00:29 PST 2005


Hello!
Quoting r. Roland Dreier (roland at topspin.com) "[openib-general] [PATCH] mthca: Test interrupts during initialization":
> I just committed this, patch, which tests interrupt generation during
> initialization.  If it fails, we'll now get a nice error message like
> 
>     ib_mthca 0000:04:00.0: NOP command failed to generate interrupt, aborting.
>     ib_mthca 0000:04:00.0: Try again with MSI/MSI-X disabled.
> 
> instead of a cryptic message about QP table init failing.  Also, the
> failure is much faster (we only wait 1/10 sec for the interrupt to
> arrive).  When things are working (with debug messages enabled), we
> now print
> 
>     ib_mthca 0000:04:00.0: NOP command IRQ test passed
> 
>  - Roland

If mthca could downgrade gracefully to regular interrupts,
the default for msi-x could be changed to 1?

mst



More information about the general mailing list