|
@@ -80,7 +80,7 @@ static void rnic_init(struct iwch_dev *rnicp)
|
|
rnicp->attr.max_mem_regs = cxio_num_stags(&rnicp->rdev);
|
|
rnicp->attr.max_mem_regs = cxio_num_stags(&rnicp->rdev);
|
|
rnicp->attr.max_phys_buf_entries = T3_MAX_PBL_SIZE;
|
|
rnicp->attr.max_phys_buf_entries = T3_MAX_PBL_SIZE;
|
|
rnicp->attr.max_pds = T3_MAX_NUM_PD - 1;
|
|
rnicp->attr.max_pds = T3_MAX_NUM_PD - 1;
|
|
- rnicp->attr.mem_pgsizes_bitmask = 0x7FFF; /* 4KB-128MB */
|
|
|
|
|
|
+ rnicp->attr.mem_pgsizes_bitmask = T3_PAGESIZE_MASK;
|
|
rnicp->attr.max_mr_size = T3_MAX_MR_SIZE;
|
|
rnicp->attr.max_mr_size = T3_MAX_MR_SIZE;
|
|
rnicp->attr.can_resize_wq = 0;
|
|
rnicp->attr.can_resize_wq = 0;
|
|
rnicp->attr.max_rdma_reads_per_qp = 8;
|
|
rnicp->attr.max_rdma_reads_per_qp = 8;
|