Lines Matching refs:ib_qp_init_attr
483 static bool qp_has_rq(struct ib_qp_init_attr *attr) in qp_has_rq()
514 struct ib_qp_init_attr *init_attr, in set_qp_rss()
616 struct ib_qp_init_attr *init_attr, in create_qp_rss()
672 struct ib_qp_init_attr *init_attr, in _mlx4_ib_create_qp_rss()
822 static int create_rq(struct ib_pd *pd, struct ib_qp_init_attr *init_attr, in create_rq()
952 static int create_qp_common(struct ib_pd *pd, struct ib_qp_init_attr *init_attr, in create_qp_common()
1460 static u32 get_sqp_num(struct mlx4_ib_dev *dev, struct ib_qp_init_attr *attr) in get_sqp_num()
1478 struct ib_qp_init_attr *init_attr, in _mlx4_ib_create_qp()
1583 int mlx4_ib_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *init_attr, in mlx4_ib_create_qp()
3972 struct ib_qp_init_attr *qp_init_attr) in mlx4_ib_query_qp()
4085 struct ib_qp_init_attr ib_qp_init_attr = {}; in mlx4_ib_create_wq() local
4130 ib_qp_init_attr.qp_context = init_attr->wq_context; in mlx4_ib_create_wq()
4131 ib_qp_init_attr.qp_type = IB_QPT_RAW_PACKET; in mlx4_ib_create_wq()
4132 ib_qp_init_attr.cap.max_recv_wr = init_attr->max_wr; in mlx4_ib_create_wq()
4133 ib_qp_init_attr.cap.max_recv_sge = init_attr->max_sge; in mlx4_ib_create_wq()
4134 ib_qp_init_attr.recv_cq = init_attr->cq; in mlx4_ib_create_wq()
4135 ib_qp_init_attr.send_cq = ib_qp_init_attr.recv_cq; /* Dummy CQ */ in mlx4_ib_create_wq()
4138 ib_qp_init_attr.create_flags |= IB_QP_CREATE_SCATTER_FCS; in mlx4_ib_create_wq()
4140 err = create_rq(pd, &ib_qp_init_attr, udata, qp); in mlx4_ib_create_wq()