Home
last modified time | relevance | path

Searched refs:mlx4_ib_dev (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dmlx4_ib.h446 struct mlx4_ib_dev *dev;
498 struct mlx4_ib_dev *dev;
577 struct mlx4_ib_dev *dev;
609 struct mlx4_ib_dev { struct
651 struct mlx4_ib_dev *ib_dev; argument
668 static inline struct mlx4_ib_dev *to_mdev(struct ib_device *ibdev) in to_mdev()
670 return container_of(ibdev, struct mlx4_ib_dev, ib_dev); in to_mdev()
738 static inline u8 mlx4_ib_bond_next_port(struct mlx4_ib_dev *dev) in mlx4_ib_bond_next_port()
745 int mlx4_ib_init_sriov(struct mlx4_ib_dev *dev);
746 void mlx4_ib_close_sriov(struct mlx4_ib_dev *dev);
[all …]
Dalias_GUID.c55 struct mlx4_ib_dev *dev ;
72 static int get_low_record_time_index(struct mlx4_ib_dev *dev, u8 port,
75 void mlx4_ib_update_cache_on_guid_change(struct mlx4_ib_dev *dev, int block_num, in mlx4_ib_update_cache_on_guid_change()
111 static __be64 get_cached_alias_guid(struct mlx4_ib_dev *dev, int port, int index) in get_cached_alias_guid()
126 void mlx4_ib_slave_alias_guid_event(struct mlx4_ib_dev *dev, int slave, in mlx4_ib_slave_alias_guid_event()
186 void mlx4_ib_notify_slaves_on_guid_change(struct mlx4_ib_dev *dev, in mlx4_ib_notify_slaves_on_guid_change()
292 struct mlx4_ib_dev *dev; in aliasguid_query_handler()
452 static void invalidate_guid_record(struct mlx4_ib_dev *dev, u8 port, int index) in invalidate_guid_record()
490 struct mlx4_ib_dev *dev = to_mdev(ibdev); in set_guid_rec()
582 static void mlx4_ib_guid_port_init(struct mlx4_ib_dev *dev, int port) in mlx4_ib_guid_port_init()
[all …]
Dmain.c82 static void do_slave_init(struct mlx4_ib_dev *ibdev, int slave, int do_init);
134 struct mlx4_ib_dev *ibdev = to_mdev(device); in mlx4_ib_get_netdev()
162 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids_v1()
195 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids_v1_v2()
240 struct mlx4_ib_dev *ibdev, in mlx4_ib_update_gids()
258 struct mlx4_ib_dev *ibdev = to_mdev(attr->device); in mlx4_ib_add_gid()
351 struct mlx4_ib_dev *ibdev = to_mdev(attr->device); in mlx4_ib_del_gid()
401 int mlx4_ib_gid_index_to_real_index(struct mlx4_ib_dev *ibdev, in mlx4_ib_gid_index_to_real_index()
441 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_query_device()
757 struct mlx4_ib_dev *mdev = to_mdev(ibdev); in eth_link_query_port()
[all …]
Dsysfs.c52 struct mlx4_ib_dev *mdev = port->dev; in show_admin_alias_guid()
77 struct mlx4_ib_dev *mdev = port->dev; in store_admin_alias_guid()
118 struct mlx4_ib_dev *mdev = port->dev; in show_port_gid()
145 struct mlx4_ib_dev *mdev = port->dev; in show_phys_port_pkey()
200 int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in add_sysfs_port_mcg_attr()
213 void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in del_sysfs_port_mcg_attr()
221 static int add_port_entries(struct mlx4_ib_dev *device, int port_num) in add_port_entries()
354 static void get_name(struct mlx4_ib_dev *dev, char *name, int i, int max) in get_name()
366 struct mlx4_ib_dev *dev;
635 static int add_port(struct mlx4_ib_dev *dev, int port_num, int slave) in add_port()
[all …]
Dmad.c91 static void handle_client_rereg_event(struct mlx4_ib_dev *dev, u8 port_num);
92 static void handle_lid_change_event(struct mlx4_ib_dev *dev, u8 port_num);
93 static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num,
108 int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, in mlx4_MAD_IFC()
189 static void update_sm_ah(struct mlx4_ib_dev *dev, u8 port_num, u16 lid, u8 sl) in update_sm_ah()
230 struct mlx4_ib_dev *dev = to_mdev(ibdev); in smp_snoop()
333 static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, in __propagate_pkey_ev()
383 static void forward_trap(struct mlx4_ib_dev *dev, u8 port_num, const struct ib_mad *mad) in forward_trap()
434 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_find_real_gid()
445 static int find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, in find_slave_port_pkey_ix()
[all …]
Dsrq.c76 struct mlx4_ib_dev *dev = to_mdev(ib_srq->device); in mlx4_ib_create_srq()
223 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_modify_srq()
248 struct mlx4_ib_dev *dev = to_mdev(ibsrq->device); in mlx4_ib_query_srq()
266 struct mlx4_ib_dev *dev = to_mdev(srq->device); in mlx4_ib_destroy_srq()
313 struct mlx4_ib_dev *mdev = to_mdev(ibsrq->device); in mlx4_ib_post_srq_recv()
Dcq.c96 struct mlx4_ib_dev *dev = to_mdev(cq->device); in mlx4_ib_modify_cq()
101 static int mlx4_ib_alloc_cq_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq_buf *buf, int nent) in mlx4_ib_alloc_cq_buf()
133 static void mlx4_ib_free_cq_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq_buf *buf, int cqe) in mlx4_ib_free_cq_buf()
138 static int mlx4_ib_get_cq_umem(struct mlx4_ib_dev *dev, struct ib_udata *udata, in mlx4_ib_get_cq_umem()
180 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_create_cq()
290 static int mlx4_alloc_resize_buf(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_buf()
314 static int mlx4_alloc_resize_umem(struct mlx4_ib_dev *dev, struct mlx4_ib_cq *cq, in mlx4_alloc_resize_umem()
381 struct mlx4_ib_dev *dev = to_mdev(ibcq->device); in mlx4_ib_resize_cq()
479 struct mlx4_ib_dev *dev = to_mdev(cq->device); in mlx4_ib_destroy_cq()
695 struct mlx4_ib_dev *dev = to_mdev(cq->ibcq.device); in mlx4_ib_poll_one()
[all …]
Dmr.c94 static int mlx4_ib_umem_write_mtt_block(struct mlx4_ib_dev *dev, in mlx4_ib_umem_write_mtt_block()
182 int mlx4_ib_umem_write_mtt(struct mlx4_ib_dev *dev, struct mlx4_mtt *mtt, in mlx4_ib_umem_write_mtt()
410 struct mlx4_ib_dev *dev = to_mdev(pd->device); in mlx4_ib_reg_user_mr()
464 struct mlx4_ib_dev *dev = to_mdev(mr->device); in mlx4_ib_rereg_user_mr()
616 struct mlx4_ib_dev *dev = to_mdev(ibmw->device); in mlx4_ib_alloc_mw()
648 struct mlx4_ib_dev *dev = to_mdev(pd->device); in mlx4_ib_alloc_mr()
Dqp.c105 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()
301 static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, in set_rq_size()
346 static int set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, in set_kernel_sq_size()
411 static int set_user_sq_size(struct mlx4_ib_dev *dev, in set_user_sq_size()
501 static void mlx4_ib_free_qp_counter(struct mlx4_ib_dev *dev, in mlx4_ib_free_qp_counter()
513 static int set_qp_rss(struct mlx4_ib_dev *dev, struct mlx4_ib_rss *rss_ctx, in set_qp_rss()
615 static int create_qp_rss(struct mlx4_ib_dev *dev, in create_qp_rss()
747 struct mlx4_ib_dev *dev = to_mdev(context->ibucontext.device); in mlx4_ib_alloc_wqn()
[all …]
Dcm.c51 struct mlx4_ib_dev *dev;
181 struct mlx4_ib_dev *dev = ent->dev; in id_map_ent_timeout()
484 void mlx4_ib_cm_paravirt_init(struct mlx4_ib_dev *dev) in mlx4_ib_cm_paravirt_init()
522 void mlx4_ib_cm_paravirt_clean(struct mlx4_ib_dev *dev, int slave) in mlx4_ib_cm_paravirt_clean()
Dmcg.c211 struct mlx4_ib_dev *dev = ctx->dev; in send_mad_to_wire()
231 struct mlx4_ib_dev *dev = ctx->dev; in send_mad_to_slave()
885 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_mcg_demux_handler()
934 struct mlx4_ib_dev *dev = to_mdev(ibdev); in mlx4_ib_mcg_multiplex_handler()
Dah.c79 struct mlx4_ib_dev *ibdev = to_mdev(ib_ah->device); in create_iboe_ah()