Lines Matching refs:ret

51 	ibt_status_t ret;
57 ret = ibt_pkey2index(ss->ei_hca_hdl, ss->ei_props->ep_port_num,
59 if (ret != IBT_SUCCESS) {
62 "pkey=0x%x, ret=%d", ss->ei_props->ep_port_num,
63 EIB_ADMIN_PKEY, ret);
124 ibt_status_t ret;
133 ret = ibt_enable_cq_notify(chan->ch_cq_hdl, IBT_NEXT_COMPLETION);
134 if (ret != IBT_SUCCESS) {
136 "ibt_enable_cq_notify() failed, ret=%d", ret);
142 while ((ret = ibt_poll_cq(chan->ch_cq_hdl, chan->ch_wc, chan->ch_cq_sz,
175 ibt_status_t ret;
190 ret = ibt_alloc_cq(ss->ei_hca_hdl, &cq_attr, &chan->ch_cq_hdl, &sz);
191 if (ret != IBT_SUCCESS) {
193 "ibt_alloc_cq(cq_sz=0x%lx) failed, ret=%d",
194 cq_attr.cq_size, ret);
211 "ddi_intr_add_softint() failed for adm qp, ret=%d", rv);
220 ret = ibt_enable_cq_notify(chan->ch_cq_hdl, IBT_NEXT_COMPLETION);
221 if (ret != IBT_SUCCESS) {
223 "ibt_enable_cq_notify() failed, ret=%d", ret);
240 ibt_status_t ret;
259 ret = ibt_alloc_ud_channel(ss->ei_hca_hdl, IBT_ACHAN_NO_FLAGS,
261 if (ret != IBT_SUCCESS) {
264 "failed, ret=%d", alloc_attr.ud_hca_port_num,
265 chan->ch_pkey_ix, ret);
269 ret = ibt_query_ud_channel(chan->ch_chan, &query_attr);
270 if (ret != IBT_SUCCESS) {
272 "ibt_query_ud_channel() failed, ret=%d", ret);
316 ibt_status_t ret;
335 ret = ibt_post_recv(chan->ch_chan, &(wqe->qe_wr.recv), 1, NULL);
336 if (ret != IBT_SUCCESS) {
338 "ibt_post_recv() failed, ret=%d", ret);
388 ibt_status_t ret;
420 ret = ibt_free_cq(chan->ch_cq_hdl);
421 if (ret != IBT_SUCCESS) {
424 "ibt_free_cq() failed, ret=%d", ret);
434 ibt_status_t ret;
445 if ((ret = ibt_flush_channel(chan->ch_chan)) != IBT_SUCCESS) {
448 "ibt_flush_channel() failed, ret=%d", ret);
472 if ((ret = ibt_free_channel(chan->ch_chan)) != IBT_SUCCESS) {
475 "ibt_free_channel() failed, ret=%d", ret);