mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 04:34:11 +08:00
IB/ehca: Fix large page HW cap defines
Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
39089e7774
commit
08c283ac26
@ -100,10 +100,10 @@ struct ehca_sport {
|
||||
struct ehca_sma_attr saved_attr;
|
||||
};
|
||||
|
||||
#define HCA_CAP_MR_PGSIZE_4K 1
|
||||
#define HCA_CAP_MR_PGSIZE_64K 2
|
||||
#define HCA_CAP_MR_PGSIZE_1M 4
|
||||
#define HCA_CAP_MR_PGSIZE_16M 8
|
||||
#define HCA_CAP_MR_PGSIZE_4K 0x80000000
|
||||
#define HCA_CAP_MR_PGSIZE_64K 0x40000000
|
||||
#define HCA_CAP_MR_PGSIZE_1M 0x20000000
|
||||
#define HCA_CAP_MR_PGSIZE_16M 0x10000000
|
||||
|
||||
struct ehca_shca {
|
||||
struct ib_device ib_device;
|
||||
|
Loading…
Reference in New Issue
Block a user