diff options
author | Steve Wise <swise@opengridcomputing.com> | 2008-04-29 13:46:52 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-29 13:46:52 -0700 |
commit | ccaf10d0ad17bf755750160ebe594de7261a893e (patch) | |
tree | 74c49b7d303cac5b7a25afd6cfb7859cc379ec68 /drivers/infiniband/hw/cxgb3/cxio_hal.h | |
parent | 989a1780698c65dfe093a6aa89ceeff84c31f528 (diff) | |
download | talos-obmc-linux-ccaf10d0ad17bf755750160ebe594de7261a893e.tar.gz talos-obmc-linux-ccaf10d0ad17bf755750160ebe594de7261a893e.zip |
RDMA/cxgb3: Set the max_mr_size device attribute correctly
cxgb3 only supports 4GB memory regions. The lustre RDMA code uses
this attribute and currently has to code around our bad setting.
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb3/cxio_hal.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb3/cxio_hal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb3/cxio_hal.h b/drivers/infiniband/hw/cxgb3/cxio_hal.h index 99543d634704..2bcff7f5046e 100644 --- a/drivers/infiniband/hw/cxgb3/cxio_hal.h +++ b/drivers/infiniband/hw/cxgb3/cxio_hal.h @@ -53,6 +53,7 @@ #define T3_MAX_PBL_SIZE 256 #define T3_MAX_RQ_SIZE 1024 #define T3_MAX_NUM_STAG (1<<15) +#define T3_MAX_MR_SIZE 0x100000000ULL #define T3_STAG_UNSET 0xffffffff |