Lines Matching refs:uk_attrs
39 props->max_send_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
40 props->max_recv_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
46 props->max_sge_rd = hw_attrs->uk_attrs.max_hw_read_sges; in irdma_query_device()
60 if (hw_attrs->uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_query_device()
280 struct irdma_uk_attrs *uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext() local
300 if (uk_attrs->hw_rev != IRDMA_GEN_1) in irdma_alloc_ucontext()
322 uresp.feature_flags = uk_attrs->feature_flags; in irdma_alloc_ucontext()
323 uresp.max_hw_wq_frags = uk_attrs->max_hw_wq_frags; in irdma_alloc_ucontext()
324 uresp.max_hw_read_sges = uk_attrs->max_hw_read_sges; in irdma_alloc_ucontext()
325 uresp.max_hw_inline = uk_attrs->max_hw_inline; in irdma_alloc_ucontext()
326 uresp.max_hw_rq_quanta = uk_attrs->max_hw_rq_quanta; in irdma_alloc_ucontext()
327 uresp.max_hw_wq_quanta = uk_attrs->max_hw_wq_quanta; in irdma_alloc_ucontext()
328 uresp.max_hw_sq_chunk = uk_attrs->max_hw_sq_chunk; in irdma_alloc_ucontext()
329 uresp.max_hw_cq_size = uk_attrs->max_hw_cq_size; in irdma_alloc_ucontext()
330 uresp.min_hw_cq_size = uk_attrs->min_hw_cq_size; in irdma_alloc_ucontext()
331 uresp.hw_rev = uk_attrs->hw_rev; in irdma_alloc_ucontext()
333 uresp.min_hw_wq_size = uk_attrs->min_hw_wq_size; in irdma_alloc_ucontext()
815 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_iw_fill_and_set_qpctx_info()
834 struct irdma_uk_attrs *uk_attrs = &dev->hw_attrs.uk_attrs; in irdma_validate_qp_attrs() local
839 if (init_attr->cap.max_inline_data > uk_attrs->max_hw_inline || in irdma_validate_qp_attrs()
840 init_attr->cap.max_send_sge > uk_attrs->max_hw_wq_frags || in irdma_validate_qp_attrs()
841 init_attr->cap.max_recv_sge > uk_attrs->max_hw_wq_frags || in irdma_validate_qp_attrs()
842 init_attr->cap.max_send_wr > uk_attrs->max_hw_wq_quanta || in irdma_validate_qp_attrs()
843 init_attr->cap.max_recv_wr > uk_attrs->max_hw_rq_quanta) in irdma_validate_qp_attrs()
889 struct irdma_uk_attrs *uk_attrs = &dev->hw_attrs.uk_attrs; in irdma_create_qp() local
902 init_info.qp_uk_init_info.uk_attrs = uk_attrs; in irdma_create_qp()
984 if (dev->hw_attrs.uk_attrs.hw_rev > IRDMA_GEN_1) in irdma_create_qp()
1422 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp_roce()
1503 if (udata && udata->outlen && dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp_roce()
1596 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp()
1749 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp()
1905 if (!(rf->sc_dev.hw_attrs.uk_attrs.feature_flags & in irdma_resize_cq()
1917 if (rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_resize_cq()
2062 err_code = cq_validate_flags(attr->flags, dev->hw_attrs.uk_attrs.hw_rev); in irdma_create_cq()
2123 if (rf->sc_dev.hw_attrs.uk_attrs.feature_flags & in irdma_create_cq()
2159 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_create_cq()
2988 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_CQ_RESIZE) in irdma_reg_user_mr_type_cq()
3525 dev->hw_attrs.uk_attrs.max_hw_read_sges) { in irdma_post_send()