diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2015-01-27 16:58:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-28 04:12:57 +0300 |
commit | 5a03108689c6f3e448a920b42af04e6d28401f80 (patch) | |
tree | c8ac6179417d37b6b89bf4d47379312d0acd0e3b /include/linux/mlx4 | |
parent | 772103e6b1a0ceb4fb482fb9414e55ac9be27250 (diff) | |
download | linux-5a03108689c6f3e448a920b42af04e6d28401f80.tar.xz |
net/mlx4_core: Adjust command timeouts to conform to the firmware spec
The firmware spec states that the timeout for all commands should be 60 seconds.
In the past, the spec indicated that there were several classes of timeout
(short, medium, and long). The driver has these different timeout classes.
We leave the class differentiation in the driver as-is (to protect against any
future spec changes), but set the timeout for all classes to be 60 seconds.
In addition, we fix a few commands which had hard-coded numeric timeouts specified.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/cmd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mlx4/cmd.h b/include/linux/mlx4/cmd.h index c989442ffc6a..ae95adc78509 100644 --- a/include/linux/mlx4/cmd.h +++ b/include/linux/mlx4/cmd.h @@ -165,9 +165,9 @@ enum { }; enum { - MLX4_CMD_TIME_CLASS_A = 10000, - MLX4_CMD_TIME_CLASS_B = 10000, - MLX4_CMD_TIME_CLASS_C = 10000, + MLX4_CMD_TIME_CLASS_A = 60000, + MLX4_CMD_TIME_CLASS_B = 60000, + MLX4_CMD_TIME_CLASS_C = 60000, }; enum { |