Lines Matching refs:h_ret
290 u64 rpage, h_ret;
326 h_ret = hipz_h_register_rpage_qp(ipz_hca_handle,
332 if (h_ret != expected_hret) {
334 "h_ret=%lli", h_ret);
335 ret = ehca2ib_return_code(h_ret);
346 if (h_ret != H_PAGE_REGISTERED) {
348 "h_ret=%lli", h_ret);
349 ret = ehca2ib_return_code(h_ret);
463 u64 h_ret;
712 h_ret = hipz_h_alloc_resource_qp(shca->ipz_hca_handle, &parms, is_user);
713 if (h_ret != H_SUCCESS) {
714 ehca_err(pd->device, "h_alloc_resource_qp() failed h_ret=%lli",
715 h_ret);
716 ret = ehca2ib_return_code(h_ret);
870 h_ret = ehca_define_sqp(shca, my_qp, init_attr);
871 if (h_ret != H_SUCCESS) {
877 ret = ehca2ib_return_code(h_ret);
1018 "ehca_qp=%p qp_num=%x h_ret=%lli",
1032 "ehca_qp=%p qp_num=%x h_ret=%lli",
1046 "ehca_qp=%p qp_num=%x h_ret=%lli",
1073 u64 h_ret;
1081 h_ret = hipz_h_disable_and_get_wqe(shca->ipz_hca_handle,
1084 if (h_ret != H_SUCCESS) {
1086 " ehca_qp=%p qp_num=%x h_ret=%lli",
1087 my_qp, qp_num, h_ret);
1088 return ehca2ib_return_code(h_ret);
1162 u64 h_ret;
1171 h_ret = hipz_h_disable_and_get_wqe(shca->ipz_hca_handle,
1174 if (h_ret != H_SUCCESS) {
1176 "failed ehca_qp=%p qp_num=%x h_ret=%lli",
1177 my_qp, qp_num, h_ret);
1178 return ehca2ib_return_code(h_ret);
1250 u64 h_ret;
1264 h_ret = hipz_h_query_qp(shca->ipz_hca_handle,
1268 if (h_ret != H_SUCCESS) {
1270 "ehca_qp=%p qp_num=%x h_ret=%lli",
1271 my_qp, ibqp->qp_num, h_ret);
1272 ret = ehca2ib_return_code(h_ret);
1693 h_ret = hipz_h_modify_qp(shca->ipz_hca_handle,
1699 if (h_ret != H_SUCCESS) {
1700 ret = ehca2ib_return_code(h_ret);
1701 ehca_err(ibqp->device, "hipz_h_modify_qp() failed h_ret=%lli "
1702 "ehca_qp=%p qp_num=%x", h_ret, my_qp, ibqp->qp_num);
1723 h_ret = hipz_h_modify_qp(shca->ipz_hca_handle,
1730 if (h_ret != H_SUCCESS) {
1731 ret = ehca2ib_return_code(h_ret);
1734 "a LID h_ret=%lli ehca_qp=%p qp_num=%x",
1735 h_ret, my_qp, ibqp->qp_num);
1898 u64 h_ret;
1914 h_ret = hipz_h_query_qp(adapter_handle,
1919 if (h_ret != H_SUCCESS) {
1920 ret = ehca2ib_return_code(h_ret);
1922 "ehca_qp=%p qp_num=%x h_ret=%lli",
1923 my_qp, qp->qp_num, h_ret);
2042 u64 h_ret;
2074 h_ret = hipz_h_modify_qp(shca->ipz_hca_handle, my_qp->ipz_qp_handle,
2078 if (h_ret != H_SUCCESS) {
2079 ret = ehca2ib_return_code(h_ret);
2080 ehca_err(ibsrq->device, "hipz_h_modify_qp() failed h_ret=%lli "
2082 h_ret, my_qp, my_qp->real_qp_num);
2099 u64 h_ret;
2108 h_ret = hipz_h_query_qp(adapter_handle, my_qp->ipz_qp_handle,
2111 if (h_ret != H_SUCCESS) {
2112 ret = ehca2ib_return_code(h_ret);
2114 "ehca_qp=%p qp_num=%x h_ret=%lli",
2115 my_qp, my_qp->real_qp_num, h_ret);
2141 u64 h_ret;
2184 h_ret = hipz_h_destroy_qp(shca->ipz_hca_handle, my_qp);
2185 if (h_ret != H_SUCCESS) {
2186 ehca_err(dev, "hipz_h_destroy_qp() failed h_ret=%lli "
2187 "ehca_qp=%p qp_num=%x", h_ret, my_qp, qp_num);
2188 return ehca2ib_return_code(h_ret);