Home
last modified time | relevance | path

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

1234567891011

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmlx5_core.h137 static inline void mlx5_printk(struct mlx5_core_dev *dev, int level, const char *format, ...) in mlx5_printk()
161 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev()
186 static inline int mlx5_flexible_inlen(struct mlx5_core_dev *dev, size_t fixed, in mlx5_flexible_inlen()
216 int mlx5_core_get_caps(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type);
217 int mlx5_core_get_caps_mode(struct mlx5_core_dev *dev, enum mlx5_cap_type cap_type,
219 int mlx5_query_hca_caps(struct mlx5_core_dev *dev);
220 int mlx5_query_board_id(struct mlx5_core_dev *dev);
221 int mlx5_query_module_num(struct mlx5_core_dev *dev, int *module_num);
222 int mlx5_cmd_init(struct mlx5_core_dev *dev);
223 void mlx5_cmd_cleanup(struct mlx5_core_dev *de
[all...]
H A 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 *de
[all...]
H A 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()
H A Ddev.c43 static bool is_eth_rep_supported(struct mlx5_core_dev *dev) in is_eth_rep_supported()
57 bool mlx5_eth_supported(struct mlx5_core_dev *dev) in mlx5_eth_supported()
109 bool mlx5_vnet_supported(struct mlx5_core_dev *dev) in mlx5_vnet_supported()
131 static bool is_vnet_enabled(struct mlx5_core_dev *dev) in is_vnet_enabled()
142 static bool is_ib_rep_supported(struct mlx5_core_dev *dev) in is_ib_rep_supported()
159 static bool is_mp_supported(struct mlx5_core_dev *dev) in is_mp_supported()
179 bool mlx5_rdma_supported(struct mlx5_core_dev *dev) in mlx5_rdma_supported()
196 static bool is_ib_enabled(struct mlx5_core_dev *dev) in is_ib_enabled()
207 static bool is_dpll_supported(struct mlx5_core_dev *dev) in is_dpll_supported()
234 static bool is_fwctl_supported(struct mlx5_core_dev *de
[all...]
H A 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()
300 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, u32 *sw_owner_id) in mlx5_cmd_init_hca()
320 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca()
328 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_force_teardown_hca()
356 int mlx5_cmd_fast_teardown_hca(struct mlx5_core_dev *de
539 struct mlx5_core_dev *mlx5_core_dev; global() member
[all...]
H A Dfw_reset.c19 struct mlx5_core_dev *dev;
46 static u8 mlx5_get_fw_rst_state(struct mlx5_core_dev *dev) in mlx5_get_fw_rst_state()
51 static void mlx5_set_fw_rst_ack(struct mlx5_core_dev *dev) in mlx5_set_fw_rst_ack()
60 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_fw_reset_enable_remote_dev_reset_set()
75 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_fw_reset_enable_remote_dev_reset_get()
85 static int mlx5_reg_mfrl_set(struct mlx5_core_dev *dev, u8 reset_level, in mlx5_reg_mfrl_set()
99 static int mlx5_reg_mfrl_query(struct mlx5_core_dev *dev, u8 *reset_level, in mlx5_reg_mfrl_query()
122 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query()
127 static int mlx5_fw_reset_get_reset_method(struct mlx5_core_dev *dev, in mlx5_fw_reset_get_reset_method()
138 static int mlx5_fw_reset_get_reset_state_err(struct mlx5_core_dev *de
[all...]
H A 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()
160 int mlx5_set_port_beacon(struct mlx5_core_dev *dev, u16 beacon_duration) in mlx5_set_port_beacon()
171 int mlx5_query_ib_port_oper(struct mlx5_core_dev *dev, u16 *link_width_oper, in mlx5_query_ib_port_oper()
190 void mlx5_toggle_port_link(struct mlx5_core_dev *de
[all...]
H A Dqos.h18 bool mlx5_qos_is_supported(struct mlx5_core_dev *mdev);
19 int mlx5_qos_max_leaf_nodes(struct mlx5_core_dev *mdev);
21 int mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id,
23 int mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u32 parent_id,
25 int mlx5_qos_create_root_node(struct mlx5_core_dev *mdev, u32 *id);
26 int mlx5_qos_update_node(struct mlx5_core_dev *mdev, u32 bw_share,
28 int mlx5_qos_destroy_node(struct mlx5_core_dev *mdev, u32 id);
/linux/include/linux/mlx5/
H A Dvport.h58 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
59 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
61 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev,
63 int mlx5_query_mac_address(struct mlx5_core_dev *mdev, u8 *addr);
64 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev,
66 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, u8 *min_inline);
67 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev,
69 int mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *dev,
71 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu);
72 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mde
[all...]
H A Ddriver.h219 struct mlx5_core_dev *dev;
416 struct mlx5_core_dev *mdev;
538 struct mlx5_core_dev *mdev;
618 struct mlx5_core_dev *parent_mdev;
729 struct mlx5_core_dev { struct
885 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj()
890 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min()
895 static inline u16 fw_rev_sub(struct mlx5_core_dev *dev) in fw_rev_sub()
954 void mlx5_cmd_use_events(struct mlx5_core_dev *dev);
955 void mlx5_cmd_use_polling(struct mlx5_core_dev *de
730 devicemlx5_core_dev global() argument
731 coredev_typemlx5_core_dev global() argument
732 pdevmlx5_core_dev global() argument
734 pci_status_mutexmlx5_core_dev global() argument
735 pci_statusmlx5_core_dev global() argument
736 rev_idmlx5_core_dev global() argument
737 board_idmlx5_core_dev global() argument
738 cmdmlx5_core_dev global() argument
739 __anonb9c02c070f08mlx5_core_dev global() argument
746 capsmlx5_core_dev global() argument
747 timeoutsmlx5_core_dev global() argument
748 sys_image_guidmlx5_core_dev global() argument
749 iseg_basemlx5_core_dev global() argument
750 isegmlx5_core_dev global() argument
751 bar_addrmlx5_core_dev global() argument
752 statemlx5_core_dev global() argument
754 intf_state_mutexmlx5_core_dev global() argument
755 lock_keymlx5_core_dev global() argument
756 intf_statemlx5_core_dev global() argument
757 privmlx5_core_dev global() argument
758 profilemlx5_core_dev global() argument
759 issimlx5_core_dev global() argument
760 mlx5e_resmlx5_core_dev global() argument
761 dmmlx5_core_dev global() argument
762 stmlx5_core_dev global() argument
763 vxlanmlx5_core_dev global() argument
764 genevemlx5_core_dev global() argument
765 __anonb9c02c071008mlx5_core_dev global() argument
768 rocemlx5_core_dev global() argument
770 fpgamlx5_core_dev global() argument
772 clockmlx5_core_dev global() argument
773 clock_statemlx5_core_dev global() argument
774 clock_infomlx5_core_dev global() argument
775 tracermlx5_core_dev global() argument
776 rsc_dumpmlx5_core_dev global() argument
777 vsc_addrmlx5_core_dev global() argument
778 hv_vhcamlx5_core_dev global() argument
779 hwmonmlx5_core_dev global() argument
780 num_block_tcmlx5_core_dev global() argument
781 num_block_ipsecmlx5_core_dev global() argument
783 macsec_fsmlx5_core_dev global() argument
785 macsec_nhmlx5_core_dev global() argument
787 num_ipsec_offloadsmlx5_core_dev global() argument
788 sdmlx5_core_dev global() argument
789 wc_statemlx5_core_dev global() argument
791 wc_state_lockmlx5_core_dev global() argument
[all...]
H A Dtransobj.h38 int mlx5_core_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn);
39 void mlx5_core_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn);
40 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen,
42 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in);
43 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn);
44 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out);
45 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen,
47 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in);
48 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn);
49 int mlx5_core_query_sq(struct mlx5_core_dev *de
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A 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 *de
[all...]
H A 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 *de
[all...]
H A 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);
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A 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);
90 void mlx5_cmd_eq_recover(struct mlx5_core_dev *dev);
91 void mlx5_eq_synchronize_async_irq(struct mlx5_core_dev *dev);
92 void mlx5_eq_synchronize_cmd_irq(struct mlx5_core_dev *de
[all...]
H A Dsd.c24 struct mlx5_core_dev *secondaries[MLX5_SD_MAX_GROUP_SZ - 1];
28 struct mlx5_core_dev *primary_dev;
34 static int mlx5_sd_get_host_buses(struct mlx5_core_dev *dev) in mlx5_sd_get_host_buses()
44 static struct mlx5_core_dev *mlx5_sd_get_primary(struct mlx5_core_dev *dev) in mlx5_sd_get_primary()
54 struct mlx5_core_dev *
55 mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx) in mlx5_sd_primary_get_peer()
69 int mlx5_sd_ch_ix_get_dev_ix(struct mlx5_core_dev *dev, int ch_ix) in mlx5_sd_ch_ix_get_dev_ix()
74 int mlx5_sd_ch_ix_get_vec_ix(struct mlx5_core_dev *dev, int ch_ix) in mlx5_sd_ch_ix_get_vec_ix()
79 struct mlx5_core_dev *mlx5_sd_ch_ix_get_de
[all...]
H A Dclock.h65 static inline bool mlx5_is_real_time_rq(struct mlx5_core_dev *mdev) in mlx5_is_real_time_rq()
74 static inline bool mlx5_is_real_time_sq(struct mlx5_core_dev *mdev) in mlx5_is_real_time_sq()
86 int mlx5_init_clock(struct mlx5_core_dev *mdev);
87 void mlx5_cleanup_clock(struct mlx5_core_dev *mdev);
88 void mlx5_clock_load(struct mlx5_core_dev *mdev);
89 void mlx5_clock_unload(struct mlx5_core_dev *mdev);
91 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
121 static inline int mlx5_init_clock(struct mlx5_core_dev *mdev) { return 0; } in mlx5_init_clock()
122 static inline void mlx5_cleanup_clock(struct mlx5_core_dev *mdev) {} in mlx5_cleanup_clock()
123 static inline void mlx5_clock_load(struct mlx5_core_dev *mde in mlx5_cleanup_clock()
[all...]
H A Dsd.h11 struct mlx5_core_dev *mlx5_sd_primary_get_peer(struct mlx5_core_dev *primary, int idx);
12 int mlx5_sd_ch_ix_get_dev_ix(struct mlx5_core_dev *dev, int ch_ix);
13 int mlx5_sd_ch_ix_get_vec_ix(struct mlx5_core_dev *dev, int ch_ix);
14 struct mlx5_core_dev *mlx5_sd_ch_ix_get_dev(struct mlx5_core_dev *primary, int ch_ix);
15 struct auxiliary_device *mlx5_sd_get_adev(struct mlx5_core_dev *dev,
19 int mlx5_sd_init(struct mlx5_core_dev *dev);
20 void mlx5_sd_cleanup(struct mlx5_core_dev *dev);
H A Dpci_vsc.h16 void mlx5_pci_vsc_init(struct mlx5_core_dev *dev);
17 int mlx5_vsc_gw_lock(struct mlx5_core_dev *dev);
18 int mlx5_vsc_gw_unlock(struct mlx5_core_dev *dev);
19 int mlx5_vsc_gw_set_space(struct mlx5_core_dev *dev, u16 space,
21 int mlx5_vsc_gw_read_block_fast(struct mlx5_core_dev *dev, u32 *data,
24 static inline bool mlx5_vsc_accessible(struct mlx5_core_dev *dev) in mlx5_vsc_accessible()
29 int mlx5_vsc_sem_set_space(struct mlx5_core_dev *dev, u16 space,
/linux/drivers/infiniband/hw/mlx5/
H A 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 *de
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A 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 *mde
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dcmd.h244 int mlx5hws_cmd_flow_table_create(struct mlx5_core_dev *mdev,
248 int mlx5hws_cmd_flow_table_modify(struct mlx5_core_dev *mdev,
252 int mlx5hws_cmd_flow_table_query(struct mlx5_core_dev *mdev,
257 int mlx5hws_cmd_flow_table_destroy(struct mlx5_core_dev *mdev,
260 int mlx5hws_cmd_rtc_create(struct mlx5_core_dev *mdev,
264 void mlx5hws_cmd_rtc_destroy(struct mlx5_core_dev *mdev, u32 rtc_id);
266 int mlx5hws_cmd_stc_create(struct mlx5_core_dev *mdev,
270 int mlx5hws_cmd_stc_modify(struct mlx5_core_dev *mdev,
274 void mlx5hws_cmd_stc_destroy(struct mlx5_core_dev *mdev, u32 stc_id);
276 int mlx5hws_cmd_generate_wqe(struct mlx5_core_dev *mde
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A 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 *de
[all...]
H A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.h15 struct mlx5_core_dev *parent_mdev;
16 struct mlx5_core_dev *mdev;
28 void mlx5_sf_dev_table_create(struct mlx5_core_dev *dev);
29 void mlx5_sf_dev_table_destroy(struct mlx5_core_dev *dev);
34 bool mlx5_sf_dev_allocated(const struct mlx5_core_dev *dev);
38 static inline void mlx5_sf_dev_table_create(struct mlx5_core_dev *dev) in mlx5_sf_dev_table_create()
42 static inline void mlx5_sf_dev_table_destroy(struct mlx5_core_dev *dev) in mlx5_sf_dev_table_destroy()
55 static inline bool mlx5_sf_dev_allocated(const struct mlx5_core_dev *dev) in mlx5_sf_dev_allocated()

1234567891011