/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
D | mlx5hws.h | 7 struct mlx5hws_context; 247 struct mlx5hws_context * 258 int mlx5hws_context_close(struct mlx5hws_context *ctx); 268 void mlx5hws_context_set_peer(struct mlx5hws_context *ctx, 269 struct mlx5hws_context *peer_ctx, 282 mlx5hws_table_create(struct mlx5hws_context *ctx, 328 mlx5hws_match_template_create(struct mlx5hws_context *ctx, 514 mlx5hws_action_create_dest_drop(struct mlx5hws_context *ctx, 527 mlx5hws_action_create_default_miss(struct mlx5hws_context *ctx, 540 mlx5hws_action_create_dest_table(struct mlx5hws_context *ctx, [all …]
|
D | mlx5hws_context.c | 6 bool mlx5hws_context_cap_dynamic_reparse(struct mlx5hws_context *ctx) in mlx5hws_context_cap_dynamic_reparse() 11 u8 mlx5hws_context_get_reparse_mode(struct mlx5hws_context *ctx) in mlx5hws_context_get_reparse_mode() 21 static int hws_context_pools_init(struct mlx5hws_context *ctx) in hws_context_pools_init() 65 static void hws_context_pools_uninit(struct mlx5hws_context *ctx) in hws_context_pools_uninit() 78 static int hws_context_init_pd(struct mlx5hws_context *ctx) in hws_context_init_pd() 93 static int hws_context_uninit_pd(struct mlx5hws_context *ctx) in hws_context_uninit_pd() 101 static void hws_context_check_hws_supp(struct mlx5hws_context *ctx) in hws_context_check_hws_supp() 146 static int hws_context_init_hws(struct mlx5hws_context *ctx, in hws_context_init_hws() 182 static void hws_context_uninit_hws(struct mlx5hws_context *ctx) in hws_context_uninit_hws() 192 struct mlx5hws_context *mlx5hws_context_open(struct mlx5_core_dev *mdev, in mlx5hws_context_open() [all …]
|
D | mlx5hws_pat_arg.h | 52 bool mlx5hws_pat_verify_actions(struct mlx5hws_context *ctx, __be64 pattern[], size_t sz); 54 int mlx5hws_arg_create(struct mlx5hws_context *ctx, 61 void mlx5hws_arg_destroy(struct mlx5hws_context *ctx, u32 arg_id); 63 int mlx5hws_arg_create_modify_header_arg(struct mlx5hws_context *ctx, 70 int mlx5hws_pat_get_pattern(struct mlx5hws_context *ctx, 75 void mlx5hws_pat_put_pattern(struct mlx5hws_context *ctx, 78 bool mlx5hws_arg_is_valid_arg_request_size(struct mlx5hws_context *ctx, 94 int mlx5hws_arg_write_inline_arg_data(struct mlx5hws_context *ctx,
|
D | mlx5hws_vport.c | 6 int mlx5hws_vport_init_vports(struct mlx5hws_context *ctx) in mlx5hws_vport_init_vports() 27 void mlx5hws_vport_uninit_vports(struct mlx5hws_context *ctx) in mlx5hws_vport_uninit_vports() 33 static int hws_vport_add_gvmi(struct mlx5hws_context *ctx, u16 vport) in hws_vport_add_gvmi() 50 static bool hws_vport_is_esw_mgr_vport(struct mlx5hws_context *ctx, u16 vport) in hws_vport_is_esw_mgr_vport() 56 int mlx5hws_vport_get_gvmi(struct mlx5hws_context *ctx, u16 vport, u16 *vport_gvmi) in mlx5hws_vport_get_gvmi()
|
D | mlx5hws_context.h | 36 struct mlx5hws_context { struct 56 static inline bool mlx5hws_context_bwc_supported(struct mlx5hws_context *ctx) in mlx5hws_context_bwc_supported() argument 61 bool mlx5hws_context_cap_dynamic_reparse(struct mlx5hws_context *ctx); 63 u8 mlx5hws_context_get_reparse_mode(struct mlx5hws_context *ctx);
|
D | mlx5hws_vport.h | 7 int mlx5hws_vport_init_vports(struct mlx5hws_context *ctx); 9 void mlx5hws_vport_uninit_vports(struct mlx5hws_context *ctx); 11 int mlx5hws_vport_get_gvmi(struct mlx5hws_context *ctx, u16 vport, u16 *vport_gvmi);
|
D | mlx5hws_bwc.c | 6 static u16 hws_bwc_gen_queue_idx(struct mlx5hws_context *ctx) in hws_bwc_gen_queue_idx() 13 hws_bwc_get_burst_th(struct mlx5hws_context *ctx, u16 queue_id) in hws_bwc_get_burst_th() 20 hws_bwc_get_queue_lock(struct mlx5hws_context *ctx, u16 idx) in hws_bwc_get_queue_lock() 25 static void hws_bwc_lock_all_queues(struct mlx5hws_context *ctx) in hws_bwc_lock_all_queues() 37 static void hws_bwc_unlock_all_queues(struct mlx5hws_context *ctx) in hws_bwc_unlock_all_queues() 74 struct mlx5hws_context *ctx = table->ctx; in mlx5hws_bwc_matcher_create_simple() 213 static int hws_bwc_queue_poll(struct mlx5hws_context *ctx, in hws_bwc_queue_poll() 264 struct mlx5hws_context *ctx = bwc_matcher->matcher->tbl->ctx; in mlx5hws_bwc_rule_fill_attr() 336 struct mlx5hws_context *ctx = bwc_rule->bwc_matcher->matcher->tbl->ctx; in hws_bwc_rule_destroy_hws_sync() 362 struct mlx5hws_context *ctx = bwc_matcher->matcher->tbl->ctx; in mlx5hws_bwc_rule_destroy_simple() [all …]
|
D | mlx5hws_debug.c | 243 hws_debug_dump_context_send_engine(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_send_engine() 292 static int hws_debug_dump_context_caps(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_caps() 328 static int hws_debug_dump_context_attr(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_attr() 343 static int hws_debug_dump_context_info(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_info() 370 struct mlx5hws_context *ctx, in hws_debug_dump_context_stc_resource() 383 static int hws_debug_dump_context_stc(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context_stc() 415 static int hws_debug_dump_context(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump_context() 442 hws_debug_dump(struct seq_file *f, struct mlx5hws_context *ctx) in hws_debug_dump() 462 void mlx5hws_debug_init_dump(struct mlx5hws_context *ctx) in mlx5hws_debug_init_dump() 477 void mlx5hws_debug_uninit_dump(struct mlx5hws_context *ctx) in mlx5hws_debug_uninit_dump()
|
D | mlx5hws_send.h | 194 int mlx5hws_send_queue_open(struct mlx5hws_context *ctx, 198 void mlx5hws_send_queues_close(struct mlx5hws_context *ctx); 200 int mlx5hws_send_queues_open(struct mlx5hws_context *ctx, 204 int mlx5hws_send_queue_action(struct mlx5hws_context *ctx, 208 int mlx5hws_send_test(struct mlx5hws_context *ctx, 224 void mlx5hws_send_stes_fw(struct mlx5hws_context *ctx,
|
D | mlx5hws_action.c | 77 static int hws_action_get_shared_stc_nic(struct mlx5hws_context *ctx, in hws_action_get_shared_stc_nic() 144 struct mlx5hws_context *ctx = action->ctx; in hws_action_get_shared_stc() 173 struct mlx5hws_context *ctx = action->ctx; in hws_action_put_shared_stc() 194 static void hws_action_print_combo(struct mlx5hws_context *ctx, in hws_action_print_combo() 205 bool mlx5hws_action_check_combo(struct mlx5hws_context *ctx, in mlx5hws_action_check_combo() 237 hws_action_fixup_stc_attr(struct mlx5hws_context *ctx, in hws_action_fixup_stc_attr() 317 int mlx5hws_action_alloc_single_stc(struct mlx5hws_context *ctx, in mlx5hws_action_alloc_single_stc() 385 void mlx5hws_action_free_single_stc(struct mlx5hws_context *ctx, in mlx5hws_action_free_single_stc() 409 static u32 hws_action_get_mh_stc_type(struct mlx5hws_context *ctx, in hws_action_get_mh_stc_type() 552 struct mlx5hws_context *ctx = action->ctx; in hws_action_create_stcs() [all …]
|
D | mlx5hws_table.c | 45 struct mlx5hws_context *ctx = tbl->ctx; in hws_table_up_default_fdb_miss_tbl() 84 struct mlx5hws_context *ctx = tbl->ctx; in hws_table_down_default_fdb_miss_tbl() 166 static int hws_table_init_check_hws_support(struct mlx5hws_context *ctx, in hws_table_init_check_hws_support() 179 struct mlx5hws_context *ctx = tbl->ctx; in hws_table_init() 224 struct mlx5hws_table *mlx5hws_table_create(struct mlx5hws_context *ctx, in mlx5hws_table_create() 262 struct mlx5hws_context *ctx = tbl->ctx; in mlx5hws_table_destroy() 329 int mlx5hws_table_ft_set_next_rtc(struct mlx5hws_context *ctx, in mlx5hws_table_ft_set_next_rtc() 345 static int hws_table_ft_set_next_ft(struct mlx5hws_context *ctx, in hws_table_ft_set_next_ft() 463 struct mlx5hws_context *ctx = tbl->ctx; in mlx5hws_table_set_default_miss()
|
D | mlx5hws_action.h | 124 struct mlx5hws_context *ctx; 201 int mlx5hws_action_get_default_stc(struct mlx5hws_context *ctx, 204 void mlx5hws_action_put_default_stc(struct mlx5hws_context *ctx, 212 bool mlx5hws_action_check_combo(struct mlx5hws_context *ctx, 216 int mlx5hws_action_alloc_single_stc(struct mlx5hws_context *ctx, 221 void mlx5hws_action_free_single_stc(struct mlx5hws_context *ctx,
|
D | mlx5hws_debug.h | 37 void mlx5hws_debug_init_dump(struct mlx5hws_context *ctx); 38 void mlx5hws_debug_uninit_dump(struct mlx5hws_context *ctx);
|
D | mlx5hws_pat_arg.c | 216 void mlx5hws_pat_put_pattern(struct mlx5hws_context *ctx, u32 ptrn_id) in mlx5hws_pat_put_pattern() 239 int mlx5hws_pat_get_pattern(struct mlx5hws_context *ctx, in mlx5hws_pat_get_pattern() 366 int mlx5hws_arg_write_inline_arg_data(struct mlx5hws_context *ctx, in mlx5hws_arg_write_inline_arg_data() 395 bool mlx5hws_arg_is_valid_arg_request_size(struct mlx5hws_context *ctx, in mlx5hws_arg_is_valid_arg_request_size() 405 int mlx5hws_arg_create(struct mlx5hws_context *ctx, in mlx5hws_arg_create() 451 void mlx5hws_arg_destroy(struct mlx5hws_context *ctx, u32 arg_id) in mlx5hws_arg_destroy() 456 int mlx5hws_arg_create_modify_header_arg(struct mlx5hws_context *ctx, in mlx5hws_arg_create_modify_header_arg() 506 bool mlx5hws_pat_verify_actions(struct mlx5hws_context *ctx, __be64 pattern[], size_t sz) in mlx5hws_pat_verify_actions()
|
D | mlx5hws_matcher.c | 61 struct mlx5hws_context *ctx = tbl->ctx; in hws_matcher_connect() 234 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_matcher_create_rtc() 441 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_matcher_check_and_process_at() 547 struct mlx5hws_context *ctx = tbl->ctx; in hws_matcher_bind_at_idx() 617 struct mlx5hws_context *ctx = tbl->ctx; in hws_matcher_bind_at() 670 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_matcher_bind_mt() 719 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_matcher_validate_insert_mode() 848 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_matcher_create_col_matcher() 915 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_matcher_init() 944 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_matcher_uninit() [all …]
|
D | mlx5hws_table.h | 16 struct mlx5hws_context *ctx; 62 int mlx5hws_table_ft_set_next_rtc(struct mlx5hws_context *ctx,
|
D | mlx5hws_bwc.h | 60 static inline u16 mlx5hws_bwc_queues(struct mlx5hws_context *ctx) in mlx5hws_bwc_queues() 68 static inline u16 mlx5hws_bwc_get_queue_id(struct mlx5hws_context *ctx, u16 idx) in mlx5hws_bwc_get_queue_id()
|
D | mlx5hws_definer.h | 262 struct mlx5hws_context *ctx; 805 int mlx5hws_definer_mt_init(struct mlx5hws_context *ctx, 808 void mlx5hws_definer_mt_uninit(struct mlx5hws_context *ctx, 818 int mlx5hws_definer_get_obj(struct mlx5hws_context *ctx, 821 void mlx5hws_definer_free(struct mlx5hws_context *ctx, 824 int mlx5hws_definer_calc_layout(struct mlx5hws_context *ctx, 829 mlx5hws_definer_conv_match_params_to_compressed_fc(struct mlx5hws_context *ctx,
|
D | mlx5hws_pool.h | 109 struct mlx5hws_context *ctx; 127 mlx5hws_pool_create(struct mlx5hws_context *ctx,
|
D | mlx5hws_send.c | 549 int mlx5hws_send_queue_poll(struct mlx5hws_context *ctx, in mlx5hws_send_queue_poll() 710 static int hws_send_ring_open_sq(struct mlx5hws_context *ctx, in hws_send_ring_open_sq() 876 static int mlx5hws_send_ring_open(struct mlx5hws_context *ctx, in mlx5hws_send_ring_open() 905 int mlx5hws_send_queue_open(struct mlx5hws_context *ctx, in mlx5hws_send_queue_open() 936 static void __hws_send_queues_close(struct mlx5hws_context *ctx, u16 queues) in __hws_send_queues_close() 942 static void hws_send_queues_bwc_locks_destroy(struct mlx5hws_context *ctx) in hws_send_queues_bwc_locks_destroy() 959 void mlx5hws_send_queues_close(struct mlx5hws_context *ctx) in mlx5hws_send_queues_close() 966 static int hws_bwc_send_queues_init(struct mlx5hws_context *ctx) in hws_bwc_send_queues_init() 1002 int mlx5hws_send_queues_open(struct mlx5hws_context *ctx, in mlx5hws_send_queues_open() 1042 int mlx5hws_send_queue_action(struct mlx5hws_context *ctx, in mlx5hws_send_queue_action() [all …]
|
D | mlx5hws_rule.c | 294 struct mlx5hws_context *ctx = tbl->ctx; in hws_rule_create_init() 359 struct mlx5hws_context *ctx = matcher->tbl->ctx; in hws_rule_create_hws() 474 struct mlx5hws_context *ctx = rule->matcher->tbl->ctx; in hws_rule_destroy_failed_hws() 506 struct mlx5hws_context *ctx = rule->matcher->tbl->ctx; in hws_rule_destroy_hws() 578 struct mlx5hws_context *ctx = rule->matcher->tbl->ctx; in hws_rule_enqueue_precheck() 668 struct mlx5hws_context *ctx = rule->matcher->tbl->ctx; in mlx5hws_rule_move_hws_add()
|
D | mlx5hws_definer.c | 155 struct mlx5hws_context *ctx; 287 struct mlx5hws_context *peer_ctx) in hws_definer_set_source_port_gvmi() 311 struct mlx5hws_context *peer_ctx; in hws_definer_set_source_gvmi_vhca_id() 1475 hws_definer_alloc_fc(struct mlx5hws_context *ctx, in hws_definer_alloc_fc() 1492 hws_definer_conv_match_params_to_hl(struct mlx5hws_context *ctx, in hws_definer_conv_match_params_to_hl() 1582 mlx5hws_definer_conv_match_params_to_compressed_fc(struct mlx5hws_context *ctx, in mlx5hws_definer_conv_match_params_to_compressed_fc() 1815 hws_definer_find_best_match_fit(struct mlx5hws_context *ctx, in hws_definer_find_best_match_fit() 1908 mlx5hws_definer_calc_layout(struct mlx5hws_context *ctx, in mlx5hws_definer_calc_layout() 1973 int mlx5hws_definer_get_obj(struct mlx5hws_context *ctx, in mlx5hws_definer_get_obj() 2020 hws_definer_put_obj(struct mlx5hws_context *ctx, u32 obj_id) in hws_definer_put_obj() [all …]
|
D | mlx5hws_bwc_complex.h | 7 bool mlx5hws_bwc_match_params_is_complex(struct mlx5hws_context *ctx,
|
D | mlx5hws_bwc_complex.c | 6 bool mlx5hws_bwc_match_params_is_complex(struct mlx5hws_context *ctx, in mlx5hws_bwc_match_params_is_complex()
|
D | mlx5hws_cmd.h | 350 void mlx5hws_cmd_set_attr_connect_miss_tbl(struct mlx5hws_context *ctx,
|