mlx5: Use enum to indicate adapter page size
authorEli Cohen <eli@dev.mellanox.co.il>
Thu, 24 Oct 2013 09:01:03 +0000 (12:01 +0300)
committerRoland Dreier <roland@purestorage.com>
Fri, 8 Nov 2013 22:43:01 +0000 (14:43 -0800)
The Connect-IB adapter has an inherent page size which equals 4K.
Define an new enum that equals the page shift and use it instead of
using the value 12 throughout the code.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found