Home
last modified time | relevance | path

Searched refs:h_ret (Results 1 – 7 of 7) sorted by relevance

/drivers/infiniband/hw/ehca/
Dehca_cq.c128 u64 rpage, cqx_fec, h_ret; in ehca_create_cq() local
195 h_ret = hipz_h_alloc_resource_cq(adapter_handle, my_cq, &param); in ehca_create_cq()
197 if (h_ret != H_SUCCESS) { in ehca_create_cq()
199 "h_ret=%lli device=%p", h_ret, device); in ehca_create_cq()
200 cq = ERR_PTR(ehca2ib_return_code(h_ret)); in ehca_create_cq()
223 h_ret = hipz_h_register_rpage_cq(adapter_handle, in ehca_create_cq()
233 if (h_ret < H_SUCCESS) { in ehca_create_cq()
237 h_ret, counter, param.act_pages); in ehca_create_cq()
244 if ((h_ret != H_SUCCESS) || vpage) { in ehca_create_cq()
248 h_ret); in ehca_create_cq()
[all …]
Dehca_mcast.c65 u64 subnet_prefix, interface_id, h_ret; in ehca_attach_mcast() local
84 h_ret = hipz_h_attach_mcqp(shca->ipz_hca_handle, in ehca_attach_mcast()
88 if (h_ret != H_SUCCESS) in ehca_attach_mcast()
91 "h_ret=%lli", my_qp, ibqp->qp_num, h_ret); in ehca_attach_mcast()
93 return ehca2ib_return_code(h_ret); in ehca_attach_mcast()
102 u64 subnet_prefix, interface_id, h_ret; in ehca_detach_mcast() local
121 h_ret = hipz_h_detach_mcqp(shca->ipz_hca_handle, in ehca_detach_mcast()
125 if (h_ret != H_SUCCESS) in ehca_detach_mcast()
128 "h_ret=%lli", my_qp, ibqp->qp_num, h_ret); in ehca_detach_mcast()
130 return ehca2ib_return_code(h_ret); in ehca_detach_mcast()
Dehca_eq.c58 u64 h_ret; in ehca_create_eq() local
77 h_ret = hipz_h_alloc_resource_eq(shca->ipz_hca_handle, in ehca_create_eq()
85 if (h_ret != H_SUCCESS) { in ehca_create_eq()
105 h_ret = hipz_h_register_rpage_eq(shca->ipz_hca_handle, in ehca_create_eq()
113 if (h_ret != H_SUCCESS || vpage) in ehca_create_eq()
116 if (h_ret != H_PAGE_REGISTERED) in ehca_create_eq()
170 u64 h_ret; in ehca_destroy_eq() local
175 h_ret = hipz_h_destroy_eq(shca->ipz_hca_handle, eq); in ehca_destroy_eq()
179 if (h_ret != H_SUCCESS) { in ehca_destroy_eq()
Dehca_mrmw.c564 u64 h_ret; in ehca_query_mr() local
581 h_ret = hipz_h_query_mr(shca->ipz_hca_handle, e_mr, &hipzout); in ehca_query_mr()
582 if (h_ret != H_SUCCESS) { in ehca_query_mr()
585 h_ret, mr, shca->ipz_hca_handle.handle, in ehca_query_mr()
587 ret = ehca2ib_return_code(h_ret); in ehca_query_mr()
611 u64 h_ret; in ehca_dereg_mr() local
631 h_ret = hipz_h_free_resource_mr(shca->ipz_hca_handle, e_mr); in ehca_dereg_mr()
632 if (h_ret != H_SUCCESS) { in ehca_dereg_mr()
635 h_ret, shca, e_mr, shca->ipz_hca_handle.handle, in ehca_dereg_mr()
637 ret = ehca2ib_return_code(h_ret); in ehca_dereg_mr()
[all …]
Dehca_qp.c290 u64 rpage, h_ret; in init_qp_queue() local
326 h_ret = hipz_h_register_rpage_qp(ipz_hca_handle, in init_qp_queue()
332 if (h_ret != expected_hret) { in init_qp_queue()
334 "h_ret=%lli", h_ret); in init_qp_queue()
335 ret = ehca2ib_return_code(h_ret); in init_qp_queue()
346 if (h_ret != H_PAGE_REGISTERED) { in init_qp_queue()
348 "h_ret=%lli", h_ret); in init_qp_queue()
349 ret = ehca2ib_return_code(h_ret); in init_qp_queue()
463 u64 h_ret; in internal_create_qp() local
710 h_ret = hipz_h_alloc_resource_qp(shca->ipz_hca_handle, &parms); in internal_create_qp()
[all …]
Dehca_hca.c184 u64 h_ret; in ehca_query_port() local
195 h_ret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_query_port()
196 if (h_ret != H_SUCCESS) { in ehca_query_port()
247 u64 h_ret; in ehca_query_sma_attr() local
256 h_ret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_query_sma_attr()
257 if (h_ret != H_SUCCESS) { in ehca_query_sma_attr()
282 u64 h_ret; in ehca_query_pkey() local
298 h_ret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_query_pkey()
299 if (h_ret != H_SUCCESS) { in ehca_query_pkey()
317 u64 h_ret; in ehca_query_gid() local
[all …]
Dehca_main.c281 u64 h_ret; in ehca_sense_attributes() local
305 h_ret = hipz_h_query_hca(shca->ipz_hca_handle, rblock); in ehca_sense_attributes()
306 if (h_ret != H_SUCCESS) { in ehca_sense_attributes()
308 h_ret); in ehca_sense_attributes()
392 h_ret = hipz_h_query_port(shca->ipz_hca_handle, 1, port); in ehca_sense_attributes()
393 if (h_ret != H_SUCCESS) { in ehca_sense_attributes()
395 h_ret); in ehca_sense_attributes()