Lines Matching refs:caps
74 props->fw_ver = dev->dsr->caps.fw_ver; in pvrdma_query_device()
75 props->sys_image_guid = dev->dsr->caps.sys_image_guid; in pvrdma_query_device()
76 props->max_mr_size = dev->dsr->caps.max_mr_size; in pvrdma_query_device()
77 props->page_size_cap = dev->dsr->caps.page_size_cap; in pvrdma_query_device()
78 props->vendor_id = dev->dsr->caps.vendor_id; in pvrdma_query_device()
80 props->hw_ver = dev->dsr->caps.hw_ver; in pvrdma_query_device()
81 props->max_qp = dev->dsr->caps.max_qp; in pvrdma_query_device()
82 props->max_qp_wr = dev->dsr->caps.max_qp_wr; in pvrdma_query_device()
83 props->device_cap_flags = dev->dsr->caps.device_cap_flags; in pvrdma_query_device()
84 props->max_send_sge = dev->dsr->caps.max_sge; in pvrdma_query_device()
85 props->max_recv_sge = dev->dsr->caps.max_sge; in pvrdma_query_device()
86 props->max_sge_rd = PVRDMA_GET_CAP(dev, dev->dsr->caps.max_sge, in pvrdma_query_device()
87 dev->dsr->caps.max_sge_rd); in pvrdma_query_device()
88 props->max_srq = dev->dsr->caps.max_srq; in pvrdma_query_device()
89 props->max_srq_wr = dev->dsr->caps.max_srq_wr; in pvrdma_query_device()
90 props->max_srq_sge = dev->dsr->caps.max_srq_sge; in pvrdma_query_device()
91 props->max_cq = dev->dsr->caps.max_cq; in pvrdma_query_device()
92 props->max_cqe = dev->dsr->caps.max_cqe; in pvrdma_query_device()
93 props->max_mr = dev->dsr->caps.max_mr; in pvrdma_query_device()
94 props->max_pd = dev->dsr->caps.max_pd; in pvrdma_query_device()
95 props->max_qp_rd_atom = dev->dsr->caps.max_qp_rd_atom; in pvrdma_query_device()
96 props->max_qp_init_rd_atom = dev->dsr->caps.max_qp_init_rd_atom; in pvrdma_query_device()
98 dev->dsr->caps.atomic_ops & in pvrdma_query_device()
102 props->max_ah = dev->dsr->caps.max_ah; in pvrdma_query_device()
103 props->max_pkeys = dev->dsr->caps.max_pkeys; in pvrdma_query_device()
104 props->local_ca_ack_delay = dev->dsr->caps.local_ca_ack_delay; in pvrdma_query_device()
105 if ((dev->dsr->caps.bmme_flags & PVRDMA_BMME_FLAG_LOCAL_INV) && in pvrdma_query_device()
106 (dev->dsr->caps.bmme_flags & PVRDMA_BMME_FLAG_REMOTE_INV) && in pvrdma_query_device()
107 (dev->dsr->caps.bmme_flags & PVRDMA_BMME_FLAG_FAST_REG_WR)) { in pvrdma_query_device()
111 dev->dsr->caps.max_fast_reg_page_list_len); in pvrdma_query_device()
191 if (index >= dev->dsr->caps.gid_tbl_len) in pvrdma_query_gid()
350 uresp.qp_tab_size = vdev->dsr->caps.max_qp; in pvrdma_alloc_ucontext()
442 if (!atomic_add_unless(&dev->num_pds, 1, dev->dsr->caps.max_pd)) in pvrdma_alloc_pd()
529 if (!atomic_add_unless(&dev->num_ahs, 1, dev->dsr->caps.max_ah)) in pvrdma_create_ah()