/drivers/infiniband/hw/ehca/ |
D | ehca_cq.c | 130 u64 rpage, cqx_fec, h_ret; in ehca_create_cq() local 184 h_ret = hipz_h_alloc_resource_cq(adapter_handle, my_cq, ¶m); in ehca_create_cq() 186 if (h_ret != H_SUCCESS) { in ehca_create_cq() 188 "h_ret=%lli device=%p", h_ret, device); in ehca_create_cq() 189 cq = ERR_PTR(ehca2ib_return_code(h_ret)); in ehca_create_cq() 212 h_ret = hipz_h_register_rpage_cq(adapter_handle, in ehca_create_cq() 222 if (h_ret < H_SUCCESS) { in ehca_create_cq() 226 h_ret, counter, param.act_pages); in ehca_create_cq() 233 if ((h_ret != H_SUCCESS) || vpage) { in ehca_create_cq() 237 h_ret); in ehca_create_cq() [all …]
|
D | ehca_mcast.c | 65 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()
|
D | ehca_eq.c | 58 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 180 h_ret = hipz_h_destroy_eq(shca->ipz_hca_handle, eq); in ehca_destroy_eq() 182 if (h_ret != H_SUCCESS) { in ehca_destroy_eq()
|
D | ehca_mrmw.c | 597 u64 h_ret; in ehca_query_mr() local 614 h_ret = hipz_h_query_mr(shca->ipz_hca_handle, e_mr, &hipzout); in ehca_query_mr() 615 if (h_ret != H_SUCCESS) { in ehca_query_mr() 618 h_ret, mr, shca->ipz_hca_handle.handle, in ehca_query_mr() 620 ret = ehca2ib_return_code(h_ret); in ehca_query_mr() 644 u64 h_ret; in ehca_dereg_mr() local 664 h_ret = hipz_h_free_resource_mr(shca->ipz_hca_handle, e_mr); in ehca_dereg_mr() 665 if (h_ret != H_SUCCESS) { in ehca_dereg_mr() 668 h_ret, shca, e_mr, shca->ipz_hca_handle.handle, in ehca_dereg_mr() 670 ret = ehca2ib_return_code(h_ret); in ehca_dereg_mr() [all …]
|
D | ehca_qp.c | 290 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 708 h_ret = hipz_h_alloc_resource_qp(shca->ipz_hca_handle, &parms, is_user); in internal_create_qp() [all …]
|
D | ehca_hca.c | 186 u64 h_ret; in ehca_query_port() local 197 h_ret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_query_port() 198 if (h_ret != H_SUCCESS) { in ehca_query_port() 249 u64 h_ret; in ehca_query_sma_attr() local 258 h_ret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_query_sma_attr() 259 if (h_ret != H_SUCCESS) { in ehca_query_sma_attr() 284 u64 h_ret; in ehca_query_pkey() local 300 h_ret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_query_pkey() 301 if (h_ret != H_SUCCESS) { in ehca_query_pkey() 319 u64 h_ret; in ehca_query_gid() local [all …]
|
D | ehca_main.c | 282 u64 h_ret; in ehca_sense_attributes() local 307 h_ret = hipz_h_query_hca(shca->ipz_hca_handle, rblock); in ehca_sense_attributes() 308 if (h_ret != H_SUCCESS) { in ehca_sense_attributes() 310 h_ret); in ehca_sense_attributes() 395 h_ret = hipz_h_query_port(shca->ipz_hca_handle, 1, port); in ehca_sense_attributes() 396 if (h_ret != H_SUCCESS) { in ehca_sense_attributes() 398 h_ret); in ehca_sense_attributes()
|