Lines Matching refs:ret

101 	ibt_status_t ret;
110 ret = ibt_enable_cq_notify(chan->ch_cq_hdl, IBT_NEXT_COMPLETION);
111 if (ret != IBT_SUCCESS) {
113 "ibt_enable_cq_notify() failed, ret=%d", ret);
119 while ((ret = ibt_poll_cq(chan->ch_cq_hdl, chan->ch_wc, chan->ch_cq_sz,
152 ibt_status_t ret;
168 ret = ibt_alloc_cq(ss->ei_hca_hdl, &cq_attr, &chan->ch_cq_hdl, &sz);
169 if (ret != IBT_SUCCESS) {
171 "ibt_alloc_cq(cq_sz=0x%lx) failed, ret=%d",
172 cq_attr.cq_size, ret);
189 "ddi_intr_add_softint() failed for vnic %d ctl qp, ret=%d",
199 ret = ibt_enable_cq_notify(chan->ch_cq_hdl, IBT_NEXT_COMPLETION);
200 if (ret != IBT_SUCCESS) {
202 "ibt_enable_cq_notify() failed, ret=%d", ret);
219 ibt_status_t ret;
238 ret = ibt_alloc_ud_channel(ss->ei_hca_hdl, IBT_ACHAN_NO_FLAGS,
240 if (ret != IBT_SUCCESS) {
243 "failed, ret=%d", alloc_attr.ud_hca_port_num,
244 chan->ch_pkey_ix, ret);
248 ret = ibt_query_ud_channel(chan->ch_chan, &query_attr);
249 if (ret != IBT_SUCCESS) {
251 "ibt_query_ud_channel() failed, ret=%d", ret);
296 ibt_status_t ret;
314 ret = ibt_post_recv(chan->ch_chan, &(wqe->qe_wr.recv), 1, NULL);
315 if (ret != IBT_SUCCESS) {
317 "ibt_post_recv() failed, ret=%d", ret);
369 ibt_status_t ret;
401 ret = ibt_free_cq(chan->ch_cq_hdl);
402 if (ret != IBT_SUCCESS) {
405 "ibt_free_cq() failed, ret=%d", ret);
416 ibt_status_t ret;
427 if ((ret = ibt_flush_channel(chan->ch_chan)) != IBT_SUCCESS) {
430 "ibt_flush_channel() failed, ret=%d", ret);
454 if ((ret = ibt_free_channel(chan->ch_chan)) != IBT_SUCCESS) {
457 "ibt_free_channel() failed, ret=%d", ret);