qattr 96 drivers/infiniband/hw/qedr/verbs.c struct qedr_device_attr *qattr = &dev->attr; qattr 100 drivers/infiniband/hw/qedr/verbs.c srq_attr->max_wr = qattr->max_srq_wr; qattr 101 drivers/infiniband/hw/qedr/verbs.c srq_attr->max_sge = qattr->max_sge; qattr 110 drivers/infiniband/hw/qedr/verbs.c struct qedr_device_attr *qattr = &dev->attr; qattr 121 drivers/infiniband/hw/qedr/verbs.c attr->fw_ver = qattr->fw_ver; qattr 122 drivers/infiniband/hw/qedr/verbs.c attr->sys_image_guid = qattr->sys_image_guid; qattr 123 drivers/infiniband/hw/qedr/verbs.c attr->max_mr_size = qattr->max_mr_size; qattr 124 drivers/infiniband/hw/qedr/verbs.c attr->page_size_cap = qattr->page_size_caps; qattr 125 drivers/infiniband/hw/qedr/verbs.c attr->vendor_id = qattr->vendor_id; qattr 126 drivers/infiniband/hw/qedr/verbs.c attr->vendor_part_id = qattr->vendor_part_id; qattr 127 drivers/infiniband/hw/qedr/verbs.c attr->hw_ver = qattr->hw_ver; qattr 128 drivers/infiniband/hw/qedr/verbs.c attr->max_qp = qattr->max_qp; qattr 129 drivers/infiniband/hw/qedr/verbs.c attr->max_qp_wr = max_t(u32, qattr->max_sqe, qattr->max_rqe); qattr 134 drivers/infiniband/hw/qedr/verbs.c attr->max_send_sge = qattr->max_sge; qattr 135 drivers/infiniband/hw/qedr/verbs.c attr->max_recv_sge = qattr->max_sge; qattr 136 drivers/infiniband/hw/qedr/verbs.c attr->max_sge_rd = qattr->max_sge; qattr 137 drivers/infiniband/hw/qedr/verbs.c attr->max_cq = qattr->max_cq; qattr 138 drivers/infiniband/hw/qedr/verbs.c attr->max_cqe = qattr->max_cqe; qattr 139 drivers/infiniband/hw/qedr/verbs.c attr->max_mr = qattr->max_mr; qattr 140 drivers/infiniband/hw/qedr/verbs.c attr->max_mw = qattr->max_mw; qattr 141 drivers/infiniband/hw/qedr/verbs.c attr->max_pd = qattr->max_pd; qattr 143 drivers/infiniband/hw/qedr/verbs.c attr->max_fmr = qattr->max_fmr; qattr 146 drivers/infiniband/hw/qedr/verbs.c 1 << (fls(qattr->max_qp_req_rd_atomic_resc) - 1); qattr 148 drivers/infiniband/hw/qedr/verbs.c min(1 << (fls(qattr->max_qp_resp_rd_atomic_resc) - 1), qattr 151 drivers/infiniband/hw/qedr/verbs.c attr->max_srq = qattr->max_srq; qattr 152 drivers/infiniband/hw/qedr/verbs.c attr->max_srq_sge = qattr->max_srq_sge; qattr 153 drivers/infiniband/hw/qedr/verbs.c attr->max_srq_wr = qattr->max_srq_wr; qattr 155 drivers/infiniband/hw/qedr/verbs.c attr->local_ca_ack_delay = qattr->dev_ack_delay; qattr 156 drivers/infiniband/hw/qedr/verbs.c attr->max_fast_reg_page_list_len = qattr->max_mr / 8; qattr 158 drivers/infiniband/hw/qedr/verbs.c attr->max_ah = qattr->max_ah; qattr 1075 drivers/infiniband/hw/qedr/verbs.c struct qedr_device_attr *qattr = &dev->attr; qattr 1085 drivers/infiniband/hw/qedr/verbs.c if (attrs->cap.max_send_wr > qattr->max_sqe) { qattr 1088 drivers/infiniband/hw/qedr/verbs.c attrs->cap.max_send_wr, qattr->max_sqe); qattr 1092 drivers/infiniband/hw/qedr/verbs.c if (attrs->cap.max_inline_data > qattr->max_inline) { qattr 1095 drivers/infiniband/hw/qedr/verbs.c attrs->cap.max_inline_data, qattr->max_inline); qattr 1099 drivers/infiniband/hw/qedr/verbs.c if (attrs->cap.max_send_sge > qattr->max_sge) { qattr 1102 drivers/infiniband/hw/qedr/verbs.c attrs->cap.max_send_sge, qattr->max_sge); qattr 1106 drivers/infiniband/hw/qedr/verbs.c if (attrs->cap.max_recv_sge > qattr->max_sge) { qattr 1109 drivers/infiniband/hw/qedr/verbs.c attrs->cap.max_recv_sge, qattr->max_sge); qattr 1245 drivers/infiniband/hw/qedr/verbs.c struct qedr_device_attr *qattr = &dev->attr; qattr 1247 drivers/infiniband/hw/qedr/verbs.c if (attrs->attr.max_wr > qattr->max_srq_wr) { qattr 1250 drivers/infiniband/hw/qedr/verbs.c attrs->attr.max_wr, qattr->max_srq_wr); qattr 1254 drivers/infiniband/hw/qedr/verbs.c if (attrs->attr.max_sge > qattr->max_sge) { qattr 1257 drivers/infiniband/hw/qedr/verbs.c attrs->attr.max_sge, qattr->max_sge);