Lines Matching refs:qp_init_attr
1802 struct mlx4_ib_qp_tunnel_init_attr qp_init_attr; in create_pv_sqp() local
1812 memset(&qp_init_attr, 0, sizeof qp_init_attr); in create_pv_sqp()
1813 qp_init_attr.init_attr.send_cq = ctx->cq; in create_pv_sqp()
1814 qp_init_attr.init_attr.recv_cq = ctx->cq; in create_pv_sqp()
1815 qp_init_attr.init_attr.sq_sig_type = IB_SIGNAL_ALL_WR; in create_pv_sqp()
1816 qp_init_attr.init_attr.cap.max_send_wr = nmbr_bufs; in create_pv_sqp()
1817 qp_init_attr.init_attr.cap.max_recv_wr = nmbr_bufs; in create_pv_sqp()
1818 qp_init_attr.init_attr.cap.max_send_sge = 1; in create_pv_sqp()
1819 qp_init_attr.init_attr.cap.max_recv_sge = 1; in create_pv_sqp()
1821 qp_init_attr.init_attr.qp_type = IB_QPT_UD; in create_pv_sqp()
1822 qp_init_attr.init_attr.create_flags = MLX4_IB_SRIOV_TUNNEL_QP; in create_pv_sqp()
1823 qp_init_attr.port = ctx->port; in create_pv_sqp()
1824 qp_init_attr.slave = ctx->slave; in create_pv_sqp()
1825 qp_init_attr.proxy_qp_type = qp_type; in create_pv_sqp()
1829 qp_init_attr.init_attr.qp_type = qp_type; in create_pv_sqp()
1830 qp_init_attr.init_attr.create_flags = MLX4_IB_SRIOV_SQP; in create_pv_sqp()
1833 qp_init_attr.init_attr.port_num = ctx->port; in create_pv_sqp()
1834 qp_init_attr.init_attr.qp_context = ctx; in create_pv_sqp()
1835 qp_init_attr.init_attr.event_handler = pv_qp_event_handler; in create_pv_sqp()
1836 tun_qp->qp = ib_create_qp(ctx->pd, &qp_init_attr.init_attr); in create_pv_sqp()