Home
last modified time | relevance | path

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

12345678910

/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h100 static inline void mlx5_printk(struct mlx5_core_dev *dev, int level, const char *format, ...) in mlx5_printk()
124 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev()
147 static inline int mlx5_flexible_inlen(struct mlx5_core_dev *dev, size_t fixed, in mlx5_flexible_inlen()
177 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
178 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type,
180 int mlx5_query_hca_caps(struct mlx5_core_dev *dev);
181 int mlx5_query_board_id(struct mlx5_core_dev *dev);
182 int mlx5_query_module_num(struct mlx5_core_dev *dev, int *module_num);
183 int mlx5_cmd_init(struct mlx5_core_dev *dev);
184 void mlx5_cmd_cleanup(struct mlx5_core_dev *dev);
[all …]
Dmlx5_irq.h14 int mlx5_irq_table_init(struct mlx5_core_dev *dev);
15 void mlx5_irq_table_cleanup(struct mlx5_core_dev *dev);
16 int mlx5_irq_table_create(struct mlx5_core_dev *dev);
17 void mlx5_irq_table_destroy(struct mlx5_core_dev *dev);
18 void mlx5_irq_table_free_irqs(struct mlx5_core_dev *dev);
21 struct mlx5_irq_table *mlx5_irq_table_get(struct mlx5_core_dev *dev);
23 int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int devfn,
25 int mlx5_get_default_msix_vec_count(struct mlx5_core_dev *dev, int num_vfs);
27 struct mlx5_irq *mlx5_ctrl_irq_request(struct mlx5_core_dev *dev);
29 struct mlx5_irq *mlx5_irq_request(struct mlx5_core_dev *dev, u16 vecidx,
[all …]
Ddev.c45 static bool is_eth_rep_supported(struct mlx5_core_dev *dev) in is_eth_rep_supported()
59 bool mlx5_eth_supported(struct mlx5_core_dev *dev) in mlx5_eth_supported()
111 bool mlx5_vnet_supported(struct mlx5_core_dev *dev) in mlx5_vnet_supported()
133 static bool is_vnet_enabled(struct mlx5_core_dev *dev) in is_vnet_enabled()
144 static bool is_ib_rep_supported(struct mlx5_core_dev *dev) in is_ib_rep_supported()
161 static bool is_mp_supported(struct mlx5_core_dev *dev) in is_mp_supported()
181 bool mlx5_rdma_supported(struct mlx5_core_dev *dev) in mlx5_rdma_supported()
198 static bool is_ib_enabled(struct mlx5_core_dev *dev) in is_ib_enabled()
222 bool (*is_supported)(struct mlx5_core_dev *dev);
223 bool (*is_enabled)(struct mlx5_core_dev *dev);
[all …]
Dfw_reset.h9 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type);
10 int mlx5_fw_reset_set_reset_sync(struct mlx5_core_dev *dev, u8 reset_type_sel,
12 int mlx5_fw_reset_set_live_patch(struct mlx5_core_dev *dev);
14 int mlx5_fw_reset_wait_reset_done(struct mlx5_core_dev *dev);
15 int mlx5_fw_reset_verify_fw_complete(struct mlx5_core_dev *dev,
17 void mlx5_fw_reset_events_start(struct mlx5_core_dev *dev);
18 void mlx5_fw_reset_events_stop(struct mlx5_core_dev *dev);
19 void mlx5_drain_fw_reset(struct mlx5_core_dev *dev);
20 int mlx5_fw_reset_init(struct mlx5_core_dev *dev);
21 void mlx5_fw_reset_cleanup(struct mlx5_core_dev *dev);
Dfw.c70 int mlx5_query_board_id(struct mlx5_core_dev *dev) in mlx5_query_board_id()
97 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id) in mlx5_core_query_vendor_id()
121 static int mlx5_get_pcam_reg(struct mlx5_core_dev *dev) in mlx5_get_pcam_reg()
128 static int mlx5_get_mcam_access_reg_group(struct mlx5_core_dev *dev, in mlx5_get_mcam_access_reg_group()
135 static int mlx5_get_qcam_reg(struct mlx5_core_dev *dev) in mlx5_get_qcam_reg()
142 int mlx5_query_hca_caps(struct mlx5_core_dev *dev) in mlx5_query_hca_caps()
286 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, uint32_t *sw_owner_id) in mlx5_cmd_init_hca()
306 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca()
314 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_force_teardown_hca()
342 int mlx5_cmd_fast_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_fast_teardown_hca()
[all …]
Dfw_reset.c19 struct mlx5_core_dev *dev;
44 static u8 mlx5_get_fw_rst_state(struct mlx5_core_dev *dev) in mlx5_get_fw_rst_state()
49 static void mlx5_set_fw_rst_ack(struct mlx5_core_dev *dev) in mlx5_set_fw_rst_ack()
57 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_fw_reset_enable_remote_dev_reset_set()
72 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_fw_reset_enable_remote_dev_reset_get()
82 static int mlx5_reg_mfrl_set(struct mlx5_core_dev *dev, u8 reset_level, in mlx5_reg_mfrl_set()
96 static int mlx5_reg_mfrl_query(struct mlx5_core_dev *dev, u8 *reset_level, in mlx5_reg_mfrl_query()
117 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query()
122 static int mlx5_fw_reset_get_reset_state_err(struct mlx5_core_dev *dev, in mlx5_fw_reset_get_reset_state_err()
154 int mlx5_fw_reset_set_reset_sync(struct mlx5_core_dev *dev, u8 reset_type_sel, in mlx5_fw_reset_set_reset_sync()
[all …]
Dport.c37 int mlx5_access_reg(struct mlx5_core_dev *dev, void *data_in, int size_in, in mlx5_access_reg()
77 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg()
86 int mlx5_query_pcam_reg(struct mlx5_core_dev *dev, u32 *pcam, u8 feature_group, in mlx5_query_pcam_reg()
98 int mlx5_query_mcam_reg(struct mlx5_core_dev *dev, u32 *mcam, u8 feature_group, in mlx5_query_mcam_reg()
110 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg()
132 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps) in mlx5_set_port_caps()
146 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys, in mlx5_query_port_ptys()
158 int mlx5_set_port_beacon(struct mlx5_core_dev *dev, u16 beacon_duration) in mlx5_set_port_beacon()
169 int mlx5_query_ib_port_oper(struct mlx5_core_dev *dev, u16 *link_width_oper, in mlx5_query_ib_port_oper()
188 void mlx5_toggle_port_link(struct mlx5_core_dev *dev) in mlx5_toggle_port_link()
[all …]
Decpf.h16 bool mlx5_read_embedded_cpu(struct mlx5_core_dev *dev);
17 int mlx5_ec_init(struct mlx5_core_dev *dev);
18 void mlx5_ec_cleanup(struct mlx5_core_dev *dev);
20 int mlx5_cmd_host_pf_enable_hca(struct mlx5_core_dev *dev);
21 int mlx5_cmd_host_pf_disable_hca(struct mlx5_core_dev *dev);
26 mlx5_read_embedded_cpu(struct mlx5_core_dev *dev) { return false; } in mlx5_read_embedded_cpu()
27 static inline int mlx5_ec_init(struct mlx5_core_dev *dev) { return 0; } in mlx5_ec_init()
28 static inline void mlx5_ec_cleanup(struct mlx5_core_dev *dev) {} in mlx5_ec_cleanup()
Deswitch.h201 struct mlx5_core_dev *dev;
337 struct mlx5_core_dev *dev;
405 int mlx5_eswitch_init(struct mlx5_core_dev *dev);
442 int mlx5_eswitch_modify_esw_vport_context(struct mlx5_core_dev *dev, u16 vport,
515 struct mlx5_core_dev *in_mdev;
516 struct mlx5_core_dev *counter_dev;
532 struct mlx5_core_dev *mdev;
587 static inline bool mlx5_eswitch_vlan_actions_supported(struct mlx5_core_dev *dev, in mlx5_eswitch_vlan_actions_supported()
600 bool mlx5_esw_multipath_prereq(struct mlx5_core_dev *dev0,
601 struct mlx5_core_dev *dev1);
[all …]
Deq.c84 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) in mlx5_cmd_destroy_eq()
206 struct mlx5_core_dev *dev; in mlx5_eq_async_int()
243 void mlx5_cmd_eq_recover(struct mlx5_core_dev *dev) in mlx5_cmd_eq_recover()
265 create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in create_map_eq()
364 int mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_eq_enable()
385 void mlx5_eq_disable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_eq_disable()
392 static int destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) in destroy_unmap_eq()
439 int mlx5_eq_table_init(struct mlx5_core_dev *dev) in mlx5_eq_table_init()
466 void mlx5_eq_table_cleanup(struct mlx5_core_dev *dev) in mlx5_eq_table_cleanup()
478 static int create_async_eq(struct mlx5_core_dev *dev, in create_async_eq()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.h59 u8 mlx5e_mpwrq_page_shift(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk);
61 mlx5e_mpwrq_umr_mode(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk);
63 u8 mlx5e_mpwrq_log_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift,
65 u8 mlx5e_mpwrq_pages_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift,
67 u16 mlx5e_mpwrq_umr_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift,
69 u8 mlx5e_mpwrq_umr_wqebbs(struct mlx5_core_dev *mdev, u8 page_shift,
71 u8 mlx5e_mpwrq_mtts_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift,
73 u32 mlx5e_mpwrq_max_num_entries(struct mlx5_core_dev *mdev,
75 u8 mlx5e_mpwrq_max_log_rq_pkts(struct mlx5_core_dev *mdev, u8 page_shift,
85 bool slow_pci_heuristic(struct mlx5_core_dev *mdev);
[all …]
Dport.h39 void mlx5_port_query_eth_autoneg(struct mlx5_core_dev *dev, u8 *an_status,
41 int mlx5_port_set_eth_ptys(struct mlx5_core_dev *dev, bool an_disable,
43 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed);
44 int mlx5e_port_query_pbmc(struct mlx5_core_dev *mdev, void *out);
45 int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in);
46 int mlx5e_port_query_sbpr(struct mlx5_core_dev *mdev, u32 desc, u8 dir,
48 int mlx5e_port_set_sbpr(struct mlx5_core_dev *mdev, u32 desc, u8 dir,
50 int mlx5e_port_set_sbcm(struct mlx5_core_dev *mdev, u32 desc, u8 pg_buff_idx,
52 int mlx5e_port_query_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer);
53 int mlx5e_port_set_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer);
[all …]
Dparams.c12 static u8 mlx5e_mpwrq_min_page_shift(struct mlx5_core_dev *mdev) in mlx5e_mpwrq_min_page_shift()
19 u8 mlx5e_mpwrq_page_shift(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk) in mlx5e_mpwrq_page_shift()
32 mlx5e_mpwrq_umr_mode(struct mlx5_core_dev *mdev, struct mlx5e_xsk_param *xsk) in mlx5e_mpwrq_umr_mode()
101 u8 mlx5e_mpwrq_log_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_log_wqe_sz()
119 u8 mlx5e_mpwrq_pages_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_pages_per_wqe()
142 u16 mlx5e_mpwrq_umr_wqe_sz(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_umr_wqe_sz()
157 u8 mlx5e_mpwrq_umr_wqebbs(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_umr_wqebbs()
164 u8 mlx5e_mpwrq_mtts_per_wqe(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_mtts_per_wqe()
178 u32 mlx5e_mpwrq_max_num_entries(struct mlx5_core_dev *mdev, in mlx5e_mpwrq_max_num_entries()
201 static u8 mlx5e_mpwrq_max_log_rq_size(struct mlx5_core_dev *mdev, u8 page_shift, in mlx5e_mpwrq_max_log_rq_size()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dvhca_event.h15 static inline bool mlx5_vhca_event_supported(const struct mlx5_core_dev *dev) in mlx5_vhca_event_supported()
20 void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap);
21 int mlx5_vhca_event_init(struct mlx5_core_dev *dev);
22 void mlx5_vhca_event_cleanup(struct mlx5_core_dev *dev);
23 void mlx5_vhca_event_start(struct mlx5_core_dev *dev);
24 void mlx5_vhca_event_stop(struct mlx5_core_dev *dev);
25 int mlx5_vhca_event_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb);
26 void mlx5_vhca_event_notifier_unregister(struct mlx5_core_dev *dev, struct notifier_block *nb);
27 int mlx5_modify_vhca_sw_id(struct mlx5_core_dev *dev, u16 function_id, u32 sw_fn_id);
28 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id);
[all …]
Dsf.h12 int mlx5_sf_hw_table_init(struct mlx5_core_dev *dev);
13 void mlx5_sf_hw_table_cleanup(struct mlx5_core_dev *dev);
15 int mlx5_sf_hw_table_create(struct mlx5_core_dev *dev);
16 void mlx5_sf_hw_table_destroy(struct mlx5_core_dev *dev);
18 int mlx5_sf_table_init(struct mlx5_core_dev *dev);
19 void mlx5_sf_table_cleanup(struct mlx5_core_dev *dev);
37 static inline int mlx5_sf_hw_table_init(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_init()
42 static inline void mlx5_sf_hw_table_cleanup(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_cleanup()
46 static inline int mlx5_sf_hw_table_create(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_create()
51 static inline void mlx5_sf_hw_table_destroy(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_destroy()
[all …]
Dpriv.h9 int mlx5_cmd_alloc_sf(struct mlx5_core_dev *dev, u16 function_id);
10 int mlx5_cmd_dealloc_sf(struct mlx5_core_dev *dev, u16 function_id);
12 int mlx5_cmd_sf_enable_hca(struct mlx5_core_dev *dev, u16 func_id);
13 int mlx5_cmd_sf_disable_hca(struct mlx5_core_dev *dev, u16 func_id);
15 u16 mlx5_sf_sw_to_hw_id(struct mlx5_core_dev *dev, u32 controller, u16 sw_id);
17 int mlx5_sf_hw_table_sf_alloc(struct mlx5_core_dev *dev, u32 controller, u32 usr_sfnum);
18 void mlx5_sf_hw_table_sf_free(struct mlx5_core_dev *dev, u32 controller, u16 id);
19 void mlx5_sf_hw_table_sf_deferred_free(struct mlx5_core_dev *dev, u32 controller, u16 id);
20 bool mlx5_sf_hw_table_supported(const struct mlx5_core_dev *dev);
Dvhca_event.c13 struct mlx5_core_dev *dev;
24 int mlx5_cmd_query_vhca_state(struct mlx5_core_dev *dev, u16 function_id, u32 *out, u32 outlen) in mlx5_cmd_query_vhca_state()
35 static int mlx5_cmd_modify_vhca_state(struct mlx5_core_dev *dev, u16 function_id, in mlx5_cmd_modify_vhca_state()
47 int mlx5_modify_vhca_sw_id(struct mlx5_core_dev *dev, u16 function_id, u32 sw_fn_id) in mlx5_modify_vhca_sw_id()
61 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id) in mlx5_vhca_event_arm()
72 mlx5_vhca_event_notify(struct mlx5_core_dev *dev, struct mlx5_vhca_state_event *event) in mlx5_vhca_event_notify()
96 struct mlx5_core_dev *dev = notifier->dev; in mlx5_vhca_state_work_handler()
120 void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap) in mlx5_vhca_state_cap_handle()
132 int mlx5_vhca_event_init(struct mlx5_core_dev *dev) in mlx5_vhca_event_init()
150 void mlx5_vhca_event_cleanup(struct mlx5_core_dev *dev) in mlx5_vhca_event_cleanup()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h27 struct mlx5_core_dev *dev;
78 int mlx5_eq_table_init(struct mlx5_core_dev *dev);
79 void mlx5_eq_table_cleanup(struct mlx5_core_dev *dev);
80 int mlx5_eq_table_create(struct mlx5_core_dev *dev);
81 void mlx5_eq_table_destroy(struct mlx5_core_dev *dev);
85 struct mlx5_eq_comp *mlx5_eqn2comp_eq(struct mlx5_core_dev *dev, int eqn);
86 struct mlx5_eq *mlx5_get_async_eq(struct mlx5_core_dev *dev);
88 struct cpumask *mlx5_eq_comp_cpumask(struct mlx5_core_dev *dev, int ix);
91 void mlx5_cmd_eq_recover(struct mlx5_core_dev *dev);
92 void mlx5_eq_synchronize_async_irq(struct mlx5_core_dev *dev);
[all …]
Dmlx5.h38 void mlx5_init_reserved_gids(struct mlx5_core_dev *dev);
39 void mlx5_cleanup_reserved_gids(struct mlx5_core_dev *dev);
40 int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count);
41 void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count);
42 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index);
43 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index);
44 int mlx5_crdump_enable(struct mlx5_core_dev *dev);
45 void mlx5_crdump_disable(struct mlx5_core_dev *dev);
46 int mlx5_crdump_collect(struct mlx5_core_dev *dev, u32 *cr_data);
48 static inline struct net *mlx5_core_net(struct mlx5_core_dev *dev) in mlx5_core_net()
[all …]
Dclock.h36 static inline bool mlx5_is_real_time_rq(struct mlx5_core_dev *mdev) in mlx5_is_real_time_rq()
45 static inline bool mlx5_is_real_time_sq(struct mlx5_core_dev *mdev) in mlx5_is_real_time_sq()
57 void mlx5_init_clock(struct mlx5_core_dev *mdev);
58 void mlx5_cleanup_clock(struct mlx5_core_dev *mdev);
60 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
90 static inline void mlx5_init_clock(struct mlx5_core_dev *mdev) {} in mlx5_init_clock()
91 static inline void mlx5_cleanup_clock(struct mlx5_core_dev *mdev) {} in mlx5_cleanup_clock()
92 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
110 static inline cqe_ts_to_ns mlx5_rq_ts_translator(struct mlx5_core_dev *mdev) in mlx5_rq_ts_translator()
116 static inline cqe_ts_to_ns mlx5_sq_ts_translator(struct mlx5_core_dev *mdev) in mlx5_sq_ts_translator()
Dclock.c76 static bool mlx5_real_time_mode(struct mlx5_core_dev *mdev) in mlx5_real_time_mode()
81 static bool mlx5_npps_real_time_supported(struct mlx5_core_dev *mdev) in mlx5_npps_real_time_supported()
88 static bool mlx5_modify_mtutc_allowed(struct mlx5_core_dev *mdev) in mlx5_modify_mtutc_allowed()
121 struct mlx5_core_dev *mdev; in mlx5_ptp_getmaxphase()
123 mdev = container_of(clock, struct mlx5_core_dev, clock); in mlx5_ptp_getmaxphase()
130 static bool mlx5_is_mtutc_time_adj_cap(struct mlx5_core_dev *mdev, s64 delta) in mlx5_is_mtutc_time_adj_cap()
140 static int mlx5_set_mtutc(struct mlx5_core_dev *dev, u32 *mtutc, u32 size) in mlx5_set_mtutc()
151 static u64 mlx5_read_time(struct mlx5_core_dev *dev, in mlx5_read_time()
181 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in read_internal_timer()
187 static void mlx5_update_clock_info_page(struct mlx5_core_dev *mdev) in mlx5_update_clock_info_page()
[all …]
/drivers/infiniband/hw/mlx5/
Dcmd.h41 int mlx5_cmd_query_cong_params(struct mlx5_core_dev *dev, int cong_point,
43 int mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid);
44 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid);
45 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid);
46 int mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid);
47 int mlx5_cmd_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn,
49 void mlx5_cmd_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn,
51 int mlx5_cmd_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid,
53 int mlx5_cmd_detach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid,
55 int mlx5_cmd_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn, u16 uid);
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcmd.h75 int mlx5_fpga_caps(struct mlx5_core_dev *dev);
76 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query);
77 int mlx5_fpga_ctrl_op(struct mlx5_core_dev *dev, u8 op);
78 int mlx5_fpga_access_reg(struct mlx5_core_dev *dev, u8 size, u64 addr,
80 int mlx5_fpga_sbu_caps(struct mlx5_core_dev *dev, void *caps, int size);
82 int mlx5_fpga_create_qp(struct mlx5_core_dev *dev, void *fpga_qpc,
84 int mlx5_fpga_modify_qp(struct mlx5_core_dev *dev, u32 fpga_qpn,
86 int mlx5_fpga_query_qp(struct mlx5_core_dev *dev, u32 fpga_qpn, void *fpga_qpc);
87 int mlx5_fpga_query_qp_counters(struct mlx5_core_dev *dev, u32 fpga_qpn,
89 int mlx5_fpga_destroy_qp(struct mlx5_core_dev *dev, u32 fpga_qpn);
Dcore.h46 struct mlx5_core_dev *mdev;
84 int mlx5_fpga_init(struct mlx5_core_dev *mdev);
85 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev);
86 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev);
87 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev);
91 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init()
96 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup()
100 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start()
105 static inline void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop()
/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.h15 struct mlx5_core_dev *parent_mdev;
16 struct mlx5_core_dev *mdev;
22 void mlx5_sf_dev_table_create(struct mlx5_core_dev *dev);
23 void mlx5_sf_dev_table_destroy(struct mlx5_core_dev *dev);
28 bool mlx5_sf_dev_allocated(const struct mlx5_core_dev *dev);
32 static inline void mlx5_sf_dev_table_create(struct mlx5_core_dev *dev) in mlx5_sf_dev_table_create()
36 static inline void mlx5_sf_dev_table_destroy(struct mlx5_core_dev *dev) in mlx5_sf_dev_table_destroy()
49 static inline bool mlx5_sf_dev_allocated(const struct mlx5_core_dev *dev) in mlx5_sf_dev_allocated()

12345678910