Home
last modified time | relevance | path

Searched refs:mlx5_core_dev (Results 1 – 39 of 39) sorted by relevance

/linux-4.4.14/include/linux/mlx5/
Ddriver.h137 struct mlx5_core_dev *dev;
301 struct mlx5_core_dev *dev;
505 struct mlx5_core_dev { struct
522 void (*event) (struct mlx5_core_dev *dev, argument
642 static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) in pci2mlx5_core_dev()
649 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj()
654 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min()
659 static inline u16 fw_rev_sub(struct mlx5_core_dev *dev) in fw_rev_sub()
664 static inline u16 cmdif_rev(struct mlx5_core_dev *dev) in cmdif_rev()
684 int mlx5_cmd_init(struct mlx5_core_dev *dev);
[all …]
Dvport.h38 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod);
39 void mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, u8 *addr);
40 int mlx5_query_hca_vport_gid(struct mlx5_core_dev *dev, u8 other_vport,
43 int mlx5_query_hca_vport_pkey(struct mlx5_core_dev *dev, u8 other_vport,
46 int mlx5_query_hca_vport_context(struct mlx5_core_dev *dev,
50 int mlx5_query_hca_vport_system_image_guid(struct mlx5_core_dev *dev,
52 int mlx5_query_hca_vport_node_guid(struct mlx5_core_dev *dev,
Dcq.h163 int mlx5_init_cq_table(struct mlx5_core_dev *dev);
164 void mlx5_cleanup_cq_table(struct mlx5_core_dev *dev);
165 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
167 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
168 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
170 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq,
172 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev,
175 int mlx5_debug_cq_add(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
176 void mlx5_debug_cq_remove(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq);
Dqp.h598 static inline struct mlx5_core_qp *__mlx5_qp_lookup(struct mlx5_core_dev *dev, u32 qpn) in __mlx5_qp_lookup()
603 static inline struct mlx5_core_mr *__mlx5_mr_lookup(struct mlx5_core_dev *dev, u32 key) in __mlx5_mr_lookup()
619 int mlx5_core_create_qp(struct mlx5_core_dev *dev,
623 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, enum mlx5_qp_state cur_state,
627 int mlx5_core_destroy_qp(struct mlx5_core_dev *dev,
629 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp,
632 int mlx5_core_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn);
633 int mlx5_core_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn);
634 void mlx5_init_qp_table(struct mlx5_core_dev *dev);
635 void mlx5_cleanup_qp_table(struct mlx5_core_dev *dev);
[all …]
Dsrq.h38 void mlx5_init_srq_table(struct mlx5_core_dev *dev);
39 void mlx5_cleanup_srq_table(struct mlx5_core_dev *dev);
Dflow_table.h44 void *mlx5_create_flow_table(struct mlx5_core_dev *dev, u8 level, u8 table_type,
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.h36 int mlx5_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn);
37 void mlx5_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn);
38 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen,
40 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen);
41 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn);
42 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen,
44 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen);
45 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn);
46 int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen,
48 int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in,
[all …]
Dmlx5_core.h72 static inline int mlx5_cmd_exec_check_status(struct mlx5_core_dev *dev, u32 *in, in mlx5_cmd_exec_check_status()
85 int mlx5_query_hca_caps(struct mlx5_core_dev *dev);
86 int mlx5_query_board_id(struct mlx5_core_dev *dev);
87 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev);
88 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev);
89 void mlx5_core_event(struct mlx5_core_dev *dev, enum mlx5_dev_event event,
91 void mlx5_enter_error_state(struct mlx5_core_dev *dev);
92 void mlx5_disable_device(struct mlx5_core_dev *dev);
Dtransobj.c37 int mlx5_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn) in mlx5_alloc_transport_domain()
57 void mlx5_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn) in mlx5_dealloc_transport_domain()
72 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq()
87 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen) in mlx5_core_modify_rq()
98 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq()
111 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in mlx5_core_create_sq()
126 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen) in mlx5_core_modify_sq()
137 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq()
150 int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen, in mlx5_core_create_tir()
166 int mlx5_core_modify_tir(struct mlx5_core_dev *dev, u32 tirn, u32 *in, in mlx5_core_modify_tir()
[all …]
Dhealth.c67 static u8 get_nic_interface(struct mlx5_core_dev *dev) in get_nic_interface()
72 static void trigger_cmd_completions(struct mlx5_core_dev *dev) in trigger_cmd_completions()
95 static int in_fatal(struct mlx5_core_dev *dev) in in_fatal()
109 void mlx5_enter_error_state(struct mlx5_core_dev *dev) in mlx5_enter_error_state()
122 static void mlx5_handle_bad_state(struct mlx5_core_dev *dev) in mlx5_handle_bad_state()
149 struct mlx5_core_dev *dev; in health_care()
154 dev = container_of(priv, struct mlx5_core_dev, priv); in health_care()
204 static void print_health_info(struct mlx5_core_dev *dev) in print_health_info()
243 struct mlx5_core_dev *dev = (struct mlx5_core_dev *)data; in poll_health()
274 void mlx5_start_health_poll(struct mlx5_core_dev *dev) in mlx5_start_health_poll()
[all …]
Dport.c38 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg()
89 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps) in mlx5_set_port_caps()
103 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys, in mlx5_query_port_ptys()
117 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev, in mlx5_query_port_proto_cap()
136 int mlx5_query_port_proto_admin(struct mlx5_core_dev *dev, in mlx5_query_port_proto_admin()
155 int mlx5_query_port_link_width_oper(struct mlx5_core_dev *dev, in mlx5_query_port_link_width_oper()
171 int mlx5_query_port_proto_oper(struct mlx5_core_dev *dev, in mlx5_query_port_proto_oper()
191 int mlx5_set_port_proto(struct mlx5_core_dev *dev, u32 proto_admin, in mlx5_set_port_proto()
211 int mlx5_set_port_admin_status(struct mlx5_core_dev *dev, in mlx5_set_port_admin_status()
228 int mlx5_query_port_admin_status(struct mlx5_core_dev *dev, in mlx5_query_port_admin_status()
[all …]
Ddebugfs.c103 int mlx5_qp_debugfs_init(struct mlx5_core_dev *dev) in mlx5_qp_debugfs_init()
117 void mlx5_qp_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_qp_debugfs_cleanup()
125 int mlx5_eq_debugfs_init(struct mlx5_core_dev *dev) in mlx5_eq_debugfs_init()
137 void mlx5_eq_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_eq_debugfs_cleanup()
195 int mlx5_cmdif_debugfs_init(struct mlx5_core_dev *dev) in mlx5_cmdif_debugfs_init()
249 void mlx5_cmdif_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_cmdif_debugfs_cleanup()
257 int mlx5_cq_debugfs_init(struct mlx5_core_dev *dev) in mlx5_cq_debugfs_init()
269 void mlx5_cq_debugfs_cleanup(struct mlx5_core_dev *dev) in mlx5_cq_debugfs_cleanup()
277 static u64 qp_read_field(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp, in qp_read_field()
358 static u64 eq_read_field(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in eq_read_field()
[all …]
Dmain.c159 static int wait_fw_init(struct mlx5_core_dev *dev, u32 max_wait_mili) in wait_fw_init()
205 static int mlx5_pci_enable_device(struct mlx5_core_dev *dev) in mlx5_pci_enable_device()
221 static void mlx5_pci_disable_device(struct mlx5_core_dev *dev) in mlx5_pci_disable_device()
254 static int mlx5_enable_msix(struct mlx5_core_dev *dev) in mlx5_enable_msix()
292 static void mlx5_disable_msix(struct mlx5_core_dev *dev) in mlx5_disable_msix()
335 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type, in mlx5_core_get_caps()
386 static int set_caps(struct mlx5_core_dev *dev, void *in, int in_sz) in set_caps()
403 static int handle_hca_cap(struct mlx5_core_dev *dev) in handle_hca_cap()
451 static int set_hca_ctrl(struct mlx5_core_dev *dev) in set_hca_ctrl()
465 static int mlx5_core_enable_hca(struct mlx5_core_dev *dev) in mlx5_core_enable_hca()
[all …]
Dsrq.c42 void mlx5_srq_event(struct mlx5_core_dev *dev, u32 srqn, int event_type) in mlx5_srq_event()
134 struct mlx5_core_srq *mlx5_core_get_srq(struct mlx5_core_dev *dev, u32 srqn) in mlx5_core_get_srq()
151 static int create_srq_cmd(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, in create_srq_cmd()
169 static int destroy_srq_cmd(struct mlx5_core_dev *dev, in destroy_srq_cmd()
184 static int arm_srq_cmd(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, in arm_srq_cmd()
203 static int query_srq_cmd(struct mlx5_core_dev *dev, struct mlx5_core_srq *srq, in query_srq_cmd()
217 static int create_xrc_srq_cmd(struct mlx5_core_dev *dev, in create_xrc_srq_cmd()
261 static int destroy_xrc_srq_cmd(struct mlx5_core_dev *dev, in destroy_xrc_srq_cmd()
278 static int arm_xrc_srq_cmd(struct mlx5_core_dev *dev, in arm_xrc_srq_cmd()
296 static int query_xrc_srq_cmd(struct mlx5_core_dev *dev, in query_xrc_srq_cmd()
[all …]
Dpagealloc.c53 struct mlx5_core_dev *dev;
105 static int insert_page(struct mlx5_core_dev *dev, u64 addr, struct page *page, u16 func_id) in insert_page()
143 static struct fw_page *find_fw_page(struct mlx5_core_dev *dev, u64 addr) in find_fw_page()
165 static int mlx5_cmd_query_pages(struct mlx5_core_dev *dev, u16 *func_id, in mlx5_cmd_query_pages()
190 static int alloc_4k(struct mlx5_core_dev *dev, u64 *addr) in alloc_4k()
216 static void free_4k(struct mlx5_core_dev *dev, u64 addr) in free_4k()
243 static int alloc_system_page(struct mlx5_core_dev *dev, u16 func_id) in alloc_system_page()
279 static void page_notify_fail(struct mlx5_core_dev *dev, u16 func_id) in page_notify_fail()
303 static int give_pages(struct mlx5_core_dev *dev, u16 func_id, int npages, in give_pages()
370 static int reclaim_pages(struct mlx5_core_dev *dev, u32 func_id, int npages, in reclaim_pages()
[all …]
Dalloc.c48 static void *mlx5_dma_zalloc_coherent_node(struct mlx5_core_dev *dev, in mlx5_dma_zalloc_coherent_node()
66 int mlx5_buf_alloc_node(struct mlx5_core_dev *dev, int size, in mlx5_buf_alloc_node()
89 int mlx5_buf_alloc(struct mlx5_core_dev *dev, int size, struct mlx5_buf *buf) in mlx5_buf_alloc()
95 void mlx5_buf_free(struct mlx5_core_dev *dev, struct mlx5_buf *buf) in mlx5_buf_free()
102 static struct mlx5_db_pgdir *mlx5_alloc_db_pgdir(struct mlx5_core_dev *dev, in mlx5_alloc_db_pgdir()
147 int mlx5_db_alloc_node(struct mlx5_core_dev *dev, struct mlx5_db *db, int node) in mlx5_db_alloc_node()
176 int mlx5_db_alloc(struct mlx5_core_dev *dev, struct mlx5_db *db) in mlx5_db_alloc()
182 void mlx5_db_free(struct mlx5_core_dev *dev, struct mlx5_db *db) in mlx5_db_free()
Dcq.c42 void mlx5_cq_completion(struct mlx5_core_dev *dev, u32 cqn) in mlx5_cq_completion()
66 void mlx5_cq_event(struct mlx5_core_dev *dev, u32 cqn, int event_type) in mlx5_cq_event()
91 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_create_cq()
138 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq) in mlx5_core_destroy_cq()
180 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_query_cq()
203 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, in mlx5_core_modify_cq()
222 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev, in mlx5_core_modify_cq_moderation()
240 int mlx5_init_cq_table(struct mlx5_core_dev *dev) in mlx5_init_cq_table()
253 void mlx5_cleanup_cq_table(struct mlx5_core_dev *dev) in mlx5_cleanup_cq_table()
Dfw.c38 static int mlx5_cmd_query_adapter(struct mlx5_core_dev *dev, u32 *out, in mlx5_cmd_query_adapter()
50 int mlx5_query_board_id(struct mlx5_core_dev *dev) in mlx5_query_board_id()
75 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id) in mlx5_core_query_vendor_id()
97 int mlx5_query_hca_caps(struct mlx5_core_dev *dev) in mlx5_query_hca_caps()
166 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev) in mlx5_cmd_init_hca()
185 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca()
Dqp.c42 static struct mlx5_core_rsc_common *mlx5_get_rsc(struct mlx5_core_dev *dev, in mlx5_get_rsc()
70 void mlx5_rsc_event(struct mlx5_core_dev *dev, u32 rsn, int event_type) in mlx5_rsc_event()
92 void mlx5_eq_pagefault(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) in mlx5_eq_pagefault()
180 int mlx5_core_create_qp(struct mlx5_core_dev *dev, in mlx5_core_create_qp()
248 int mlx5_core_destroy_qp(struct mlx5_core_dev *dev, in mlx5_core_destroy_qp()
282 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, enum mlx5_qp_state cur_state, in mlx5_core_qp_modify()
344 void mlx5_init_qp_table(struct mlx5_core_dev *dev) in mlx5_init_qp_table()
354 void mlx5_cleanup_qp_table(struct mlx5_core_dev *dev) in mlx5_cleanup_qp_table()
359 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp, in mlx5_core_qp_query()
380 int mlx5_core_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn) in mlx5_core_xrcd_alloc()
[all …]
Dmr.c39 void mlx5_init_mr_table(struct mlx5_core_dev *dev) in mlx5_init_mr_table()
48 void mlx5_cleanup_mr_table(struct mlx5_core_dev *dev) in mlx5_cleanup_mr_table()
52 int mlx5_core_create_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, in mlx5_core_create_mkey()
108 int mlx5_core_destroy_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr) in mlx5_core_destroy_mkey()
142 int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, in mlx5_core_query_mkey()
164 int mlx5_core_dump_fill_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, in mlx5_core_dump_fill_mkey()
188 int mlx5_core_create_psv(struct mlx5_core_dev *dev, u32 pdn, in mlx5_core_create_psv()
222 int mlx5_core_destroy_psv(struct mlx5_core_dev *dev, int psv_num) in mlx5_core_destroy_psv()
Dcmd.c262 static int mlx5_internal_err_ret_value(struct mlx5_core_dev *dev, u16 op, in mlx5_internal_err_ret_value()
567 static void dump_command(struct mlx5_core_dev *dev, in dump_command()
623 struct mlx5_core_dev *dev = container_of(cmd, struct mlx5_core_dev, cmd); in cmd_work_handler()
715 static int wait_func(struct mlx5_core_dev *dev, struct mlx5_cmd_work_ent *ent) in wait_func()
755 static int mlx5_cmd_invoke(struct mlx5_core_dev *dev, struct mlx5_cmd_msg *in, in mlx5_cmd_invoke()
819 struct mlx5_core_dev *dev = filp->private_data; in dbg_write()
912 static struct mlx5_cmd_mailbox *alloc_cmd_box(struct mlx5_core_dev *dev, in alloc_cmd_box()
934 static void free_cmd_box(struct mlx5_core_dev *dev, in free_cmd_box()
941 static struct mlx5_cmd_msg *mlx5_alloc_cmd_msg(struct mlx5_core_dev *dev, in mlx5_alloc_cmd_msg()
988 static void mlx5_free_cmd_msg(struct mlx5_core_dev *dev, in mlx5_free_cmd_msg()
[all …]
Deq.c84 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) in mlx5_cmd_destroy_eq()
197 static int mlx5_eq_int(struct mlx5_core_dev *dev, struct mlx5_eq *eq) in mlx5_eq_int()
320 struct mlx5_core_dev *dev = eq->dev; in mlx5_msix_handler()
339 int mlx5_create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u8 vecidx, in mlx5_create_map_eq()
419 int mlx5_destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) in mlx5_destroy_unmap_eq()
436 int mlx5_eq_init(struct mlx5_core_dev *dev) in mlx5_eq_init()
448 void mlx5_eq_cleanup(struct mlx5_core_dev *dev) in mlx5_eq_cleanup()
453 int mlx5_start_eqs(struct mlx5_core_dev *dev) in mlx5_start_eqs()
501 int mlx5_stop_eqs(struct mlx5_core_dev *dev) in mlx5_stop_eqs()
520 int mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_core_eq_query()
Dwq.h45 struct mlx5_core_dev *mdev;
77 int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param,
82 int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param,
87 int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param,
Duar.c68 int mlx5_cmd_alloc_uar(struct mlx5_core_dev *dev, u32 *uarn) in mlx5_cmd_alloc_uar()
93 int mlx5_cmd_free_uar(struct mlx5_core_dev *dev, u32 uarn) in mlx5_cmd_free_uar()
125 int mlx5_alloc_uuars(struct mlx5_core_dev *dev, struct mlx5_uuar_info *uuari) in mlx5_alloc_uuars()
212 int mlx5_free_uuars(struct mlx5_core_dev *dev, struct mlx5_uuar_info *uuari) in mlx5_free_uuars()
229 int mlx5_alloc_map_uar(struct mlx5_core_dev *mdev, struct mlx5_uar *uar) in mlx5_alloc_map_uar()
263 void mlx5_unmap_free_uar(struct mlx5_core_dev *mdev, struct mlx5_uar *uar) in mlx5_unmap_free_uar()
Dvport.c39 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod) in mlx5_query_vport_state()
60 void mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev, u8 *addr) in mlx5_query_nic_vport_mac_address()
88 int mlx5_query_hca_vport_gid(struct mlx5_core_dev *dev, u8 other_vport, in mlx5_query_hca_vport_gid()
158 int mlx5_query_hca_vport_pkey(struct mlx5_core_dev *dev, u8 other_vport, in mlx5_query_hca_vport_pkey()
227 int mlx5_query_hca_vport_context(struct mlx5_core_dev *dev, in mlx5_query_hca_vport_context()
309 int mlx5_query_hca_vport_system_image_guid(struct mlx5_core_dev *dev, in mlx5_query_hca_vport_system_image_guid()
328 int mlx5_query_hca_vport_node_guid(struct mlx5_core_dev *dev, in mlx5_query_hca_vport_node_guid()
Den_main.c62 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier()
87 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_pport_counters()
128 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_stats()
283 static void mlx5e_async_event(struct mlx5_core_dev *mdev, void *vpriv, in mlx5e_async_event()
314 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_rq()
374 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_enable_rq()
414 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_modify_rq()
538 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_create_sq()
602 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_enable_sq()
647 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_modify_sq()
[all …]
Dpd.c61 int mlx5_core_alloc_pd(struct mlx5_core_dev *dev, u32 *pdn) in mlx5_core_alloc_pd()
82 int mlx5_core_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn) in mlx5_core_dealloc_pd()
Dwq.c67 int mlx5_wq_cyc_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_cyc_create()
102 int mlx5_cqwq_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_cqwq_create()
138 int mlx5_wq_ll_create(struct mlx5_core_dev *mdev, struct mlx5_wq_param *param, in mlx5_wq_ll_create()
Dmcg.c64 int mlx5_core_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_attach_mcg()
86 int mlx5_core_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, u32 qpn) in mlx5_core_detach_mcg()
Den_ethtool.c39 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_drvinfo()
414 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_set_coalesce()
559 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_settings()
626 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_set_settings()
788 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_set_tunable()
826 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_get_pauseparam()
841 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_set_pauseparam()
Dmad.c39 int mlx5_core_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb, in mlx5_core_mad_ifc()
Den.h509 struct mlx5_core_dev *mdev;
626 static inline int mlx5e_get_max_num_channels(struct mlx5_core_dev *mdev) in mlx5e_get_max_num_channels()
633 u16 mlx5e_get_max_inline_cap(struct mlx5_core_dev *mdev);
Dflow_table.c45 struct mlx5_core_dev *dev;
345 void *mlx5_create_flow_table(struct mlx5_core_dev *dev, u8 level, u8 table_type, in mlx5_create_flow_table()
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dmain.c108 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_query_system_image_guid()
132 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_query_max_pkeys()
211 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_query_device()
406 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_query_hca_port()
492 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_query_gid()
511 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_query_pkey()
945 static void mlx5_ib_event(struct mlx5_core_dev *dev, void *context, in mlx5_ib_event()
1325 static void *mlx5_ib_add(struct mlx5_core_dev *mdev) in mlx5_ib_add()
1493 static void mlx5_ib_remove(struct mlx5_core_dev *mdev, void *context) in mlx5_ib_remove()
Dmad.c358 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_query_mad_ifc_port()
Dmlx5_ib.h412 struct mlx5_core_dev *mdev;
Dcq.c583 struct mlx5_core_dev *mdev = to_mdev(ibcq->device)->mdev; in mlx5_ib_arm_cq()
Dmr.c638 struct mlx5_core_dev *mdev = dev->mdev; in mlx5_ib_get_dma_mr()
Dqp.c861 struct mlx5_core_dev *mdev = dev->mdev; in create_qp_common()
2997 struct mlx5_core_dev *dev = ibdev->mdev; in to_ib_ah_attr()