Commit 08c283ac authored by Hoang-Nam Nguyen's avatar Hoang-Nam Nguyen Committed by Roland Dreier

IB/ehca: Fix large page HW cap defines

Signed-off-by: default avatarJoachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 39089e77
...@@ -100,10 +100,10 @@ struct ehca_sport { ...@@ -100,10 +100,10 @@ struct ehca_sport {
struct ehca_sma_attr saved_attr; struct ehca_sma_attr saved_attr;
}; };
#define HCA_CAP_MR_PGSIZE_4K 1 #define HCA_CAP_MR_PGSIZE_4K 0x80000000
#define HCA_CAP_MR_PGSIZE_64K 2 #define HCA_CAP_MR_PGSIZE_64K 0x40000000
#define HCA_CAP_MR_PGSIZE_1M 4 #define HCA_CAP_MR_PGSIZE_1M 0x20000000
#define HCA_CAP_MR_PGSIZE_16M 8 #define HCA_CAP_MR_PGSIZE_16M 0x10000000
struct ehca_shca { struct ehca_shca {
struct ib_device ib_device; struct ib_device ib_device;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment