Lines Matching refs:attrs
138 if (!(device->attrs.device_cap_flags & IB_DEVICE_MEM_MGT_EXTENSIONS)) in rds_ib_add_one()
153 rds_ibdev->max_wrs = device->attrs.max_qp_wr; in rds_ib_add_one()
154 rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); in rds_ib_add_one()
157 !!(device->attrs.device_cap_flags & in rds_ib_add_one()
159 !!(device->attrs.odp_caps.per_transport_caps.rc_odp_caps & in rds_ib_add_one()
161 !!(device->attrs.odp_caps.per_transport_caps.rc_odp_caps & in rds_ib_add_one()
164 rds_ibdev->max_1m_mrs = device->attrs.max_mr ? in rds_ib_add_one()
165 min_t(unsigned int, (device->attrs.max_mr / 2), in rds_ib_add_one()
168 rds_ibdev->max_8k_mrs = device->attrs.max_mr ? in rds_ib_add_one()
169 min_t(unsigned int, ((device->attrs.max_mr / 2) * RDS_MR_8K_SCALE), in rds_ib_add_one()
172 rds_ibdev->max_initiator_depth = device->attrs.max_qp_init_rd_atom; in rds_ib_add_one()
173 rds_ibdev->max_responder_resources = device->attrs.max_qp_rd_atom; in rds_ib_add_one()
210 device->attrs.max_mr, rds_ibdev->max_wrs, rds_ibdev->max_sge, in rds_ib_add_one()