/drivers/net/ethernet/mellanox/mlx5/core/ |
D | mlx5_core.h | 100 static inline struct device *mlx5_core_dma_dev(struct mlx5_core_dev *dev) in mlx5_core_dma_dev() 122 int mlx5_query_hca_caps(struct mlx5_core_dev *dev); 123 int mlx5_query_board_id(struct mlx5_core_dev *dev); 124 int mlx5_cmd_init(struct mlx5_core_dev *dev); 125 void mlx5_cmd_cleanup(struct mlx5_core_dev *dev); 126 void mlx5_cmd_set_state(struct mlx5_core_dev *dev, 128 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, uint32_t *sw_owner_id); 129 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev); 130 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev); 131 int mlx5_cmd_fast_teardown_hca(struct mlx5_core_dev *dev); [all …]
|
D | dev.c | 42 static bool is_eth_rep_supported(struct mlx5_core_dev *dev) in is_eth_rep_supported() 56 bool mlx5_eth_supported(struct mlx5_core_dev *dev) in mlx5_eth_supported() 108 static bool is_eth_enabled(struct mlx5_core_dev *dev) in is_eth_enabled() 119 bool mlx5_vnet_supported(struct mlx5_core_dev *dev) in mlx5_vnet_supported() 141 static bool is_vnet_enabled(struct mlx5_core_dev *dev) in is_vnet_enabled() 152 static bool is_ib_rep_supported(struct mlx5_core_dev *dev) in is_ib_rep_supported() 175 static bool is_mp_supported(struct mlx5_core_dev *dev) in is_mp_supported() 195 bool mlx5_rdma_supported(struct mlx5_core_dev *dev) in mlx5_rdma_supported() 212 static bool is_ib_enabled(struct mlx5_core_dev *dev) in is_ib_enabled() 236 bool (*is_supported)(struct mlx5_core_dev *dev); [all …]
|
D | fw_reset.h | 9 void mlx5_fw_reset_enable_remote_dev_reset_set(struct mlx5_core_dev *dev, bool enable); 10 bool mlx5_fw_reset_enable_remote_dev_reset_get(struct mlx5_core_dev *dev); 11 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type); 12 int mlx5_fw_reset_set_reset_sync(struct mlx5_core_dev *dev, u8 reset_type_sel); 13 int mlx5_fw_reset_set_live_patch(struct mlx5_core_dev *dev); 15 int mlx5_fw_reset_wait_reset_done(struct mlx5_core_dev *dev); 16 void mlx5_fw_reset_events_start(struct mlx5_core_dev *dev); 17 void mlx5_fw_reset_events_stop(struct mlx5_core_dev *dev); 18 int mlx5_fw_reset_init(struct mlx5_core_dev *dev); 19 void mlx5_fw_reset_cleanup(struct mlx5_core_dev *dev);
|
D | fw.c | 71 int mlx5_query_board_id(struct mlx5_core_dev *dev) in mlx5_query_board_id() 98 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id) in mlx5_core_query_vendor_id() 122 static int mlx5_get_pcam_reg(struct mlx5_core_dev *dev) in mlx5_get_pcam_reg() 129 static int mlx5_get_mcam_access_reg_group(struct mlx5_core_dev *dev, in mlx5_get_mcam_access_reg_group() 136 static int mlx5_get_qcam_reg(struct mlx5_core_dev *dev) in mlx5_get_qcam_reg() 143 int mlx5_query_hca_caps(struct mlx5_core_dev *dev) in mlx5_query_hca_caps() 268 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, uint32_t *sw_owner_id) in mlx5_cmd_init_hca() 284 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca() 292 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_force_teardown_hca() 321 int mlx5_cmd_fast_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_fast_teardown_hca() [all …]
|
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); 22 struct mlx5_irq_table *mlx5_irq_table_get(struct mlx5_core_dev *dev); 24 int mlx5_set_msix_vec_count(struct mlx5_core_dev *dev, int devfn, 26 int mlx5_get_default_msix_vec_count(struct mlx5_core_dev *dev, int num_vfs); 28 struct mlx5_irq *mlx5_irq_request(struct mlx5_core_dev *dev, u16 vecidx,
|
D | fw_reset.c | 14 struct mlx5_core_dev *dev; 28 void mlx5_fw_reset_enable_remote_dev_reset_set(struct mlx5_core_dev *dev, bool enable) in mlx5_fw_reset_enable_remote_dev_reset_set() 38 bool mlx5_fw_reset_enable_remote_dev_reset_get(struct mlx5_core_dev *dev) in mlx5_fw_reset_enable_remote_dev_reset_get() 45 static int mlx5_reg_mfrl_set(struct mlx5_core_dev *dev, u8 reset_level, in mlx5_reg_mfrl_set() 59 static int mlx5_reg_mfrl_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_reg_mfrl_query() 77 int mlx5_fw_reset_query(struct mlx5_core_dev *dev, u8 *reset_level, u8 *reset_type) in mlx5_fw_reset_query() 82 int mlx5_fw_reset_set_reset_sync(struct mlx5_core_dev *dev, u8 reset_type_sel) in mlx5_fw_reset_set_reset_sync() 94 int mlx5_fw_reset_set_live_patch(struct mlx5_core_dev *dev) in mlx5_fw_reset_set_live_patch() 99 static void mlx5_fw_reset_complete_reload(struct mlx5_core_dev *dev) in mlx5_fw_reset_complete_reload() 114 static void mlx5_stop_sync_reset_poll(struct mlx5_core_dev *dev) in mlx5_stop_sync_reset_poll() [all …]
|
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()
|
D | port.c | 36 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg() 74 int mlx5_query_pcam_reg(struct mlx5_core_dev *dev, u32 *pcam, u8 feature_group, in mlx5_query_pcam_reg() 86 int mlx5_query_mcam_reg(struct mlx5_core_dev *dev, u32 *mcam, u8 feature_group, in mlx5_query_mcam_reg() 98 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg() 120 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps) in mlx5_set_port_caps() 134 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys, in mlx5_query_port_ptys() 146 int mlx5_set_port_beacon(struct mlx5_core_dev *dev, u16 beacon_duration) in mlx5_set_port_beacon() 157 int mlx5_query_ib_port_oper(struct mlx5_core_dev *dev, u16 *link_width_oper, in mlx5_query_ib_port_oper() 176 void mlx5_toggle_port_link(struct mlx5_core_dev *dev) in mlx5_toggle_port_link() 187 int mlx5_set_port_admin_status(struct mlx5_core_dev *dev, in mlx5_set_port_admin_status() [all …]
|
D | lag.c | 49 static int mlx5_cmd_create_lag(struct mlx5_core_dev *dev, u8 remap_port1, in mlx5_cmd_create_lag() 64 static int mlx5_cmd_modify_lag(struct mlx5_core_dev *dev, u8 remap_port1, in mlx5_cmd_modify_lag() 79 int mlx5_cmd_create_vport_lag(struct mlx5_core_dev *dev) in mlx5_cmd_create_vport_lag() 89 int mlx5_cmd_destroy_vport_lag(struct mlx5_core_dev *dev) in mlx5_cmd_destroy_vport_lag() 125 static struct mlx5_lag *mlx5_lag_dev_alloc(struct mlx5_core_dev *dev) in mlx5_lag_dev_alloc() 205 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_modify_lag() 233 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_create_lag() 234 struct mlx5_core_dev *dev1 = ldev->pf[MLX5_LAG_P2].dev; in mlx5_create_lag() 279 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_activate_lag() 302 struct mlx5_core_dev *dev0 = ldev->pf[MLX5_LAG_P1].dev; in mlx5_deactivate_lag() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/accel/ |
D | tls.h | 41 int mlx5_ktls_create_key(struct mlx5_core_dev *mdev, 44 void mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id); 46 static inline bool mlx5_accel_is_ktls_tx(struct mlx5_core_dev *mdev) in mlx5_accel_is_ktls_tx() 51 static inline bool mlx5_accel_is_ktls_rx(struct mlx5_core_dev *mdev) in mlx5_accel_is_ktls_rx() 56 static inline bool mlx5_accel_is_ktls_device(struct mlx5_core_dev *mdev) in mlx5_accel_is_ktls_device() 68 static inline bool mlx5e_ktls_type_check(struct mlx5_core_dev *mdev, in mlx5e_ktls_type_check() 81 static inline bool mlx5_accel_is_ktls_tx(struct mlx5_core_dev *mdev) in mlx5_accel_is_ktls_tx() 84 static inline bool mlx5_accel_is_ktls_rx(struct mlx5_core_dev *mdev) in mlx5_accel_is_ktls_rx() 88 mlx5_ktls_create_key(struct mlx5_core_dev *mdev, in mlx5_ktls_create_key() 92 mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id) {} in mlx5_ktls_destroy_key() [all …]
|
D | ipsec.h | 45 unsigned int mlx5_accel_ipsec_counters_count(struct mlx5_core_dev *mdev); 46 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, 49 void *mlx5_accel_esp_create_hw_context(struct mlx5_core_dev *mdev, 52 void mlx5_accel_esp_free_hw_context(struct mlx5_core_dev *mdev, void *context); 54 void mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev); 55 void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev); 58 u32 (*device_caps)(struct mlx5_core_dev *mdev); 59 unsigned int (*counters_count)(struct mlx5_core_dev *mdev); 60 int (*counters_read)(struct mlx5_core_dev *mdev, u64 *counters, unsigned int count); 61 void* (*create_hw_context)(struct mlx5_core_dev *mdev, [all …]
|
D | tls.c | 43 int mlx5_accel_tls_add_flow(struct mlx5_core_dev *mdev, void *flow, in mlx5_accel_tls_add_flow() 53 void mlx5_accel_tls_del_flow(struct mlx5_core_dev *mdev, u32 swid, in mlx5_accel_tls_del_flow() 59 int mlx5_accel_tls_resync_rx(struct mlx5_core_dev *mdev, __be32 handle, in mlx5_accel_tls_resync_rx() 65 bool mlx5_accel_is_tls_device(struct mlx5_core_dev *mdev) in mlx5_accel_is_tls_device() 71 u32 mlx5_accel_tls_device_caps(struct mlx5_core_dev *mdev) in mlx5_accel_tls_device_caps() 76 int mlx5_accel_tls_init(struct mlx5_core_dev *mdev) in mlx5_accel_tls_init() 81 void mlx5_accel_tls_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_tls_cleanup() 88 int mlx5_ktls_create_key(struct mlx5_core_dev *mdev, in mlx5_ktls_create_key() 121 void mlx5_ktls_destroy_key(struct mlx5_core_dev *mdev, u32 key_id) in mlx5_ktls_destroy_key()
|
/drivers/net/ethernet/mellanox/mlx5/core/sf/ |
D | vhca_event.h | 15 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 …]
|
D | sf.h | 12 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); 36 static inline int mlx5_sf_hw_table_init(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_init() 41 static inline void mlx5_sf_hw_table_cleanup(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_cleanup() 45 static inline int mlx5_sf_hw_table_create(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_create() 50 static inline void mlx5_sf_hw_table_destroy(struct mlx5_core_dev *dev) in mlx5_sf_hw_table_destroy() [all …]
|
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);
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | port.h | 45 int mlx5_port_query_eth_proto(struct mlx5_core_dev *dev, u8 port, bool ext, 47 void mlx5_port_query_eth_autoneg(struct mlx5_core_dev *dev, u8 *an_status, 49 int mlx5_port_set_eth_ptys(struct mlx5_core_dev *dev, bool an_disable, 51 u32 mlx5e_port_ptys2speed(struct mlx5_core_dev *mdev, u32 eth_proto_oper, 53 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed); 54 int mlx5e_port_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed); 55 u32 mlx5e_port_speed2linkmodes(struct mlx5_core_dev *mdev, u32 speed, 57 bool mlx5e_ptys_ext_supported(struct mlx5_core_dev *mdev); 58 int mlx5e_port_query_pbmc(struct mlx5_core_dev *mdev, void *out); 59 int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in); [all …]
|
D | params.h | 93 bool slow_pci_heuristic(struct mlx5_core_dev *mdev); 94 bool mlx5e_striding_rq_possible(struct mlx5_core_dev *mdev, struct mlx5e_params *params); 95 void mlx5e_build_rq_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params); 96 void mlx5e_set_rq_type(struct mlx5_core_dev *mdev, struct mlx5e_params *params); 97 void mlx5e_init_rq_type_params(struct mlx5_core_dev *mdev, struct mlx5e_params *params); 99 bool mlx5e_verify_rx_mpwqe_strides(struct mlx5_core_dev *mdev, 109 bool mlx5e_rx_mpwqe_is_linear_skb(struct mlx5_core_dev *mdev, 114 u8 mlx5e_mpwqe_get_log_stride_size(struct mlx5_core_dev *mdev, 117 u8 mlx5e_mpwqe_get_log_num_strides(struct mlx5_core_dev *mdev, 120 u16 mlx5e_get_rq_headroom(struct mlx5_core_dev *mdev, [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | eq.h | 27 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 …]
|
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); 79 void mlx5_get_pme_stats(struct mlx5_core_dev *dev, struct mlx5_pme_stats *stats); [all …]
|
D | clock.h | 36 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()
|
D | clock.c | 70 static bool mlx5_real_time_mode(struct mlx5_core_dev *mdev) in mlx5_real_time_mode() 75 static bool mlx5_modify_mtutc_allowed(struct mlx5_core_dev *mdev) in mlx5_modify_mtutc_allowed() 80 static int mlx5_set_mtutc(struct mlx5_core_dev *dev, u32 *mtutc, u32 size) in mlx5_set_mtutc() 91 static u64 mlx5_read_time(struct mlx5_core_dev *dev, in mlx5_read_time() 121 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in read_internal_timer() 127 static void mlx5_update_clock_info_page(struct mlx5_core_dev *mdev) in mlx5_update_clock_info_page() 157 struct mlx5_core_dev *mdev = container_of(clock, struct mlx5_core_dev, in mlx5_pps_out() 183 struct mlx5_core_dev *mdev; in mlx5_timestamp_overflow() 190 mdev = container_of(clock, struct mlx5_core_dev, clock); in mlx5_timestamp_overflow() 204 static int mlx5_ptp_settime_real_time(struct mlx5_core_dev *mdev, in mlx5_ptp_settime_real_time() [all …]
|
/drivers/infiniband/hw/mlx5/ |
D | cmd.h | 40 int mlx5_cmd_dump_fill_mkey(struct mlx5_core_dev *dev, u32 *mkey); 41 int mlx5_cmd_null_mkey(struct mlx5_core_dev *dev, u32 *null_mkey); 42 int mlx5_cmd_query_cong_params(struct mlx5_core_dev *dev, int cong_point, 44 int mlx5_cmd_dealloc_pd(struct mlx5_core_dev *dev, u32 pdn, u16 uid); 45 void mlx5_cmd_destroy_tir(struct mlx5_core_dev *dev, u32 tirn, u16 uid); 46 void mlx5_cmd_destroy_tis(struct mlx5_core_dev *dev, u32 tisn, u16 uid); 47 int mlx5_cmd_destroy_rqt(struct mlx5_core_dev *dev, u32 rqtn, u16 uid); 48 int mlx5_cmd_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn, 50 void mlx5_cmd_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn, 52 int mlx5_cmd_attach_mcg(struct mlx5_core_dev *dev, union ib_gid *mgid, [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
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);
|
D | core.h | 46 struct mlx5_core_dev *mdev; 87 int mlx5_fpga_init(struct mlx5_core_dev *mdev); 88 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev); 89 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev); 90 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev); 94 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init() 99 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup() 103 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start() 108 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/ |
D | dev.h | 15 struct mlx5_core_dev *parent_mdev; 16 struct mlx5_core_dev *mdev; 21 void mlx5_sf_dev_table_create(struct mlx5_core_dev *dev); 22 void mlx5_sf_dev_table_destroy(struct mlx5_core_dev *dev); 27 bool mlx5_sf_dev_allocated(const struct mlx5_core_dev *dev); 31 static inline void mlx5_sf_dev_table_create(struct mlx5_core_dev *dev) in mlx5_sf_dev_table_create() 35 static inline void mlx5_sf_dev_table_destroy(struct mlx5_core_dev *dev) in mlx5_sf_dev_table_destroy() 48 static inline bool mlx5_sf_dev_allocated(const struct mlx5_core_dev *dev) in mlx5_sf_dev_allocated()
|