Lines Matching refs:qp_attr
1524 struct ib_qp_init_attr qp_attr; in _smbd_get_connection() local
1596 memset(&qp_attr, 0, sizeof(qp_attr)); in _smbd_get_connection()
1597 qp_attr.event_handler = smbd_qp_async_error_upcall; in _smbd_get_connection()
1598 qp_attr.qp_context = info; in _smbd_get_connection()
1599 qp_attr.cap.max_send_wr = info->send_credit_target; in _smbd_get_connection()
1600 qp_attr.cap.max_recv_wr = info->receive_credit_max; in _smbd_get_connection()
1601 qp_attr.cap.max_send_sge = SMBDIRECT_MAX_SGE; in _smbd_get_connection()
1602 qp_attr.cap.max_recv_sge = SMBDIRECT_MAX_SGE; in _smbd_get_connection()
1603 qp_attr.cap.max_inline_data = 0; in _smbd_get_connection()
1604 qp_attr.sq_sig_type = IB_SIGNAL_REQ_WR; in _smbd_get_connection()
1605 qp_attr.qp_type = IB_QPT_RC; in _smbd_get_connection()
1606 qp_attr.send_cq = info->send_cq; in _smbd_get_connection()
1607 qp_attr.recv_cq = info->recv_cq; in _smbd_get_connection()
1608 qp_attr.port_num = ~0; in _smbd_get_connection()
1610 rc = rdma_create_qp(info->id, info->pd, &qp_attr); in _smbd_get_connection()