Lines Matching refs:mlx4_ib_qp
113 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp()
123 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp()
151 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0()
174 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe()
179 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe()
184 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe()
194 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n) in stamp_send_wqe()
337 bool is_user, bool has_rq, struct mlx4_ib_qp *qp, in set_rq_size()
382 enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp) in set_kernel_sq_size()
447 struct mlx4_ib_qp *qp, in set_user_sq_size()
470 static int alloc_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in alloc_proxy_bufs()
509 static void free_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in free_proxy_bufs()
541 struct mlx4_ib_qp *qp) in mlx4_ib_free_qp_counter()
657 struct mlx4_ib_qp *qp) in create_qp_rss()
710 static int _mlx4_ib_create_qp_rss(struct ib_pd *pd, struct mlx4_ib_qp *qp, in _mlx4_ib_create_qp_rss()
784 struct mlx4_ib_qp *qp, int range_size, int *wqn) in mlx4_ib_alloc_wqn()
834 struct mlx4_ib_qp *qp, bool dirty_release) in mlx4_ib_release_wqn()
862 struct ib_udata *udata, struct mlx4_ib_qp *qp) in create_rq()
993 struct mlx4_ib_qp *qp) in create_qp_common()
1332 static void del_gid_entries(struct mlx4_ib_qp *qp) in del_gid_entries()
1342 static struct mlx4_ib_pd *get_pd(struct mlx4_ib_qp *qp) in get_pd()
1350 static void get_cqs(struct mlx4_ib_qp *qp, enum mlx4_ib_source_type src, in get_cqs()
1371 static void destroy_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in destroy_qp_rss()
1379 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in destroy_qp_rss()
1400 static void destroy_qp_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, in destroy_qp_common()
1516 static int _mlx4_ib_create_qp(struct ib_pd *pd, struct mlx4_ib_qp *qp, in _mlx4_ib_create_qp()
1627 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_create_qp()
1663 struct mlx4_ib_qp *mqp = to_mqp(qp); in _mlx4_ib_destroy_qp()
1690 struct mlx4_ib_qp *mqp = to_mqp(qp); in mlx4_ib_destroy_qp()
1726 static __be32 to_mlx4_access_flags(struct mlx4_ib_qp *qp, const struct ib_qp_attr *attr, in to_mlx4_access_flags()
1892 struct mlx4_ib_qp *mqp, in mlx4_set_path()
1905 struct mlx4_ib_qp *mqp, in mlx4_set_alt_path()
1914 static void update_mcg_macs(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in update_mcg_macs()
1927 struct mlx4_ib_qp *qp, in handle_eth_ud_smac_index()
1950 static int create_qp_lb_counter(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in create_qp_lb_counter()
2014 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()
2047 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bringup_rss_rwqs()
2073 struct mlx4_ib_qp *wq = to_mqp((struct ib_qp *)ibwq); in bring_down_rss_rwqs()
2088 struct mlx4_ib_qp *qp) in fill_qp_rss_context()
2119 struct mlx4_ib_qp *qp; in __mlx4_ib_modify_qp()
2699 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_modify_qp()
2826 struct mlx4_ib_qp *mqp = to_mqp(ibqp); in mlx4_ib_modify_qp()
2860 static int build_sriov_qp0_header(struct mlx4_ib_qp *qp, in build_sriov_qp0_header()
3013 static int build_mlx_header(struct mlx4_ib_qp *qp, const struct ib_ud_wr *wr, in build_mlx_header()
3481 const struct ib_ud_wr *wr, struct mlx4_ib_qp *qp, in build_lso_seg()
3525 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_post_send()
3846 struct mlx4_ib_qp *qp = to_mqp(ibqp); in _mlx4_ib_post_recv()
4014 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_query_qp()
4125 struct mlx4_ib_qp *qp; in mlx4_ib_create_wq()
4207 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in _mlx4_ib_modify_wq()
4263 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in mlx4_ib_modify_wq()
4319 struct mlx4_ib_qp *qp = to_mqp((struct ib_qp *)ibwq); in mlx4_ib_destroy_wq()