Searched refs:qp_cap (Results 1 – 2 of 2) sorted by relevance
2201 struct ib_qp_cap qp_cap; in smb_direct_create_qpair() local2215 qp_cap.max_send_wr = sp->send_credit_target + 1; in smb_direct_create_qpair()2216 qp_cap.max_recv_wr = sp->recv_credit_max + 1; in smb_direct_create_qpair()2217 qp_cap.max_send_sge = SMBDIRECT_SEND_IO_MAX_SGE; in smb_direct_create_qpair()2218 qp_cap.max_recv_sge = SMBDIRECT_RECV_IO_MAX_SGE; in smb_direct_create_qpair()2219 qp_cap.max_inline_data = 0; in smb_direct_create_qpair()2220 qp_cap.max_rdma_ctxs = sc->rw_io.credits.max; in smb_direct_create_qpair()2231 qp_attr.cap = qp_cap; in smb_direct_create_qpair()2234 max_send_wr = qp_cap.max_send_wr + rdma_send_wr; in smb_direct_create_qpair()2236 if (qp_cap.max_send_wr > sc->ib.dev->attrs.max_cqe || in smb_direct_create_qpair()[all …]
1792 struct ib_qp_cap qp_cap; in _smbd_get_connection() local1877 memset(&qp_cap, 0, sizeof(qp_cap)); in _smbd_get_connection()1878 qp_cap.max_send_wr = sp->send_credit_target + sp->responder_resources * 4 + 1; in _smbd_get_connection()1879 qp_cap.max_recv_wr = sp->recv_credit_max + 1; in _smbd_get_connection()1880 qp_cap.max_send_sge = SMBDIRECT_SEND_IO_MAX_SGE; in _smbd_get_connection()1881 qp_cap.max_recv_sge = SMBDIRECT_RECV_IO_MAX_SGE; in _smbd_get_connection()1893 qp_cap.max_send_wr, IB_POLL_SOFTIRQ); in _smbd_get_connection()1901 qp_cap.max_recv_wr, IB_POLL_SOFTIRQ); in _smbd_get_connection()1910 qp_attr.cap = qp_cap; in _smbd_get_connection()