diff options
author | Steve Wise <swise@opengridcomputing.com> | 2013-08-06 11:34:39 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-08-13 14:55:48 -0400 |
commit | a2de1499b349b9c7d0d6defcf3e97c5289324044 (patch) | |
tree | 42cb9019ce68c3aa612a1f87a219c670f14318e7 /drivers/infiniband/hw/cxgb4 | |
parent | b298881fcf52b04f073d64e4c584ac050506d7b9 (diff) |
RDMA/cxgb4: Advertise ~0ULL as max MR size
Lustre uses a advertised max MR size of ~0ULL to indicate it should
use a dma_mr. Hence advertise max MR size as ~0ULL.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/t4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/t4.h b/drivers/infiniband/hw/cxgb4/t4.h index 1272dfe056f5..e73ace739183 100644 --- a/drivers/infiniband/hw/cxgb4/t4.h +++ b/drivers/infiniband/hw/cxgb4/t4.h | |||
@@ -47,7 +47,7 @@ | |||
47 | #define T4_MAX_QP_DEPTH (T4_MAX_RQ_SIZE - 1) | 47 | #define T4_MAX_QP_DEPTH (T4_MAX_RQ_SIZE - 1) |
48 | #define T4_MAX_CQ_DEPTH (T4_MAX_IQ_SIZE - 1) | 48 | #define T4_MAX_CQ_DEPTH (T4_MAX_IQ_SIZE - 1) |
49 | #define T4_MAX_NUM_STAG (1<<15) | 49 | #define T4_MAX_NUM_STAG (1<<15) |
50 | #define T4_MAX_MR_SIZE (~0ULL - 1) | 50 | #define T4_MAX_MR_SIZE (~0ULL) |
51 | #define T4_PAGESIZE_MASK 0xffff000 /* 4KB-128MB */ | 51 | #define T4_PAGESIZE_MASK 0xffff000 /* 4KB-128MB */ |
52 | #define T4_STAG_UNSET 0xffffffff | 52 | #define T4_STAG_UNSET 0xffffffff |
53 | #define T4_FW_MAJ 0 | 53 | #define T4_FW_MAJ 0 |