Searched refs:qp_attr (Results 1 – 6 of 6) sorted by relevance
/net/smc/ |
D | smc_ib.c | 49 struct ib_qp_attr qp_attr; in smc_ib_modify_qp_init() local 51 memset(&qp_attr, 0, sizeof(qp_attr)); in smc_ib_modify_qp_init() 52 qp_attr.qp_state = IB_QPS_INIT; in smc_ib_modify_qp_init() 53 qp_attr.pkey_index = 0; in smc_ib_modify_qp_init() 54 qp_attr.port_num = lnk->ibport; in smc_ib_modify_qp_init() 55 qp_attr.qp_access_flags = IB_ACCESS_LOCAL_WRITE in smc_ib_modify_qp_init() 57 return ib_modify_qp(lnk->roce_qp, &qp_attr, in smc_ib_modify_qp_init() 67 struct ib_qp_attr qp_attr; in smc_ib_modify_qp_rtr() local 70 memset(&qp_attr, 0, sizeof(qp_attr)); in smc_ib_modify_qp_rtr() 71 qp_attr.qp_state = IB_QPS_RTR; in smc_ib_modify_qp_rtr() [all …]
|
D | smc_wr.c | 526 struct ib_qp_attr *attr = &lnk->qp_attr; in smc_wr_remember_qp_attr() 552 lnk->qp_attr.cap.max_send_wr); in smc_wr_remember_qp_attr() 554 lnk->qp_attr.cap.max_recv_wr); in smc_wr_remember_qp_attr() 560 bool send_inline = (lnk->qp_attr.cap.max_inline_data > SMC_WR_TX_SIZE); in smc_wr_init_sge()
|
D | smc_core.h | 90 struct ib_qp_attr qp_attr; /* IB queue pair attributes */ member 460 lnk->qp_attr.cur_qp_state == IB_QPS_RTS; in smc_link_sendable()
|
D | smc_tx.c | 394 if (dst_len < link->qp_attr.cap.max_inline_data) { in smcr_tx_rdma_writes()
|
/net/sunrpc/xprtrdma/ |
D | svc_rdma_transport.c | 372 struct ib_qp_init_attr qp_attr; in svc_rdma_accept() local 443 memset(&qp_attr, 0, sizeof qp_attr); in svc_rdma_accept() 444 qp_attr.event_handler = qp_event_handler; in svc_rdma_accept() 445 qp_attr.qp_context = &newxprt->sc_xprt; in svc_rdma_accept() 446 qp_attr.port_num = newxprt->sc_port_num; in svc_rdma_accept() 447 qp_attr.cap.max_rdma_ctxs = ctxts; in svc_rdma_accept() 448 qp_attr.cap.max_send_wr = newxprt->sc_sq_depth - ctxts; in svc_rdma_accept() 449 qp_attr.cap.max_recv_wr = rq_depth; in svc_rdma_accept() 450 qp_attr.cap.max_send_sge = newxprt->sc_max_send_sges; in svc_rdma_accept() 451 qp_attr.cap.max_recv_sge = 1; in svc_rdma_accept() [all …]
|
/net/9p/ |
D | trans_rdma.c | 642 struct ib_qp_init_attr qp_attr; in rdma_create_trans() local 710 memset(&qp_attr, 0, sizeof qp_attr); in rdma_create_trans() 711 qp_attr.event_handler = qp_event_handler; in rdma_create_trans() 712 qp_attr.qp_context = client; in rdma_create_trans() 713 qp_attr.cap.max_send_wr = opts.sq_depth; in rdma_create_trans() 714 qp_attr.cap.max_recv_wr = opts.rq_depth; in rdma_create_trans() 715 qp_attr.cap.max_send_sge = P9_RDMA_SEND_SGE; in rdma_create_trans() 716 qp_attr.cap.max_recv_sge = P9_RDMA_RECV_SGE; in rdma_create_trans() 717 qp_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in rdma_create_trans() 718 qp_attr.qp_type = IB_QPT_RC; in rdma_create_trans() [all …]
|