/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_matcher.c | 52 mlx5hws_err(tbl->ctx, "Failed to create matcher end flow table\n"); in hws_matcher_create_end_ft() 97 mlx5hws_err(ctx, "Failed to connect new matcher to next RTC\n"); in hws_matcher_connect() 104 mlx5hws_err(ctx, "Failed connect new matcher to miss_tbl\n"); in hws_matcher_connect() 116 mlx5hws_err(ctx, "Failed to connect new matcher to previous FT\n"); in hws_matcher_connect() 123 mlx5hws_err(ctx, "Failed to reset matcher ft default miss\n"); in hws_matcher_connect() 131 mlx5hws_err(ctx, "Fatal error, failed to update connected miss table\n"); in hws_matcher_connect() 168 mlx5hws_err(tbl->ctx, "Failed to disconnect matcher\n"); in hws_matcher_disconnect() 174 mlx5hws_err(tbl->ctx, "Failed to disconnect last matcher\n"); in hws_matcher_disconnect() 183 mlx5hws_err(tbl->ctx, "Fatal error, failed to update connected miss table\n"); in hws_matcher_disconnect() 190 mlx5hws_err(tbl->ctx, "Fatal error, failed to restore matcher ft default miss\n"); in hws_matcher_disconnect() [all …]
|
H A D | mlx5hws_pool.c | 65 mlx5hws_err(pool->ctx, "Failed to allocate resource objects\n"); in hws_pool_create_one_resource() 90 mlx5hws_err(pool->ctx, "Failed allocating resource\n"); in hws_pool_resource_alloc() 103 mlx5hws_err(pool->ctx, "Failed allocating mirrored resource\n"); in hws_pool_resource_alloc() 134 mlx5hws_err(pool->ctx, "No such buddy (%d)\n", chunk->resource_idx); in hws_pool_buddy_db_put_chunk() 156 mlx5hws_err(pool->ctx, "Failed to create buddy order: %d index: %d\n", in hws_pool_buddy_get_next_buddy() 162 mlx5hws_err(pool->ctx, "Failed to create resource type: %d: size %d index: %d\n", in hws_pool_buddy_get_next_buddy() 201 mlx5hws_err(pool->ctx, in hws_pool_buddy_get_mem_chunk() 209 mlx5hws_err(pool->ctx, in hws_pool_buddy_get_mem_chunk() 234 mlx5hws_err(pool->ctx, "Failed to get free slot for chunk with order: %d\n", in hws_pool_buddy_db_get_chunk() 267 mlx5hws_err(pool->ctx, in hws_pool_buddy_db_init() [all …]
|
H A D | mlx5hws_table.c | 69 mlx5hws_err(ctx, "Failed to default miss table type: 0x%x\n", tbl_type); in hws_table_up_default_fdb_miss_tbl() 113 mlx5hws_err(tbl->ctx, "Failed to connect FT to default FDB FT\n"); in hws_table_connect_to_default_miss_tbl() 132 mlx5hws_err(tbl->ctx, "Failed creating default ft\n"); in mlx5hws_table_create_default_ft() 140 mlx5hws_err(tbl->ctx, "Failed to get default fdb miss\n"); in mlx5hws_table_create_default_ft() 145 mlx5hws_err(tbl->ctx, "Failed connecting to default miss tbl\n"); in mlx5hws_table_create_default_ft() 170 mlx5hws_err(ctx, "HWS not supported, cannot create mlx5hws_table\n"); in hws_table_init_check_hws_support() 194 mlx5hws_err(tbl->ctx, "Failed to create flow table object\n"); in hws_table_init() 231 mlx5hws_err(ctx, "Invalid table type %d\n", attr->type); in mlx5hws_table_create() 245 mlx5hws_err(ctx, "Failed to initialise table\n"); in mlx5hws_table_create() 267 mlx5hws_err(tbl->ctx, "Cannot destroy table containing matchers\n"); in mlx5hws_table_destroy() [all …]
|
H A D | mlx5hws_bwc_complex.c | 23 mlx5hws_err(ctx, "BWC: failed creating match template\n"); in mlx5hws_bwc_match_params_is_complex() 40 mlx5hws_err(ctx, "Failed to calculate matcher definer layout\n"); in mlx5hws_bwc_match_params_is_complex() 55 mlx5hws_err(table->ctx, "Complex matcher is not supported yet\n"); in mlx5hws_bwc_matcher_create_complex() 71 mlx5hws_err(bwc_rule->bwc_matcher->matcher->tbl->ctx, in mlx5hws_bwc_rule_create_complex() 83 mlx5hws_err(bwc_matcher->matcher->tbl->ctx, in mlx5hws_bwc_matcher_move_all_complex()
|
H A D | mlx5hws_context.c | 46 mlx5hws_err(ctx, "Failed to allocate STC pool [%d]", i); in hws_context_pools_init() 84 mlx5hws_err(ctx, "Failed to allocate PD\n"); in hws_context_init_pd() 107 mlx5hws_err(ctx, "Required HWS WQE based insertion cap not supported\n"); in hws_context_check_hws_supp() 112 mlx5hws_err(ctx, "HWS is not supported for non eswitch manager port\n"); in hws_context_check_hws_supp() 120 mlx5hws_err(ctx, "Required HWS reparse cap not supported\n"); in hws_context_check_hws_supp() 126 mlx5hws_err(ctx, "Required HWS STE format not supported\n"); in hws_context_check_hws_supp() 133 mlx5hws_err(ctx, "Required HWS RTC update mode not supported\n"); in hws_context_check_hws_supp() 139 mlx5hws_err(ctx, "Required HWS Dynamic definer not supported\n"); in hws_context_check_hws_supp()
|
H A D | mlx5hws_bwc.c | 98 mlx5hws_err(table->ctx, "BWC matcher: failed creating action template\n"); in mlx5hws_bwc_matcher_create_simple() 109 mlx5hws_err(table->ctx, "BWC matcher: failed creating match template\n"); in mlx5hws_bwc_matcher_create_simple() 119 mlx5hws_err(table->ctx, "BWC matcher: failed creating HWS matcher\n"); in mlx5hws_bwc_matcher_create_simple() 146 mlx5hws_err(table->ctx, in mlx5hws_bwc_matcher_create() 203 mlx5hws_err(bwc_matcher->matcher->tbl->ctx, in mlx5hws_bwc_matcher_destroy() 234 mlx5hws_err(ctx, "BWC poll error: polling queue %d returned %d\n", in hws_bwc_queue_poll() 243 mlx5hws_err(ctx, in hws_bwc_queue_poll() 351 mlx5hws_err(ctx, "Failed destroying BWC rule: completion %d, rule status %d\n", in hws_bwc_rule_destroy_hws_sync() 451 mlx5hws_err(ctx, "Failed updating BWC rule (%d)\n", ret); in hws_bwc_rule_update_sync() 519 mlx5hws_err(ctx, "Can't resize matcher: depth exceeds limit %d\n", in hws_bwc_matcher_extend_size() [all …]
|
H A D | mlx5hws_action.c | 114 mlx5hws_err(ctx, "No such stc_type: %d\n", stc_type); in hws_action_get_shared_stc_nic() 123 mlx5hws_err(ctx, "Failed to allocate shared decap l2 STC\n"); in hws_action_get_shared_stc_nic() 159 mlx5hws_err(ctx, in hws_action_get_shared_stc() 197 mlx5hws_err(ctx, "Invalid action_type sequence"); in hws_action_print_combo() 199 mlx5hws_err(ctx, " %s", mlx5hws_action_type_to_str(*user_actions)); in hws_action_print_combo() 202 mlx5hws_err(ctx, "\n"); in hws_action_print_combo() 215 mlx5hws_err(ctx, "Invalid table_type %d", table_type); in mlx5hws_action_check_combo() 332 mlx5hws_err(ctx, "Failed to allocate single action STC\n"); in mlx5hws_action_alloc_single_stc() 349 mlx5hws_err(ctx, "Failed to modify STC action_type %d tbl_type %d\n", in mlx5hws_action_alloc_single_stc() 366 mlx5hws_err(ctx, in mlx5hws_action_alloc_single_stc() [all …]
|
H A D | mlx5hws_pat_arg.c | 224 mlx5hws_err(ctx, "Failed to find cached pattern with provided ID\n"); in mlx5hws_pat_put_pattern() 263 mlx5hws_err(ctx, "Failed to create pattern FW object\n"); in mlx5hws_pat_get_pattern() 272 mlx5hws_err(ctx, "Failed to add pattern to cache\n"); in mlx5hws_pat_get_pattern() 388 mlx5hws_err(ctx, "Failed to drain arg queue\n"); in mlx5hws_arg_write_inline_arg_data() 421 mlx5hws_err(ctx, "Requested single arg %u not supported\n", single_arg_log_sz); in mlx5hws_arg_create() 426 mlx5hws_err(ctx, "Argument log size %d not supported by FW\n", multi_arg_log_sz); in mlx5hws_arg_create() 433 mlx5hws_err(ctx, "Failed allocating arg in order: %d\n", multi_arg_log_sz); in mlx5hws_arg_create() 441 mlx5hws_err(ctx, "Failed writing arg data\n"); in mlx5hws_arg_create() 473 mlx5hws_err(ctx, "Failed creating modify header arg\n"); in mlx5hws_arg_create_modify_header_arg() 514 mlx5hws_err(ctx, "Unsupported action id %d\n", action_type); in mlx5hws_pat_verify_actions() [all …]
|
H A D | mlx5hws_definer.c | 296 mlx5hws_err(fc->ctx, "Vport 0x%x is disabled or invalid\n", source_port); in hws_definer_set_source_port_gvmi() 320 mlx5hws_err(fc->ctx, "Invalid vhca_id provided 0x%x\n", id); in hws_definer_set_source_gvmi_vhca_id() 383 mlx5hws_err(cd->ctx, "Unsupported flex parser steering ok index %u\n", parser_id); in hws_definer_flex_parser_steering_ok_bits_handler() 438 mlx5hws_err(cd->ctx, "Unsupported flex parser %u\n", parser_id); in hws_definer_flex_parser_handler() 453 mlx5hws_err(cd->ctx, "Unsupported parser id\n"); in hws_definer_misc4_fields_handler() 458 mlx5hws_err(cd->ctx, "Parser id have been used\n"); in hws_definer_misc4_fields_handler() 503 mlx5hws_err(cd->ctx, "Invalid definer fields combination\n"); in hws_definer_check_match_flags() 519 mlx5hws_err(cd->ctx, "Unsupported outer parameters set\n"); in hws_definer_conv_outer() 675 mlx5hws_err(cd->ctx, "Unsupported inner parameters set\n"); in hws_definer_conv_inner() 847 mlx5hws_err(cd->ctx, "Unsupported misc parameters set\n"); in hws_definer_conv_misc() [all …]
|
H A D | mlx5hws_internal.h | 37 #define mlx5hws_err(ctx, arg...) mlx5_core_err((ctx)->mdev, ##arg) macro
|
H A D | mlx5hws_rule.c | 219 mlx5hws_err(matcher->tbl->ctx, in hws_rule_alloc_action_ste_idx() 400 mlx5hws_err(ctx, "Failed to allocate action memory %d", ret); in hws_rule_create_hws()
|