Lines Matching refs:ret
87 int ret;
90 ret = ib_modify_qp(ic->i_cm_id->qp, attr, IB_QP_MIN_RNR_TIMER);
91 if (ret)
92 printk(KERN_NOTICE "ib_modify_qp(IB_QP_MIN_RNR_TIMER): err=%d\n", -ret);
544 int ret, fr_queue_space;
583 ret = PTR_ERR(ic->i_send_cq);
586 rdsdebug("ib_create_cq send failed: %d\n", ret);
597 ret = PTR_ERR(ic->i_recv_cq);
600 rdsdebug("ib_create_cq recv failed: %d\n", ret);
604 ret = ib_req_notify_cq(ic->i_send_cq, IB_CQ_NEXT_COMP);
605 if (ret) {
606 rdsdebug("ib_req_notify_cq send failed: %d\n", ret);
610 ret = ib_req_notify_cq(ic->i_recv_cq, IB_CQ_SOLICITED);
611 if (ret) {
612 rdsdebug("ib_req_notify_cq recv failed: %d\n", ret);
634 ret = rdma_create_qp(ic->i_cm_id, ic->i_pd, &attr);
635 if (ret) {
636 rdsdebug("rdma_create_qp failed: %d\n", ret);
644 ret = -ENOMEM;
653 ret = -ENOMEM;
661 ret = -ENOMEM;
670 ret = -ENOMEM;
679 ret = -ENOMEM;
724 return ret;
970 int ret;
977 ret = rds_ib_setup_qp(conn);
978 if (ret) {
979 rds_ib_conn_error(conn, "rds_ib_setup_qp failed (%d)\n", ret);
986 ret = rdma_connect_locked(cm_id, &conn_param);
987 if (ret)
989 ret);
995 if (ret) {
997 ret = 0;
1000 return ret;
1009 int ret;
1024 ret = PTR_ERR(ic->i_cm_id);
1026 rdsdebug("rdma_create_id() failed: %d\n", ret);
1060 ret = rdma_resolve_addr(ic->i_cm_id, (struct sockaddr *)&src,
1063 if (ret) {
1065 ret);
1071 return ret;
1236 int ret;
1243 ret = rds_ib_recv_alloc_caches(ic, gfp);
1244 if (ret) {
1246 return ret;