| /linux/include/linux/mlx5/ |
| H A D | driver.h | 221 struct mlx5_core_dev *dev; 418 struct mlx5_core_dev *mdev; 538 struct mlx5_core_dev *mdev; 621 struct mlx5_core_dev *parent_mdev; 738 struct mlx5_core_dev { struct 897 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj() 902 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min() 907 static inline u16 fw_rev_sub(struct mlx5_core_dev *dev) in fw_rev_sub() 966 void mlx5_cmd_use_events(struct mlx5_core_dev *dev); 967 void mlx5_cmd_use_polling(struct mlx5_core_dev *dev); [all …]
|
| H A D | transobj.h | 38 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 *dev, u32 sqn, u32 *out); [all …]
|
| H A D | eswitch.h | 39 int (*load)(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep); 80 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev); 153 u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev); 154 u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev); 155 struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw); 159 static inline u8 mlx5_eswitch_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_mode() 165 mlx5_eswitch_get_encap_mode(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_encap_mode() 194 static inline u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev) in mlx5_eswitch_get_total_vports() 199 static inline struct mlx5_core_dev *mlx5_eswitch_get_core_dev(struct mlx5_eswitch *esw) in mlx5_eswitch_get_core_dev() 206 static inline bool is_mdev_legacy_mode(struct mlx5_core_dev *dev) in is_mdev_legacy_mode() [all …]
|
| H A D | fs.h | 215 mlx5_get_fdb_sub_ns(struct mlx5_core_dev *dev, int n); 217 mlx5_get_flow_namespace(struct mlx5_core_dev *dev, 220 mlx5_get_flow_vport_namespace(struct mlx5_core_dev *dev, 327 struct mlx5_fc *mlx5_fc_create(struct mlx5_core_dev *dev, bool aging); 329 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter); 339 int mlx5_fc_query(struct mlx5_core_dev *dev, struct mlx5_fc *counter, 343 int mlx5_fs_add_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn); 344 int mlx5_fs_remove_rx_underlay_qpn(struct mlx5_core_dev *dev, u32 underlay_qpn); 346 struct mlx5_modify_hdr *mlx5_modify_header_alloc(struct mlx5_core_dev *dev, 349 void mlx5_modify_header_dealloc(struct mlx5_core_dev *dev, [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | mlx5_irq.h | 15 int mlx5_irq_table_init(struct mlx5_core_dev *dev); 16 void mlx5_irq_table_cleanup(struct mlx5_core_dev *dev); 17 int mlx5_irq_table_create(struct mlx5_core_dev *dev); 18 void mlx5_irq_table_destroy(struct mlx5_core_dev *dev); 19 void mlx5_irq_table_free_irqs(struct mlx5_core_dev *dev); 21 mlx5_irq_table_get_comp_irq_pool(struct mlx5_core_dev *dev); 24 struct mlx5_irq_table *mlx5_irq_table_get(struct mlx5_core_dev *dev); 26 int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int devfn, 28 int mlx5_get_default_msix_vec_count(struct mlx5_core_dev *dev, int num_vfs); 30 struct mlx5_irq *mlx5_ctrl_irq_request(struct mlx5_core_dev *dev); [all …]
|
| H A D | fw_reset.h | 9 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); 13 bool mlx5_fw_reset_in_progress(struct mlx5_core_dev *dev); 15 int mlx5_fw_reset_wait_reset_done(struct mlx5_core_dev *dev); 16 void mlx5_sync_reset_unload_flow(struct mlx5_core_dev *dev, bool locked); 17 int mlx5_fw_reset_verify_fw_complete(struct mlx5_core_dev *dev, 19 void mlx5_fw_reset_events_start(struct mlx5_core_dev *dev); 20 void mlx5_fw_reset_events_stop(struct mlx5_core_dev *dev); 21 void mlx5_drain_fw_reset(struct mlx5_core_dev *dev); [all …]
|
| H A D | ecpf.h | 16 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 D | port.c | 37 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 *dev) in mlx5_toggle_port_link() [all …]
|
| H A D | dev.c | 43 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 *dev) in is_fwctl_supported() [all …]
|
| H A D | fw_reset.c | 22 struct mlx5_core_dev *dev; 50 static u8 mlx5_get_fw_rst_state(struct mlx5_core_dev *dev) in mlx5_get_fw_rst_state() 55 static void mlx5_set_fw_rst_ack(struct mlx5_core_dev *dev) in mlx5_set_fw_rst_ack() 64 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_fw_reset_enable_remote_dev_reset_set() 80 struct mlx5_core_dev *dev = devlink_priv(devlink); in mlx5_fw_reset_enable_remote_dev_reset_get() 90 static int mlx5_reg_mfrl_set(struct mlx5_core_dev *dev, u8 reset_level, in mlx5_reg_mfrl_set() 104 static int mlx5_reg_mfrl_query(struct mlx5_core_dev *dev, u8 *reset_level, in mlx5_reg_mfrl_query() 127 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query() 132 bool mlx5_fw_reset_in_progress(struct mlx5_core_dev *dev) in mlx5_fw_reset_in_progress() 142 static int mlx5_fw_reset_get_reset_method(struct mlx5_core_dev *dev, in mlx5_fw_reset_get_reset_method() [all …]
|
| H A D | eq.c | 82 static int mlx5_cmd_destroy_eq(struct mlx5_core_dev *dev, u8 eqn) in mlx5_cmd_destroy_eq() 198 struct mlx5_core_dev *dev; in mlx5_eq_async_int() 232 void mlx5_cmd_eq_recover(struct mlx5_core_dev *dev) in mlx5_cmd_eq_recover() 254 create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in create_map_eq() 353 int mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_eq_enable() 374 void mlx5_eq_disable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, in mlx5_eq_disable() 381 static int destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) in destroy_unmap_eq() 428 int mlx5_eq_table_init(struct mlx5_core_dev *dev) in mlx5_eq_table_init() 455 void mlx5_eq_table_cleanup(struct mlx5_core_dev *dev) in mlx5_eq_table_cleanup() 467 static int create_async_eq(struct mlx5_core_dev *dev, in create_async_eq() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | mlx5.h | 38 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_device *mlx5_uplink_netdev_get(struct mlx5_core_dev *mdev) in mlx5_uplink_netdev_get() [all …]
|
| H A D | sd.c | 24 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_dev(struct mlx5_core_dev *primary, int ch_ix) in mlx5_sd_ch_ix_get_dev() 86 static bool ft_create_alias_supported(struct mlx5_core_dev *dev) in ft_create_alias_supported() [all …]
|
| H A D | sd.h | 11 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 D | pci_vsc.h | 16 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,
|
| H A D | mpfs.h | 89 struct mlx5_core_dev; 90 int mlx5_mpfs_init(struct mlx5_core_dev *dev); 91 void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev); 92 int mlx5_mpfs_enable(struct mlx5_core_dev *dev); 93 void mlx5_mpfs_disable(struct mlx5_core_dev *dev); 95 static inline int mlx5_mpfs_init(struct mlx5_core_dev *dev) { return 0; } in mlx5_mpfs_init() 96 static inline void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev) {} in mlx5_mpfs_cleanup() 97 static inline int mlx5_mpfs_enable(struct mlx5_core_dev *dev) { return 0; } in mlx5_mpfs_enable() 98 static inline void mlx5_mpfs_disable(struct mlx5_core_dev *dev) {} in mlx5_mpfs_disable()
|
| H A D | clock.c | 83 struct mlx5_core_dev *mdev; 91 struct mlx5_core_dev *mdev; 93 struct mlx5_core_dev *event_mdev; 109 static struct mlx5_core_dev *mlx5_clock_mdev_get(struct mlx5_clock *clock) in mlx5_clock_mdev_get() 132 static bool mlx5_real_time_mode(struct mlx5_core_dev *mdev) in mlx5_real_time_mode() 137 static bool mlx5_npps_real_time_supported(struct mlx5_core_dev *mdev) in mlx5_npps_real_time_supported() 144 static bool mlx5_modify_mtutc_allowed(struct mlx5_core_dev *mdev) in mlx5_modify_mtutc_allowed() 149 static int mlx5_clock_identity_get(struct mlx5_core_dev *mdev, in mlx5_clock_identity_get() 190 static s32 mlx5_clock_getmaxphase(struct mlx5_core_dev *mdev) in mlx5_clock_getmaxphase() 200 struct mlx5_core_dev *mdev; in mlx5_ptp_getmaxphase() [all …]
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | cmd.h | 41 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 …]
|
| H A D | ib_rep.c | 11 mlx5_ib_set_vport_rep(struct mlx5_core_dev *dev, in mlx5_ib_set_vport_rep() 29 static void mlx5_ib_register_peer_vport_reps(struct mlx5_core_dev *mdev); 31 static void mlx5_ib_num_ports_update(struct mlx5_core_dev *dev, u32 *num_ports) in mlx5_ib_num_ports_update() 33 struct mlx5_core_dev *peer_dev; in mlx5_ib_num_ports_update() 47 static int mlx5_ib_set_owner_transport(struct mlx5_core_dev *cur_owner, in mlx5_ib_set_owner_transport() 48 struct mlx5_core_dev *new_owner) in mlx5_ib_set_owner_transport() 76 static void mlx5_ib_release_transport(struct mlx5_core_dev *dev) in mlx5_ib_release_transport() 78 struct mlx5_core_dev *peer_dev; in mlx5_ib_release_transport() 87 static int mlx5_ib_take_transport(struct mlx5_core_dev *dev) in mlx5_ib_take_transport() 89 struct mlx5_core_dev *peer_dev; in mlx5_ib_take_transport() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | port.h | 39 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 …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | cmd.h | 245 int mlx5hws_cmd_flow_table_create(struct mlx5_core_dev *mdev, 249 int mlx5hws_cmd_flow_table_modify(struct mlx5_core_dev *mdev, 253 int mlx5hws_cmd_flow_table_query(struct mlx5_core_dev *mdev, 258 int mlx5hws_cmd_flow_table_destroy(struct mlx5_core_dev *mdev, 261 int mlx5hws_cmd_rtc_create(struct mlx5_core_dev *mdev, 265 void mlx5hws_cmd_rtc_destroy(struct mlx5_core_dev *mdev, u32 rtc_id); 267 int mlx5hws_cmd_stc_create(struct mlx5_core_dev *mdev, 271 int mlx5hws_cmd_stc_modify(struct mlx5_core_dev *mdev, 275 void mlx5hws_cmd_stc_destroy(struct mlx5_core_dev *mdev, u32 stc_id); 277 int mlx5hws_cmd_generate_wqe(struct mlx5_core_dev *mdev, [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
| H A D | priv.h | 9 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);
|
| H A D | vhca_event.c | 14 struct mlx5_core_dev *dev; 23 struct mlx5_core_dev *dev; 27 int mlx5_cmd_query_vhca_state(struct mlx5_core_dev *dev, u16 function_id, u32 *out, u32 outlen) in mlx5_cmd_query_vhca_state() 38 static int mlx5_cmd_modify_vhca_state(struct mlx5_core_dev *dev, u16 function_id, in mlx5_cmd_modify_vhca_state() 50 int mlx5_modify_vhca_sw_id(struct mlx5_core_dev *dev, u16 function_id, u32 sw_fn_id) in mlx5_modify_vhca_sw_id() 64 int mlx5_vhca_event_arm(struct mlx5_core_dev *dev, u16 function_id) in mlx5_vhca_event_arm() 75 mlx5_vhca_event_notify(struct mlx5_core_dev *dev, struct mlx5_vhca_state_event *event) in mlx5_vhca_event_notify() 103 void mlx5_vhca_events_work_enqueue(struct mlx5_core_dev *dev, int idx, struct work_struct *work) in mlx5_vhca_events_work_enqueue() 111 struct mlx5_core_dev *dev = mlx5_nb_cof(nb, struct mlx5_core_dev, in mlx5_vhca_state_change_notifier() 128 void mlx5_vhca_state_cap_handle(struct mlx5_core_dev *dev, void *set_hca_cap) in mlx5_vhca_state_cap_handle() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| H A D | cmd.h | 75 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);
|
| H A D | core.h | 46 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()
|