Lines Matching refs:hw_attrs

18 	struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs;  in irdma_query_device()  local
33 props->max_mr_size = hw_attrs->max_mr_size; in irdma_query_device()
35 props->max_qp_wr = hw_attrs->max_qp_wr; in irdma_query_device()
36 props->max_send_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
37 props->max_recv_sge = hw_attrs->uk_attrs.max_hw_wq_frags; in irdma_query_device()
43 props->max_sge_rd = hw_attrs->uk_attrs.max_hw_read_sges; in irdma_query_device()
44 props->max_qp_rd_atom = hw_attrs->max_hw_ird; in irdma_query_device()
45 props->max_qp_init_rd_atom = hw_attrs->max_hw_ord; in irdma_query_device()
54 if (hw_attrs->uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_query_device()
129 props->max_msg_sz = iwdev->rf->sc_dev.hw_attrs.max_hw_outbound_msg_size; in irdma_query_port()
277 iwdev->rf->sc_dev.hw_attrs.max_hw_device_pages) { in irdma_alloc_push_page()
312 uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext()
320 uresp.max_pds = iwdev->rf->sc_dev.hw_attrs.max_hw_pds; in irdma_alloc_ucontext()
321 uresp.wq_size = iwdev->rf->sc_dev.hw_attrs.max_qp_wr * 2; in irdma_alloc_ucontext()
596 struct irdma_uk_attrs *uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_setup_kmode_qp()
718 roce_info->ird_size = dev->hw_attrs.max_hw_ird; in irdma_roce_fill_and_set_qpctx_info()
719 roce_info->ord_size = dev->hw_attrs.max_hw_ord; in irdma_roce_fill_and_set_qpctx_info()
748 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_iw_fill_and_set_qpctx_info()
767 struct irdma_uk_attrs *uk_attrs = &dev->hw_attrs.uk_attrs; in irdma_validate_qp_attrs()
814 struct irdma_uk_attrs *uk_attrs = &dev->hw_attrs.uk_attrs; in irdma_create_qp()
935 if (dev->hw_attrs.uk_attrs.hw_rev > IRDMA_GEN_1) in irdma_create_qp()
1239 if (attr->max_rd_atomic > dev->hw_attrs.max_hw_ord) { in irdma_modify_qp_roce()
1243 dev->hw_attrs.max_hw_ord); in irdma_modify_qp_roce()
1252 if (attr->max_dest_rd_atomic > dev->hw_attrs.max_hw_ird) { in irdma_modify_qp_roce()
1256 dev->hw_attrs.max_hw_ird); in irdma_modify_qp_roce()
1327 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp_roce()
1409 if (udata && dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp_roce()
1493 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp()
1646 dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_modify_qp()
1797 if (!(rf->sc_dev.hw_attrs.uk_attrs.feature_flags & in irdma_resize_cq()
1806 if (rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_resize_cq()
1951 err_code = cq_validate_flags(attr->flags, dev->hw_attrs.uk_attrs.hw_rev); in irdma_create_cq()
2005 if (rf->sc_dev.hw_attrs.uk_attrs.feature_flags & in irdma_create_cq()
2041 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_create_cq()
2071 if (dev->hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) in irdma_create_cq()
2745 if (len > iwdev->rf->sc_dev.hw_attrs.max_mr_size) in irdma_reg_user_mr()
2812 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.feature_flags & IRDMA_FEATURE_CQ_RESIZE) in irdma_reg_user_mr()
3179 dev->hw_attrs.uk_attrs.max_hw_read_sges) { in irdma_post_send()