Lines Matching refs:rep_attr
381 while (ib_poll_cq(ep->rep_attr.recv_cq, 1, &wc) > 0) in rpcrdma_flush_cqs()
385 while (ib_poll_cq(ep->rep_attr.send_cq, 1, &wc) > 0) in rpcrdma_flush_cqs()
733 ep->rep_attr.event_handler = rpcrdma_qp_async_error_upcall; in rpcrdma_ep_create()
734 ep->rep_attr.qp_context = ep; in rpcrdma_ep_create()
735 ep->rep_attr.srq = NULL; in rpcrdma_ep_create()
736 ep->rep_attr.cap.max_send_wr = cdata->max_requests; in rpcrdma_ep_create()
740 ep->rep_attr.cap.max_recv_wr = cdata->max_requests; in rpcrdma_ep_create()
741 ep->rep_attr.cap.max_send_sge = (cdata->padding ? 4 : 2); in rpcrdma_ep_create()
742 ep->rep_attr.cap.max_recv_sge = 1; in rpcrdma_ep_create()
743 ep->rep_attr.cap.max_inline_data = 0; in rpcrdma_ep_create()
744 ep->rep_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in rpcrdma_ep_create()
745 ep->rep_attr.qp_type = IB_QPT_RC; in rpcrdma_ep_create()
746 ep->rep_attr.port_num = ~0; in rpcrdma_ep_create()
759 ep->rep_attr.cap.max_send_wr, in rpcrdma_ep_create()
760 ep->rep_attr.cap.max_recv_wr, in rpcrdma_ep_create()
761 ep->rep_attr.cap.max_send_sge, in rpcrdma_ep_create()
762 ep->rep_attr.cap.max_recv_sge); in rpcrdma_ep_create()
765 ep->rep_cqinit = ep->rep_attr.cap.max_send_wr/2 - 1; in rpcrdma_ep_create()
776 ep->rep_attr.cap.max_send_wr + 1, 0); in rpcrdma_ep_create()
793 ep->rep_attr.cap.max_recv_wr + 1, 0); in rpcrdma_ep_create()
809 ep->rep_attr.send_cq = sendcq; in rpcrdma_ep_create()
810 ep->rep_attr.recv_cq = recvcq; in rpcrdma_ep_create()
867 rpcrdma_clean_cq(ep->rep_attr.recv_cq); in rpcrdma_ep_destroy()
868 rc = ib_destroy_cq(ep->rep_attr.recv_cq); in rpcrdma_ep_destroy()
873 rpcrdma_clean_cq(ep->rep_attr.send_cq); in rpcrdma_ep_destroy()
874 rc = ib_destroy_cq(ep->rep_attr.send_cq); in rpcrdma_ep_destroy()
922 rc = rdma_create_qp(id, ia->ri_pd, &ep->rep_attr); in rpcrdma_ep_connect()
940 rc = rdma_create_qp(ia->ri_id, ia->ri_pd, &ep->rep_attr); in rpcrdma_ep_connect()