[ofa-general] [PATCH] mthca: increase INIT_HCA timeout
Jack Morgenstein
jackm at dev.mellanox.co.il
Sun Apr 19 06:17:23 PDT 2009
On Monday 13 April 2009 21:46, akepner at sgi.com wrote:
> Here's a little patch we've been carrying along for a while.
>
> If the num_qp module parameter is set higher than 2^19 or so,
> HCA initialization times out with EBUSY, e.g.:
>
> ib_mthca: probe of 0031:01:00.0 failed with error -16
>
> A 60 second timeout seems to be sufficient for the max number
> of QPs that the h/w can accomodate.
>
> Signed-off-by: Arthur Kepner <akepner at sgi.com>
>
I'm posting a slightly different patch for this issue. There are other commands which
also had a 1 HZ timeout, where according to the InfiniHost/InfiniHost III PRMs the timeout
should have been higher -- or different.
All commands in the driver should have 60-second timeouts to be on the safe side, and the
patch which follows corrects this oversight for INIT_HCA, CLOSE_HCA, SYS_EN, SYS_DIS, and CLOSE_IB.
- Jack
More information about the general
mailing list