diff options
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_cmd.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_cmd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_cmd.c b/drivers/infiniband/hw/mthca/mthca_cmd.c index 1bc1ce758165..244d37c5bf6a 100644 --- a/drivers/infiniband/hw/mthca/mthca_cmd.c +++ b/drivers/infiniband/hw/mthca/mthca_cmd.c | |||
@@ -990,7 +990,6 @@ int mthca_QUERY_DEV_LIM(struct mthca_dev *dev, | |||
990 | MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_SG_RQ_OFFSET); | 990 | MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_SG_RQ_OFFSET); |
991 | dev_lim->max_sg = min_t(int, field, dev_lim->max_sg); | 991 | dev_lim->max_sg = min_t(int, field, dev_lim->max_sg); |
992 | MTHCA_GET(size, outbox, QUERY_DEV_LIM_MTT_ENTRY_SZ_OFFSET); | 992 | MTHCA_GET(size, outbox, QUERY_DEV_LIM_MTT_ENTRY_SZ_OFFSET); |
993 | dev_lim->mtt_seg_sz = size; | ||
994 | MTHCA_GET(size, outbox, QUERY_DEV_LIM_MPT_ENTRY_SZ_OFFSET); | 993 | MTHCA_GET(size, outbox, QUERY_DEV_LIM_MPT_ENTRY_SZ_OFFSET); |
995 | dev_lim->mpt_entry_sz = size; | 994 | dev_lim->mpt_entry_sz = size; |
996 | MTHCA_GET(field, outbox, QUERY_DEV_LIM_PBL_SZ_OFFSET); | 995 | MTHCA_GET(field, outbox, QUERY_DEV_LIM_PBL_SZ_OFFSET); |
@@ -1018,7 +1017,6 @@ int mthca_QUERY_DEV_LIM(struct mthca_dev *dev, | |||
1018 | } else { | 1017 | } else { |
1019 | MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_AV_OFFSET); | 1018 | MTHCA_GET(field, outbox, QUERY_DEV_LIM_MAX_AV_OFFSET); |
1020 | dev_lim->hca.tavor.max_avs = 1 << (field & 0x3f); | 1019 | dev_lim->hca.tavor.max_avs = 1 << (field & 0x3f); |
1021 | dev_lim->mtt_seg_sz = MTHCA_MTT_SEG_SIZE; | ||
1022 | dev_lim->mpt_entry_sz = MTHCA_MPT_ENTRY_SIZE; | 1020 | dev_lim->mpt_entry_sz = MTHCA_MPT_ENTRY_SIZE; |
1023 | } | 1021 | } |
1024 | 1022 | ||