]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/mlx4: Put non zero value in max_ah
authorEli Cohen <eli@mellanox.com>
Thu, 3 Jul 2014 13:39:00 +0000 (16:39 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:21 +0000 (14:45 -0700)
commit4c1da7b901a8af4af46ffbaea842acbf065fe311
tree6aba0a8dc35f5906fa156aae07964b43466a0b5a
parent22a53408b10439b40228bcc350ca5ecc4e936397
IB/mlx4: Put non zero value in max_ah

We put INT_MAX since this is the max value the in can hold.
Though hardware capability is unlimited, this is practically
a large enough number so we can use it.

Signed-off-by: Eli Cohen <eli@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/hw/mlx4/main.c