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()
435 static int alloc_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in alloc_proxy_bufs()
474 static void free_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in free_proxy_bufs()
506 struct mlx4_ib_qp *qp) in mlx4_ib_free_qp_counter()
622 struct mlx4_ib_qp *qp) in create_qp_rss()
675 static int _mlx4_ib_create_qp_rss(struct ib_pd *pd, struct mlx4_ib_qp *qp, in _mlx4_ib_create_qp_rss()
749 struct mlx4_ib_qp *qp, int range_size, int *wqn) in mlx4_ib_alloc_wqn()
799 struct mlx4_ib_qp *qp, bool dirty_release) in mlx4_ib_release_wqn()
827 struct ib_udata *udata, struct mlx4_ib_qp *qp) in create_rq()
958 struct mlx4_ib_qp *qp) in create_qp_common()
1297 static void del_gid_entries(struct mlx4_ib_qp *qp) in del_gid_entries()
1307 static struct mlx4_ib_pd *get_pd(struct mlx4_ib_qp *qp) in get_pd()
1315 static void get_cqs(struct mlx4_ib_qp *qp, enum mlx4_ib_source_type src, in get_cqs()
1336 static void destroy_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in destroy_qp_rss()
1365 static void destroy_qp_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, in destroy_qp_common()
1481 static int _mlx4_ib_create_qp(struct ib_pd *pd, struct mlx4_ib_qp *qp, in _mlx4_ib_create_qp()
1587 struct mlx4_ib_qp *qp; in mlx4_ib_create_qp() local
1625 static int _mlx4_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in _mlx4_ib_destroy_qp()
1655 int mlx4_ib_destroy_qp(struct ib_qp *qp, struct ib_udata *udata) in mlx4_ib_destroy_qp()
1693 static __be32 to_mlx4_access_flags(struct mlx4_ib_qp *qp, const struct ib_qp_attr *attr, in to_mlx4_access_flags()
1857 static int mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, in mlx4_set_path()
1870 const struct ib_qp_attr *qp, in mlx4_set_alt_path()
1881 static void update_mcg_macs(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in update_mcg_macs()
1894 struct mlx4_ib_qp *qp, in handle_eth_ud_smac_index()
1917 static int create_qp_lb_counter(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in create_qp_lb_counter()
2055 struct mlx4_ib_qp *qp) in fill_qp_rss_context()
2086 struct mlx4_ib_qp *qp; in __mlx4_ib_modify_qp() local
2666 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_modify_qp() local
2824 static int build_sriov_qp0_header(struct mlx4_ib_qp *qp, in build_sriov_qp0_header()
2977 static int build_mlx_header(struct mlx4_ib_qp *qp, const struct ib_ud_wr *wr, in build_mlx_header()
3448 const struct ib_ud_wr *wr, struct mlx4_ib_qp *qp, in build_lso_seg()
3492 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_post_send() local
3813 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_post_recv() local
3981 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_query_qp() local
4090 struct mlx4_ib_qp *qp; in mlx4_ib_create_wq() local
4172 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in _mlx4_ib_modify_wq() local
4228 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in mlx4_ib_modify_wq() local
4284 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in mlx4_ib_destroy_wq() local
4411 void mlx4_ib_drain_sq(struct ib_qp *qp) in mlx4_ib_drain_sq()
4446 void mlx4_ib_drain_rq(struct ib_qp *qp) in mlx4_ib_drain_rq()