Lines Matching defs:qp
105 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp()
115 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp()
143 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0()
166 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe()
171 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe()
176 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe()
186 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n) in stamp_send_wqe()
203 static void mlx4_ib_qp_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_qp_event()
249 static void mlx4_ib_wq_event(struct mlx4_qp *qp, enum mlx4_event type) in mlx4_ib_wq_event()
302 bool is_user, bool has_rq, struct mlx4_ib_qp *qp, in set_rq_size()
347 enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp) in set_kernel_sq_size()
412 struct mlx4_ib_qp *qp, in set_user_sq_size()
431 static int alloc_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in alloc_proxy_bufs()
470 static void free_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in free_proxy_bufs()
502 struct mlx4_ib_qp *qp) in mlx4_ib_free_qp_counter()
618 struct mlx4_ib_qp *qp) in create_qp_rss()
671 static int _mlx4_ib_create_qp_rss(struct ib_pd *pd, struct mlx4_ib_qp *qp, in _mlx4_ib_create_qp_rss()
745 struct mlx4_ib_qp *qp, int range_size, int *wqn) in mlx4_ib_alloc_wqn()
795 struct mlx4_ib_qp *qp, bool dirty_release) in mlx4_ib_release_wqn()
823 struct ib_udata *udata, struct mlx4_ib_qp *qp) in create_rq()
954 struct mlx4_ib_qp *qp) in create_qp_common()
1291 static void del_gid_entries(struct mlx4_ib_qp *qp) in del_gid_entries()
1301 static struct mlx4_ib_pd *get_pd(struct mlx4_ib_qp *qp) in get_pd()
1309 static void get_cqs(struct mlx4_ib_qp *qp, enum mlx4_ib_source_type src, in get_cqs()
1330 static void destroy_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in destroy_qp_rss()
1359 static void destroy_qp_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, in destroy_qp_common()
1475 static int _mlx4_ib_create_qp(struct ib_pd *pd, struct mlx4_ib_qp *qp, in _mlx4_ib_create_qp()
1581 struct mlx4_ib_qp *qp; in mlx4_ib_create_qp() local
1619 static int _mlx4_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in _mlx4_ib_destroy_qp()
1649 int mlx4_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in mlx4_ib_destroy_qp()
1687 static __be32 to_mlx4_access_flags(struct mlx4_ib_qp *qp, const struct ib_qp_attr *attr, in to_mlx4_access_flags()
1851 static int mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, in mlx4_set_path()
1864 const struct ib_qp_attr *qp, in mlx4_set_alt_path()
1875 static void update_mcg_macs(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in update_mcg_macs()
1888 struct mlx4_ib_qp *qp, in handle_eth_ud_smac_index()
1911 static int create_qp_lb_counter(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in create_qp_lb_counter()
2049 struct mlx4_ib_qp *qp) in fill_qp_rss_context()
2080 struct mlx4_ib_qp *qp; in __mlx4_ib_modify_qp() local
2660 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_modify_qp() local
2818 static int build_sriov_qp0_header(struct mlx4_ib_qp *qp, in build_sriov_qp0_header()
2971 static int build_mlx_header(struct mlx4_ib_qp *qp, const struct ib_ud_wr *wr, in build_mlx_header()
3442 const struct ib_ud_wr *wr, struct mlx4_ib_qp *qp, in build_lso_seg()
3486 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_post_send() local
3807 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_post_recv() local
3975 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_query_qp() local
4084 struct mlx4_ib_qp *qp; in mlx4_ib_create_wq() local
4166 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in _mlx4_ib_modify_wq() local
4222 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in mlx4_ib_modify_wq() local
4283 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in mlx4_ib_destroy_wq() local
4410 void mlx4_ib_drain_sq(struct ib_qp *qp) in mlx4_ib_drain_sq()
4445 void mlx4_ib_drain_rq(struct ib_qp *qp) in mlx4_ib_drain_rq()