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; in irdma_alloc_ucontext() local
295 uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext()
298 if (uk_attrs->hw_rev != IRDMA_GEN_1) in irdma_alloc_ucontext()
320 uresp.feature_flags = uk_attrs->feature_flags; in irdma_alloc_ucontext()
321 uresp.max_hw_wq_frags = uk_attrs->max_hw_wq_frags; in irdma_alloc_ucontext()
322 uresp.max_hw_read_sges = uk_attrs->max_hw_read_sges; in irdma_alloc_ucontext()
323 uresp.max_hw_inline = uk_attrs->max_hw_inline; in irdma_alloc_ucontext()
324 uresp.max_hw_rq_quanta = uk_attrs->max_hw_rq_quanta; in irdma_alloc_ucontext()
325 uresp.max_hw_wq_quanta = uk_attrs->max_hw_wq_quanta; in irdma_alloc_ucontext()
326 uresp.max_hw_sq_chunk = uk_attrs->max_hw_sq_chunk; in irdma_alloc_ucontext()
327 uresp.max_hw_cq_size = uk_attrs->max_hw_cq_size; in irdma_alloc_ucontext()
328 uresp.min_hw_cq_size = uk_attrs->min_hw_cq_size; in irdma_alloc_ucontext()
329 uresp.hw_rev = uk_attrs->hw_rev; in irdma_alloc_ucontext()
586 struct irdma_uk_attrs *uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_setup_kmode_qp() local
588 irdma_get_wqe_shift(uk_attrs, in irdma_setup_kmode_qp()
589 uk_attrs->hw_rev >= IRDMA_GEN_2 ? ukinfo->max_sq_frag_cnt + 1 : in irdma_setup_kmode_qp()
592 status = irdma_get_sqdepth(uk_attrs, ukinfo->sq_size, sqshift, in irdma_setup_kmode_qp()
597 if (uk_attrs->hw_rev == IRDMA_GEN_1) in irdma_setup_kmode_qp()
600 irdma_get_wqe_shift(uk_attrs, ukinfo->max_rq_frag_cnt, 0, in irdma_setup_kmode_qp()
603 status = irdma_get_rqdepth(uk_attrs, ukinfo->rq_size, rqshift, in irdma_setup_kmode_qp()
738 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_iw_fill_and_set_qpctx_info()
757 struct irdma_uk_attrs *uk_attrs = &dev->hw_attrs.uk_attrs; in irdma_validate_qp_attrs() local
762 if (init_attr->cap.max_inline_data > uk_attrs->max_hw_inline || in irdma_validate_qp_attrs()
763 init_attr->cap.max_send_sge > uk_attrs->max_hw_wq_frags || in irdma_validate_qp_attrs()
764 init_attr->cap.max_recv_sge > uk_attrs->max_hw_wq_frags) in irdma_validate_qp_attrs()
813 struct irdma_uk_attrs *uk_attrs = &dev->hw_attrs.uk_attrs; in irdma_create_qp() local
830 init_info.qp_uk_init_info.uk_attrs = uk_attrs; in irdma_create_qp()
939 if (dev->hw_attrs.uk_attrs.hw_rev > IRDMA_GEN_1) in irdma_create_qp()
1344 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp_roce()
1426 if (udata && udata->outlen && dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp_roce()
1519 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp()
1672 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp()
1825 if (!(rf->sc_dev.hw_attrs.uk_attrs.feature_flags & in irdma_resize_cq()
1837 if (rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_resize_cq()
1981 err_code = cq_validate_flags(attr->flags, dev->hw_attrs.uk_attrs.hw_rev); in irdma_create_cq()
2041 if (rf->sc_dev.hw_attrs.uk_attrs.feature_flags & in irdma_create_cq()
2077 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_create_cq()
2107 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_create_cq()
2846 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_CQ_RESIZE) in irdma_reg_user_mr()
3180 dev->hw_attrs.uk_attrs.max_hw_read_sges) { in irdma_post_send()