Lines Matching refs:qp_attr
633 struct ib_qp_init_attr qp_attr; in rdma_create_trans() local
701 memset(&qp_attr, 0, sizeof qp_attr); in rdma_create_trans()
702 qp_attr.event_handler = qp_event_handler; in rdma_create_trans()
703 qp_attr.qp_context = client; in rdma_create_trans()
704 qp_attr.cap.max_send_wr = opts.sq_depth; in rdma_create_trans()
705 qp_attr.cap.max_recv_wr = opts.rq_depth; in rdma_create_trans()
706 qp_attr.cap.max_send_sge = P9_RDMA_SEND_SGE; in rdma_create_trans()
707 qp_attr.cap.max_recv_sge = P9_RDMA_RECV_SGE; in rdma_create_trans()
708 qp_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in rdma_create_trans()
709 qp_attr.qp_type = IB_QPT_RC; in rdma_create_trans()
710 qp_attr.send_cq = rdma->cq; in rdma_create_trans()
711 qp_attr.recv_cq = rdma->cq; in rdma_create_trans()
712 err = rdma_create_qp(rdma->cm_id, rdma->pd, &qp_attr); in rdma_create_trans()