Lines Matching refs:ib_qp_init_attr
522 static bool qp_has_rq(struct ib_qp_init_attr *attr) in qp_has_rq()
553 struct ib_qp_init_attr *init_attr, in set_qp_rss()
655 struct ib_qp_init_attr *init_attr, in create_qp_rss()
711 struct ib_qp_init_attr *init_attr, in _mlx4_ib_create_qp_rss()
861 static int create_rq(struct ib_pd *pd, struct ib_qp_init_attr *init_attr, in create_rq()
991 static int create_qp_common(struct ib_pd *pd, struct ib_qp_init_attr *init_attr, in create_qp_common()
1499 static u32 get_sqp_num(struct mlx4_ib_dev *dev, struct ib_qp_init_attr *attr) in get_sqp_num()
1517 struct ib_qp_init_attr *init_attr, in _mlx4_ib_create_qp()
1622 int mlx4_ib_create_qp(struct ib_qp *ibqp, struct ib_qp_init_attr *init_attr, in mlx4_ib_create_qp()
4011 struct ib_qp_init_attr *qp_init_attr) in mlx4_ib_query_qp()
4124 struct ib_qp_init_attr ib_qp_init_attr = {}; in mlx4_ib_create_wq() local
4169 ib_qp_init_attr.qp_context = init_attr->wq_context; in mlx4_ib_create_wq()
4170 ib_qp_init_attr.qp_type = IB_QPT_RAW_PACKET; in mlx4_ib_create_wq()
4171 ib_qp_init_attr.cap.max_recv_wr = init_attr->max_wr; in mlx4_ib_create_wq()
4172 ib_qp_init_attr.cap.max_recv_sge = init_attr->max_sge; in mlx4_ib_create_wq()
4173 ib_qp_init_attr.recv_cq = init_attr->cq; in mlx4_ib_create_wq()
4174 ib_qp_init_attr.send_cq = ib_qp_init_attr.recv_cq; /* Dummy CQ */ in mlx4_ib_create_wq()
4177 ib_qp_init_attr.create_flags |= IB_QP_CREATE_SCATTER_FCS; in mlx4_ib_create_wq()
4179 err = create_rq(pd, &ib_qp_init_attr, udata, qp); in mlx4_ib_create_wq()