Lines Matching refs:mlx4_ib_qp
82 struct mlx4_ib_qp qp;
121 static struct mlx4_ib_sqp *to_msqp(struct mlx4_ib_qp *mqp) in to_msqp()
126 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp()
136 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp()
161 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0()
184 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe()
189 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe()
194 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe()
208 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n, int size) in stamp_send_wqe()
238 static void post_nop_wqe(struct mlx4_ib_qp *qp, int n, int size) in post_nop_wqe()
276 static inline unsigned pad_wraparound(struct mlx4_ib_qp *qp, int ind) in pad_wraparound()
379 int is_user, int has_rq, struct mlx4_ib_qp *qp) in set_rq_size()
417 enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp) in set_kernel_sq_size()
532 struct mlx4_ib_qp *qp, in set_user_sq_size()
551 static int alloc_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in alloc_proxy_bufs()
590 static void free_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in free_proxy_bufs()
622 struct mlx4_ib_qp *qp) in mlx4_ib_free_qp_counter()
635 struct ib_udata *udata, int sqpn, struct mlx4_ib_qp **caller_qp, in create_qp_common()
641 struct mlx4_ib_qp *qp; in create_qp_common()
698 qp = kzalloc(sizeof (struct mlx4_ib_qp), gfp); in create_qp_common()
963 static void del_gid_entries(struct mlx4_ib_qp *qp) in del_gid_entries()
973 static struct mlx4_ib_pd *get_pd(struct mlx4_ib_qp *qp) in get_pd()
981 static void get_cqs(struct mlx4_ib_qp *qp, in get_cqs()
1000 static void destroy_qp_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, in destroy_qp_common()
1106 struct mlx4_ib_qp *qp = NULL; in mlx4_ib_create_qp()
1202 struct mlx4_ib_qp *mqp = to_mqp(qp); in mlx4_ib_destroy_qp()
1252 static __be32 to_mlx4_access_flags(struct mlx4_ib_qp *qp, const struct ib_qp_attr *attr, in to_mlx4_access_flags()
1418 struct mlx4_ib_qp *mqp, in mlx4_set_path()
1431 struct mlx4_ib_qp *mqp, in mlx4_set_alt_path()
1440 static void update_mcg_macs(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in update_mcg_macs()
1453 struct mlx4_ib_qp *qp, in handle_eth_ud_smac_index()
1476 static int create_qp_lb_counter(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in create_qp_lb_counter()
1515 struct mlx4_ib_qp *qp = to_mqp(ibqp); in __mlx4_ib_modify_qp()
2029 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_modify_qp()
2707 struct mlx4_ib_qp *qp, unsigned *lso_seg_len, in build_lso_seg()
2751 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_post_send()
3070 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_post_recv()
3233 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_query_qp()