Lines Matching refs:mlx4_ib_dev

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()
336 static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, in set_rq_size()
381 static int set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, in set_kernel_sq_size()
446 static int set_user_sq_size(struct mlx4_ib_dev *dev, in set_user_sq_size()
540 static void mlx4_ib_free_qp_counter(struct mlx4_ib_dev *dev, in mlx4_ib_free_qp_counter()
552 static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, in set_qp_rss()
654 static int create_qp_rss(struct mlx4_ib_dev *dev, in create_qp_rss()
786 struct mlx4_ib_dev *dev = to_mdev(context->ibucontext.device); in mlx4_ib_alloc_wqn()
836 struct mlx4_ib_dev *dev = to_mdev(context->ibucontext.device); in mlx4_ib_release_wqn()
864 struct mlx4_ib_dev *dev = to_mdev(pd->device); in create_rq()
995 struct mlx4_ib_dev *dev = to_mdev(pd->device); in create_qp_common()
1371 static void destroy_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp) in destroy_qp_rss()
1400 static void destroy_qp_common(struct mlx4_ib_dev *dev, struct mlx4_ib_qp *qp, in destroy_qp_common()
1499 static u32 get_sqp_num(struct mlx4_ib_dev *dev, struct ib_qp_init_attr *attr) in get_sqp_num()
1626 struct mlx4_ib_dev *dev = to_mdev(device); in mlx4_ib_create_qp()
1662 struct mlx4_ib_dev *dev = to_mdev(qp->device); in _mlx4_ib_destroy_qp()
1702 static int to_mlx4_st(struct mlx4_ib_dev *dev, enum mlx4_ib_qp_type type) in to_mlx4_st()
1772 static int _mlx4_set_path(struct mlx4_ib_dev *dev, in _mlx4_set_path()
1890 static int mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp, in mlx4_set_path()
1902 static int mlx4_set_alt_path(struct mlx4_ib_dev *dev, 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()
1926 static int handle_eth_ud_smac_index(struct mlx4_ib_dev *dev, 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()
2118 struct mlx4_ib_dev *dev; in __mlx4_ib_modify_qp()
2698 struct mlx4_ib_dev *dev = to_mdev(ibqp->device); in _mlx4_ib_modify_qp()
2864 struct mlx4_ib_dev *mdev = to_mdev(qp->ibqp.device); in build_sriov_qp0_header()
2977 static u8 sl_to_vl(struct mlx4_ib_dev *dev, u8 sl, int port_num) in sl_to_vl()
2993 static int fill_gid_by_hw_index(struct mlx4_ib_dev *ibdev, u8 port_num, in fill_gid_by_hw_index()
3018 struct mlx4_ib_dev *ibdev = to_mdev(ib_dev); in build_mlx_header()
3372 static void set_tunnel_datagram_seg(struct mlx4_ib_dev *dev, in set_tunnel_datagram_seg()
3540 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in _mlx4_ib_post_send()
3854 struct mlx4_ib_dev *mdev = to_mdev(ibqp->device); in _mlx4_ib_post_recv()
3976 static void to_rdma_ah_attr(struct mlx4_ib_dev *ibdev, in to_rdma_ah_attr()
4013 struct mlx4_ib_dev *dev = to_mdev(ibqp->device); in mlx4_ib_query_qp()
4318 struct mlx4_ib_dev *dev = to_mdev(ibwq->device); in mlx4_ib_destroy_wq()
4399 struct mlx4_ib_dev *dev) in handle_drain_completion()
4460 struct mlx4_ib_dev *dev = to_mdev(qp->device); in mlx4_ib_drain_sq()
4489 struct mlx4_ib_dev *dev = to_mdev(qp->device); in mlx4_ib_drain_rq()