Lines Matching refs:mlx4_ib_qp
81 struct mlx4_ib_qp qp;
120 static struct mlx4_ib_sqp *to_msqp(struct mlx4_ib_qp *mqp) in to_msqp()
125 static int is_tunnel_qp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_tunnel_qp()
135 static int is_sqp(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_sqp()
160 static int is_qp0(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in is_qp0()
183 static void *get_wqe(struct mlx4_ib_qp *qp, int offset) in get_wqe()
188 static void *get_recv_wqe(struct mlx4_ib_qp *qp, int n) in get_recv_wqe()
193 static void *get_send_wqe(struct mlx4_ib_qp *qp, int n) in get_send_wqe()
207 static void stamp_send_wqe(struct mlx4_ib_qp *qp, int n, int size) in stamp_send_wqe()
237 static void post_nop_wqe(struct mlx4_ib_qp *qp, int n, int size) in post_nop_wqe()
275 static inline unsigned pad_wraparound(struct mlx4_ib_qp *qp, int ind) in pad_wraparound()
378 int is_user, int has_rq, struct mlx4_ib_qp *qp) in set_rq_size()
416 enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp) in set_kernel_sq_size()
531 struct mlx4_ib_qp *qp, in set_user_sq_size()
550 static int alloc_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in alloc_proxy_bufs()
589 static void free_proxy_bufs(struct ib_device *dev, struct mlx4_ib_qp *qp) in free_proxy_bufs()
622 struct ib_udata *udata, int sqpn, struct mlx4_ib_qp **caller_qp, in create_qp_common()
628 struct mlx4_ib_qp *qp; in create_qp_common()
685 qp = kzalloc(sizeof (struct mlx4_ib_qp), gfp); in create_qp_common()
944 static void del_gid_entries(struct mlx4_ib_qp *qp) in del_gid_entries()
954 static struct mlx4_ib_pd *get_pd(struct mlx4_ib_qp *qp) in get_pd()
962 static void get_cqs(struct mlx4_ib_qp *qp, in get_cqs()
981 static void destroy_qp_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, in destroy_qp_common()
1087 struct mlx4_ib_qp *qp = NULL; in mlx4_ib_create_qp()
1180 struct mlx4_ib_qp *mqp = to_mqp(qp); in mlx4_ib_destroy_qp()
1227 static __be32 to_mlx4_access_flags(struct mlx4_ib_qp *qp, const struct ib_qp_attr *attr, in to_mlx4_access_flags()
1389 struct mlx4_ib_qp *mqp, in mlx4_set_path()
1401 struct mlx4_ib_qp *mqp, in mlx4_set_alt_path()
1411 static void update_mcg_macs(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in update_mcg_macs()
1423 static int handle_eth_ud_smac_index(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, u8 *smac, in handle_eth_ud_smac_index()
1451 struct mlx4_ib_qp *qp = to_mqp(ibqp); in __mlx4_ib_modify_qp()
1920 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_modify_qp()
2598 struct mlx4_ib_qp *qp, unsigned *lso_seg_len, in build_lso_seg()
2642 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_post_send()
2956 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_post_recv()
3119 struct mlx4_ib_qp *qp = to_mqp(ibqp); in mlx4_ib_query_qp()