Lines Matching refs:rep_attr

269 	while (ib_poll_cq(ep->rep_attr.recv_cq, 1, &wc) > 0)  in rpcrdma_flush_cqs()
271 while (ib_poll_cq(ep->rep_attr.send_cq, 1, &wc) > 0) in rpcrdma_flush_cqs()
592 ep->rep_attr.event_handler = rpcrdma_qp_async_error_upcall; in rpcrdma_ep_create()
593 ep->rep_attr.qp_context = ep; in rpcrdma_ep_create()
594 ep->rep_attr.srq = NULL; in rpcrdma_ep_create()
595 ep->rep_attr.cap.max_send_wr = cdata->max_requests; in rpcrdma_ep_create()
596 ep->rep_attr.cap.max_send_wr += RPCRDMA_BACKWARD_WRS; in rpcrdma_ep_create()
600 ep->rep_attr.cap.max_recv_wr = cdata->max_requests; in rpcrdma_ep_create()
601 ep->rep_attr.cap.max_recv_wr += RPCRDMA_BACKWARD_WRS; in rpcrdma_ep_create()
602 ep->rep_attr.cap.max_send_sge = RPCRDMA_MAX_IOVS; in rpcrdma_ep_create()
603 ep->rep_attr.cap.max_recv_sge = 1; in rpcrdma_ep_create()
604 ep->rep_attr.cap.max_inline_data = 0; in rpcrdma_ep_create()
605 ep->rep_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in rpcrdma_ep_create()
606 ep->rep_attr.qp_type = IB_QPT_RC; in rpcrdma_ep_create()
607 ep->rep_attr.port_num = ~0; in rpcrdma_ep_create()
612 ep->rep_attr.cap.max_send_wr, in rpcrdma_ep_create()
613 ep->rep_attr.cap.max_recv_wr, in rpcrdma_ep_create()
614 ep->rep_attr.cap.max_send_sge, in rpcrdma_ep_create()
615 ep->rep_attr.cap.max_recv_sge); in rpcrdma_ep_create()
618 ep->rep_cqinit = ep->rep_attr.cap.max_send_wr/2 - 1; in rpcrdma_ep_create()
627 cq_attr.cqe = ep->rep_attr.cap.max_send_wr + 1; in rpcrdma_ep_create()
644 cq_attr.cqe = ep->rep_attr.cap.max_recv_wr + 1; in rpcrdma_ep_create()
662 ep->rep_attr.send_cq = sendcq; in rpcrdma_ep_create()
663 ep->rep_attr.recv_cq = recvcq; in rpcrdma_ep_create()
716 rpcrdma_clean_cq(ep->rep_attr.recv_cq); in rpcrdma_ep_destroy()
717 rpcrdma_clean_cq(ep->rep_attr.send_cq); in rpcrdma_ep_destroy()
724 rc = ib_destroy_cq(ep->rep_attr.recv_cq); in rpcrdma_ep_destroy()
729 rc = ib_destroy_cq(ep->rep_attr.send_cq); in rpcrdma_ep_destroy()
781 rc = rdma_create_qp(id, ia->ri_pd, &ep->rep_attr); in rpcrdma_ep_connect()
799 rc = rdma_create_qp(ia->ri_id, ia->ri_pd, &ep->rep_attr); in rpcrdma_ep_connect()