Lines Matching refs:qp_attr
641 struct ib_qp_init_attr qp_attr; in rdma_create_trans() local
709 memset(&qp_attr, 0, sizeof qp_attr); in rdma_create_trans()
710 qp_attr.event_handler = qp_event_handler; in rdma_create_trans()
711 qp_attr.qp_context = client; in rdma_create_trans()
712 qp_attr.cap.max_send_wr = opts.sq_depth; in rdma_create_trans()
713 qp_attr.cap.max_recv_wr = opts.rq_depth; in rdma_create_trans()
714 qp_attr.cap.max_send_sge = P9_RDMA_SEND_SGE; in rdma_create_trans()
715 qp_attr.cap.max_recv_sge = P9_RDMA_RECV_SGE; in rdma_create_trans()
716 qp_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in rdma_create_trans()
717 qp_attr.qp_type = IB_QPT_RC; in rdma_create_trans()
718 qp_attr.send_cq = rdma->cq; in rdma_create_trans()
719 qp_attr.recv_cq = rdma->cq; in rdma_create_trans()
720 err = rdma_create_qp(rdma->cm_id, rdma->pd, &qp_attr); in rdma_create_trans()