Home
last modified time | relevance | path

Searched refs:qp_attr (Results 1 – 6 of 6) sorted by relevance

/net/smc/
Dsmc_ib.c46 struct ib_qp_attr qp_attr; in smc_ib_modify_qp_init() local
48 memset(&qp_attr, 0, sizeof(qp_attr)); in smc_ib_modify_qp_init()
49 qp_attr.qp_state = IB_QPS_INIT; in smc_ib_modify_qp_init()
50 qp_attr.pkey_index = 0; in smc_ib_modify_qp_init()
51 qp_attr.port_num = lnk->ibport; in smc_ib_modify_qp_init()
52 qp_attr.qp_access_flags = IB_ACCESS_LOCAL_WRITE in smc_ib_modify_qp_init()
54 return ib_modify_qp(lnk->roce_qp, &qp_attr, in smc_ib_modify_qp_init()
64 struct ib_qp_attr qp_attr; in smc_ib_modify_qp_rtr() local
66 memset(&qp_attr, 0, sizeof(qp_attr)); in smc_ib_modify_qp_rtr()
67 qp_attr.qp_state = IB_QPS_RTR; in smc_ib_modify_qp_rtr()
[all …]
Dsmc_wr.c464 struct ib_qp_attr *attr = &lnk->qp_attr; in smc_wr_remember_qp_attr()
490 lnk->qp_attr.cap.max_send_wr); in smc_wr_remember_qp_attr()
492 lnk->qp_attr.cap.max_recv_wr); in smc_wr_remember_qp_attr()
Dsmc_core.h56 struct ib_qp_attr qp_attr; /* IB queue pair attributes */ member
/net/9p/
Dtrans_rdma.c646 struct ib_qp_init_attr qp_attr; in rdma_create_trans() local
714 memset(&qp_attr, 0, sizeof qp_attr); in rdma_create_trans()
715 qp_attr.event_handler = qp_event_handler; in rdma_create_trans()
716 qp_attr.qp_context = client; in rdma_create_trans()
717 qp_attr.cap.max_send_wr = opts.sq_depth; in rdma_create_trans()
718 qp_attr.cap.max_recv_wr = opts.rq_depth; in rdma_create_trans()
719 qp_attr.cap.max_send_sge = P9_RDMA_SEND_SGE; in rdma_create_trans()
720 qp_attr.cap.max_recv_sge = P9_RDMA_RECV_SGE; in rdma_create_trans()
721 qp_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in rdma_create_trans()
722 qp_attr.qp_type = IB_QPT_RC; in rdma_create_trans()
[all …]
/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c719 struct ib_qp_init_attr qp_attr; in svc_rdma_accept() local
801 memset(&qp_attr, 0, sizeof qp_attr); in svc_rdma_accept()
802 qp_attr.event_handler = qp_event_handler; in svc_rdma_accept()
803 qp_attr.qp_context = &newxprt->sc_xprt; in svc_rdma_accept()
804 qp_attr.port_num = newxprt->sc_port_num; in svc_rdma_accept()
805 qp_attr.cap.max_rdma_ctxs = ctxts; in svc_rdma_accept()
806 qp_attr.cap.max_send_wr = newxprt->sc_sq_depth - ctxts; in svc_rdma_accept()
807 qp_attr.cap.max_recv_wr = newxprt->sc_rq_depth; in svc_rdma_accept()
808 qp_attr.cap.max_send_sge = newxprt->sc_max_sge; in svc_rdma_accept()
809 qp_attr.cap.max_recv_sge = newxprt->sc_max_sge; in svc_rdma_accept()
[all …]
/net/rds/
Dib_cm.c100 struct ib_qp_attr qp_attr; in rds_ib_cm_connect_complete() local
144 rds_ib_tune_rnr(ic, &qp_attr); in rds_ib_cm_connect_complete()
146 qp_attr.qp_state = IB_QPS_RTS; in rds_ib_cm_connect_complete()
147 err = ib_modify_qp(ic->i_cm_id->qp, &qp_attr, IB_QP_STATE); in rds_ib_cm_connect_complete()