]> err.no Git - linux-2.6/commit
mlx4_core: Increase command timeout for INIT_HCA to 10 seconds
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Sun, 21 Oct 2007 10:03:01 +0000 (12:03 +0200)
committerRoland Dreier <rolandd@cisco.com>
Sun, 21 Oct 2007 22:06:04 +0000 (15:06 -0700)
commit77109cc2823f025ccd66ebd9b88fbab90437b2d8
treed2e4e30e8d8aa850d2fc8d1cdb1c2ee11188329a
parent1b524963fd2d7fb20ea68df497151aa9d17fbca4
mlx4_core: Increase command timeout for INIT_HCA to 10 seconds

The current INIT_HCA firmware command timeout is sufficient for the
default number of resources (QPs, CQs, etc) being allocated, but if
the HCA profile is modified to increase the amount of resources, then
a spurious timeout is detected and HCA initialization fails.

Increase the timeout for the INIT_HCA command to 10 seconds, which
also brings it into line with all the other command timeouts.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/fw.c