| /freebsd-14.2/sys/dev/mlx5/ |
| H A D | vport.h | 41 int mlx5_vport_query_q_counter(struct mlx5_core_dev *mdev, 54 int mlx5_nic_vport_query_local_lb(struct mlx5_core_dev *mdev, 68 int mlx5_set_vport_mtu(struct mlx5_core_dev *mdev, int mtu); 72 int mlx5_query_nic_vport_promisc(struct mlx5_core_dev *mdev, 78 int mlx5_modify_nic_vport_promisc(struct mlx5_core_dev *mdev, 104 int mlx5_query_nic_vport_mac_list(struct mlx5_core_dev *dev, 109 int mlx5_query_nic_vport_vlans(struct mlx5_core_dev *dev, 113 int mlx5_modify_nic_vport_vlans(struct mlx5_core_dev *dev, 123 int mlx5_nic_vport_enable_roce(struct mlx5_core_dev *mdev); 152 int mlx5_query_vport_counter(struct mlx5_core_dev *dev, [all …]
|
| H A D | port.h | 166 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys, 168 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev, 174 int mlx5_query_port_proto_admin(struct mlx5_core_dev *dev, 176 int mlx5_query_port_eth_proto_oper(struct mlx5_core_dev *dev, 180 int mlx5_set_port_status(struct mlx5_core_dev *dev, 183 int mlx5_query_port_admin_status(struct mlx5_core_dev *dev, 192 int mlx5_set_port_mtu(struct mlx5_core_dev *dev, int mtu); 202 int mlx5_max_tc(struct mlx5_core_dev *mdev); 203 int mlx5_query_port_tc_rate_limit(struct mlx5_core_dev *mdev, 209 int mlx5_query_port_prio_tc(struct mlx5_core_dev *mdev, [all …]
|
| H A D | driver.h | 183 struct mlx5_core_dev *dev; 233 struct mlx5_core_dev *dev; 274 struct mlx5_core_dev *dev; 364 struct mlx5_core_dev *dev; 383 struct mlx5_core_dev *dev; 459 struct mlx5_core_dev *mdev; 504 bool (*cb)(struct mlx5_core_dev *mdev, 692 struct mlx5_core_dev { struct 714 void (*event) (struct mlx5_core_dev *dev, argument 978 struct mlx5_core_dev *dev; [all …]
|
| H A D | cq.h | 154 int mlx5_init_cq_table(struct mlx5_core_dev *dev); 155 void mlx5_cleanup_cq_table(struct mlx5_core_dev *dev); 156 int mlx5_core_create_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 158 int mlx5_core_destroy_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq); 159 int mlx5_core_query_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 161 int mlx5_core_modify_cq(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq, 163 int mlx5_core_modify_cq_moderation(struct mlx5_core_dev *dev, 166 int mlx5_core_modify_cq_moderation_mode(struct mlx5_core_dev *dev, 171 int mlx5_core_modify_cq_by_mask(struct mlx5_core_dev *, 175 int mlx5_debug_cq_add(struct mlx5_core_dev *dev, struct mlx5_core_cq *cq); [all …]
|
| H A D | tls.h | 29 struct mlx5_core_dev; 31 int mlx5_encryption_key_create(struct mlx5_core_dev *mdev, u32 pdn, 33 int mlx5_encryption_key_destroy(struct mlx5_core_dev *mdev, u32 oid); 34 int mlx5_tls_open_tis(struct mlx5_core_dev *mdev, int tc, int tdn, int pdn, u32 *p_tisn); 35 void mlx5_tls_close_tis(struct mlx5_core_dev *mdev, u32 tisn); 36 int mlx5_tls_open_tir(struct mlx5_core_dev *mdev, int tdn, int rqtn, u32 *p_tirn); 37 void mlx5_tls_close_tir(struct mlx5_core_dev *mdev, u32 tirn);
|
| H A D | cmd.h | 44 struct mlx5_core_dev; 45 int mlx5_cmd_query_cong_counter(struct mlx5_core_dev *dev, 47 int mlx5_cmd_query_cong_params(struct mlx5_core_dev *dev, int cong_point, 49 int mlx5_cmd_modify_cong_params(struct mlx5_core_dev *mdev, 51 int mlx5_cmd_query_cong_status(struct mlx5_core_dev *dev, int cong_point, 53 int mlx5_cmd_modify_cong_status(struct mlx5_core_dev *mdev,
|
| H A D | fs.h | 139 mlx5_get_flow_namespace(struct mlx5_core_dev *dev, 202 struct mlx5_core_dev *mdev, 209 struct mlx5_flow_handler *mlx5_register_rule_notifier(struct mlx5_core_dev *dev, 260 struct mlx5_modify_hdr *mlx5_modify_header_alloc(struct mlx5_core_dev *dev, 264 void mlx5_modify_header_dealloc(struct mlx5_core_dev *dev, 275 struct mlx5_pkt_reformat *mlx5_packet_reformat_alloc(struct mlx5_core_dev *dev, 278 void mlx5_packet_reformat_dealloc(struct mlx5_core_dev *dev, 282 struct mlx5_fc *mlx5_fc_create(struct mlx5_core_dev *dev, bool aging); 285 struct mlx5_fc *mlx5_fc_create_ex(struct mlx5_core_dev *dev, bool aging); 287 void mlx5_fc_destroy(struct mlx5_core_dev *dev, struct mlx5_fc *counter); [all …]
|
| H A D | qp.h | 576 int mlx5_core_create_qp(struct mlx5_core_dev *dev, 580 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, u16 opcode, 583 int mlx5_core_destroy_qp(struct mlx5_core_dev *dev, 591 int mlx5_core_xrcd_alloc(struct mlx5_core_dev *dev, u32 *xrcdn); 592 int mlx5_core_xrcd_dealloc(struct mlx5_core_dev *dev, u32 xrcdn); 593 int mlx5_core_create_dct(struct mlx5_core_dev *dev, 597 int mlx5_core_destroy_dct(struct mlx5_core_dev *dev, 601 void mlx5_core_destroy_rq_tracked(struct mlx5_core_dev *dev, 605 void mlx5_core_destroy_sq_tracked(struct mlx5_core_dev *dev, 607 void mlx5_init_qp_table(struct mlx5_core_dev *dev); [all …]
|
| H A D | mpfs.h | 29 struct mlx5_core_dev; 30 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u32 *p_index, const u8 *mac, 32 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u32 index); 33 int mlx5_mpfs_init(struct mlx5_core_dev *dev); 34 void mlx5_mpfs_destroy(struct mlx5_core_dev *dev);
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_core/ |
| H A D | transobj.h | 31 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, 33 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 *in, int inlen); 34 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn); 35 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out); 36 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, 39 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn); 40 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out); 51 int mlx5_core_destroy_rmp(struct mlx5_core_dev *dev, u32 rmpn); 53 int mlx5_core_arm_rmp(struct mlx5_core_dev *dev, u32 rmpn, u16 lwm); 55 int mlx5_core_destroy_xsrq(struct mlx5_core_dev *dev, u32 rmpn); [all …]
|
| H A D | mlx5_core.h | 78 struct mlx5_core_dev; 109 int mlx5_query_hca_caps(struct mlx5_core_dev *dev); 110 int mlx5_query_board_id(struct mlx5_core_dev *dev); 119 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev); 126 void mlx5_disable_device(struct mlx5_core_dev *dev); 127 void mlx5_recover_device(struct mlx5_core_dev *dev); 132 int mlx5_register_device(struct mlx5_core_dev *dev); 142 void mlx5_fwdump_prep(struct mlx5_core_dev *mdev); 143 int mlx5_fwdump(struct mlx5_core_dev *mdev); 144 void mlx5_fwdump_clean(struct mlx5_core_dev *mdev); [all …]
|
| H A D | mlx5_fw.c | 480 struct mlx5_core_dev *mlx5_core_dev; member 489 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_component_query() 499 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_lock() 520 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_component_update() 531 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_block_download() 541 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_component_verify() 551 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_activate() 563 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_query_state() 581 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_cancel() 590 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; in mlx5_fsm_release() [all …]
|
| H A D | mlx5_health.c | 68 static int lock_sem_sw_reset(struct mlx5_core_dev *dev) in lock_sem_sw_reset() 114 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state() 143 struct mlx5_core_dev *dev = in mlx5_trigger_cmd_completions() 238 mlx5_health_allow_reset(struct mlx5_core_dev *dev) in mlx5_health_allow_reset() 368 struct mlx5_core_dev *dev; in health_recover() 423 struct mlx5_core_dev *dev; in health_care() 504 print_health_info(struct mlx5_core_dev *dev) in print_health_info() 545 struct mlx5_core_dev *dev; in health_watchdog() 612 struct mlx5_core_dev *dev = (struct mlx5_core_dev *)data; in poll_health() 708 void mlx5_health_cleanup(struct mlx5_core_dev *dev) in mlx5_health_cleanup() [all …]
|
| H A D | mlx5_transobj.c | 78 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 *in, int inlen) in mlx5_core_modify_rq() 87 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq() 98 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out) in mlx5_core_query_rq() 123 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 *in, int inlen) in mlx5_core_modify_sq() 132 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq() 143 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) in mlx5_core_query_sq() 196 int mlx5_core_modify_tis(struct mlx5_core_dev *dev, u32 tisn, u32 *in, in mlx5_core_modify_tis() 242 int mlx5_core_destroy_rmp(struct mlx5_core_dev *dev, u32 rmpn) in mlx5_core_destroy_rmp() 264 int mlx5_core_arm_rmp(struct mlx5_core_dev *dev, u32 rmpn, u16 lwm) in mlx5_core_arm_rmp() 307 int mlx5_core_destroy_xsrq(struct mlx5_core_dev *dev, u32 xsrqn) in mlx5_core_destroy_xsrq() [all …]
|
| H A D | fs_core.h | 143 struct mlx5_core_dev *dev; 268 int mlx5_cmd_fs_create_ft(struct mlx5_core_dev *dev, 272 int mlx5_cmd_fs_destroy_ft(struct mlx5_core_dev *dev, 276 int mlx5_cmd_fs_create_fg(struct mlx5_core_dev *dev, 282 int mlx5_cmd_fs_destroy_fg(struct mlx5_core_dev *dev, 288 int mlx5_cmd_fs_set_fte(struct mlx5_core_dev *dev, 298 int mlx5_cmd_fs_delete_fte(struct mlx5_core_dev *dev, 304 int mlx5_cmd_update_root_ft(struct mlx5_core_dev *dev, 308 int mlx5_init_fs(struct mlx5_core_dev *dev); 309 void mlx5_cleanup_fs(struct mlx5_core_dev *dev); [all …]
|
| H A D | mlx5_port.c | 118 void mlx5_toggle_port_link(struct mlx5_core_dev *dev) in mlx5_toggle_port_link() 163 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev, in mlx5_query_port_proto_cap() 287 int mlx5_set_port_status(struct mlx5_core_dev *dev, in mlx5_set_port_status() 452 u8 mlx5_is_wol_supported(struct mlx5_core_dev *dev) in mlx5_is_wol_supported() 475 int mlx5_set_wol(struct mlx5_core_dev *dev, u8 wol_mode) in mlx5_set_wol() 521 int mlx5_core_access_pvlc(struct mlx5_core_dev *dev, in mlx5_core_access_pvlc() 549 int mlx5_core_access_ptys(struct mlx5_core_dev *dev, in mlx5_core_access_ptys() 636 int mlx5_core_access_pmtu(struct mlx5_core_dev *dev, in mlx5_core_access_pmtu() 701 int mlx5_query_eeprom(struct mlx5_core_dev *dev, in mlx5_query_eeprom() 852 int mlx5_max_tc(struct mlx5_core_dev *mdev) in mlx5_max_tc() [all …]
|
| H A D | mlx5_fs_counters.c | 122 static void mlx5_fc_stats_insert(struct mlx5_core_dev *dev, in mlx5_fc_stats_insert() 130 static void mlx5_fc_stats_remove(struct mlx5_core_dev *dev, in mlx5_fc_stats_remove() 148 static int get_max_bulk_query_len(struct mlx5_core_dev *dev) in get_max_bulk_query_len() 266 struct mlx5_core_dev *dev = container_of(work, struct mlx5_core_dev, in mlx5_fc_stats_work() 416 int mlx5_init_fc_stats(struct mlx5_core_dev *dev) in mlx5_init_fc_stats() 450 void mlx5_cleanup_fc_stats(struct mlx5_core_dev *dev) in mlx5_cleanup_fc_stats() 503 void mlx5_fc_queue_stats_work(struct mlx5_core_dev *dev, in mlx5_fc_queue_stats_work() 638 struct mlx5_core_dev *dev = fc_pool->dev; in mlx5_fc_pool_cleanup() 659 struct mlx5_core_dev *dev = fc_pool->dev; in mlx5_fc_pool_alloc_new_bulk() 672 struct mlx5_core_dev *dev = fc_pool->dev; in mlx5_fc_pool_free_bulk() [all …]
|
| H A D | diag_cnt.h | 36 int mlx5_diag_cnt_init(struct mlx5_core_dev *); 37 void mlx5_diag_cnt_cleanup(struct mlx5_core_dev *); 39 int mlx5_diag_query_params(struct mlx5_core_dev *); 40 int mlx5_diag_set_params(struct mlx5_core_dev *); 41 int mlx5_diag_query_counters(struct mlx5_core_dev *, u8 * *out_buffer);
|
| H A D | mlx5_vport.c | 132 int mlx5_vport_alloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_alloc_q_counter() 157 int mlx5_vport_dealloc_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_dealloc_q_counter() 179 int mlx5_vport_query_q_counter(struct mlx5_core_dev *mdev, in mlx5_vport_query_q_counter() 226 int mlx5_query_min_inline(struct mlx5_core_dev *mdev, in mlx5_query_min_inline() 711 int mlx5_query_nic_vport_mac_list(struct mlx5_core_dev *dev, in mlx5_query_nic_vport_mac_list() 828 int mlx5_query_nic_vport_vlans(struct mlx5_core_dev *dev, in mlx5_query_nic_vport_vlans() 888 int mlx5_modify_nic_vport_vlans(struct mlx5_core_dev *dev, in mlx5_modify_nic_vport_vlans() 993 int mlx5_nic_vport_enable_roce(struct mlx5_core_dev *mdev) in mlx5_nic_vport_enable_roce() 999 int mlx5_nic_vport_disable_roce(struct mlx5_core_dev *mdev) in mlx5_nic_vport_disable_roce() 1615 int mlx5_query_vport_counter(struct mlx5_core_dev *dev, in mlx5_query_vport_counter() [all …]
|
| H A D | flow_table.h | 40 void *mlx5_create_flow_table(struct mlx5_core_dev *dev, u8 level, u8 table_type, 50 int mlx5_set_flow_table_root(struct mlx5_core_dev *mdev, u16 op_mod, 56 int mlx5_create_flow_counter(struct mlx5_core_dev *dev, u16 *cnt_id); 57 void mlx5_destroy_flow_counter(struct mlx5_core_dev *dev, u16 cnt_id); 58 int mlx5_query_flow_counters(struct mlx5_core_dev *dev, 61 int mlx5_reset_flow_counter(struct mlx5_core_dev *dev, u16 cnt_id);
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_fpga/ |
| H A D | cmd.h | 59 int mlx5_fpga_caps(struct mlx5_core_dev *dev); 61 int mlx5_fpga_query_mtmp(struct mlx5_core_dev *dev, 63 int mlx5_fpga_ctrl_op(struct mlx5_core_dev *dev, u8 op); 64 int mlx5_fpga_access_reg(struct mlx5_core_dev *dev, u8 size, u64 addr, 66 int mlx5_fpga_sbu_caps(struct mlx5_core_dev *dev, void *caps, int size); 68 int mlx5_fpga_image_select(struct mlx5_core_dev *dev, 70 int mlx5_fpga_ctrl_connect(struct mlx5_core_dev *dev, 72 int mlx5_fpga_shell_counters(struct mlx5_core_dev *dev, bool clear, 75 int mlx5_fpga_create_qp(struct mlx5_core_dev *dev, void *fpga_qpc, 77 int mlx5_fpga_modify_qp(struct mlx5_core_dev *dev, u32 fpga_qpn, [all …]
|
| H A D | ipsec.h | 40 void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, 44 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev); 45 unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev); 49 int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev); 50 void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev); 54 static inline void *mlx5_fpga_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_sa_cmd_exec() 65 static inline u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps() 71 mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count() 76 static inline int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_counters_read() 82 static inline int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_init() [all …]
|
| H A D | core.h | 59 struct mlx5_core_dev *mdev; 106 int mlx5_fpga_init(struct mlx5_core_dev *mdev); 107 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev); 108 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev); 109 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev); 110 void mlx5_fpga_event(struct mlx5_core_dev *mdev, u8 event, void *data); 114 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init() 119 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup() 123 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start() 128 static inline void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop() [all …]
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_accel/ |
| H A D | ipsec.h | 102 void *mlx5_accel_ipsec_sa_cmd_exec(struct mlx5_core_dev *mdev, 113 u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev); 115 unsigned int mlx5_accel_ipsec_counters_count(struct mlx5_core_dev *mdev); 116 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, 119 int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev); 120 void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev); 126 static inline int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_init() 131 static inline void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_cleanup()
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_lib/ |
| H A D | mlx5.h | 36 void mlx5_init_reserved_gids(struct mlx5_core_dev *dev); 37 void mlx5_cleanup_reserved_gids(struct mlx5_core_dev *dev); 38 int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count); 39 void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count); 40 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index); 41 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index);
|