Lines Matching refs:qp_attr
1494 struct ib_qp_init_attr qp_attr; in _smbd_get_connection() local
1564 memset(&qp_attr, 0, sizeof(qp_attr)); in _smbd_get_connection()
1565 qp_attr.event_handler = smbd_qp_async_error_upcall; in _smbd_get_connection()
1566 qp_attr.qp_context = info; in _smbd_get_connection()
1567 qp_attr.cap.max_send_wr = info->send_credit_target; in _smbd_get_connection()
1568 qp_attr.cap.max_recv_wr = info->receive_credit_max; in _smbd_get_connection()
1569 qp_attr.cap.max_send_sge = SMBDIRECT_MAX_SEND_SGE; in _smbd_get_connection()
1570 qp_attr.cap.max_recv_sge = SMBDIRECT_MAX_RECV_SGE; in _smbd_get_connection()
1571 qp_attr.cap.max_inline_data = 0; in _smbd_get_connection()
1572 qp_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in _smbd_get_connection()
1573 qp_attr.qp_type = IB_QPT_RC; in _smbd_get_connection()
1574 qp_attr.send_cq = info->send_cq; in _smbd_get_connection()
1575 qp_attr.recv_cq = info->recv_cq; in _smbd_get_connection()
1576 qp_attr.port_num = ~0; in _smbd_get_connection()
1578 rc = rdma_create_qp(info->id, info->pd, &qp_attr); in _smbd_get_connection()