Searched refs:ste_ctx (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| A D | dr_ste.c | 295 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in mlx5dr_ste_free() local 324 dr_ste_remove_head_ste(ste_ctx, ste, in mlx5dr_ste_free() 337 dr_ste_remove_middle_ste(ste_ctx, ste, in mlx5dr_ste_free() 375 if (ste_ctx->prepare_for_postsend) in mlx5dr_ste_prepare_for_postsend() 425 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in mlx5dr_ste_create_next_htbl() local 563 ste_ctx->set_action_set((u8 *)hw_action, in mlx5dr_ste_set_action_set() 635 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in mlx5dr_ste_build_ste_arr() local 646 ste_ctx->ste_init(ste_arr, in mlx5dr_ste_build_ste_arr() 1082 ste_ctx->build_mpls_init(sb, mask); in mlx5dr_ste_build_mpls() 1092 ste_ctx->build_tnl_gre_init(sb, mask); in mlx5dr_ste_build_tnl_gre() [all …]
|
| A D | dr_matcher.c | 397 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in dr_matcher_set_ste_builders() local 454 mlx5dr_ste_build_register_0(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 458 mlx5dr_ste_build_register_1(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 475 mlx5dr_ste_build_eth_l2_src(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 479 mlx5dr_ste_build_eth_l2_dst(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 508 mlx5dr_ste_build_tnl_geneve(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 526 mlx5dr_ste_build_tnl_gtpu(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 535 mlx5dr_ste_build_mpls(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 548 mlx5dr_ste_build_icmp(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() 553 mlx5dr_ste_build_tnl_gre(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders() [all …]
|
| A D | dr_types.h | 242 void mlx5dr_ste_set_miss_addr(struct mlx5dr_ste_ctx *ste_ctx, 244 void mlx5dr_ste_set_hit_addr(struct mlx5dr_ste_ctx *ste_ctx, 281 void mlx5dr_ste_set_actions_rx(struct mlx5dr_ste_ctx *ste_ctx, 287 void mlx5dr_ste_set_actions_tx(struct mlx5dr_ste_ctx *ste_ctx, 294 void mlx5dr_ste_set_action_set(struct mlx5dr_ste_ctx *ste_ctx, 300 void mlx5dr_ste_set_action_add(struct mlx5dr_ste_ctx *ste_ctx, 403 void mlx5dr_ste_build_tnl_gre(struct mlx5dr_ste_ctx *ste_ctx, 407 void mlx5dr_ste_build_mpls(struct mlx5dr_ste_ctx *ste_ctx, 411 void mlx5dr_ste_build_tnl_mpls(struct mlx5dr_ste_ctx *ste_ctx, 425 void mlx5dr_ste_build_icmp(struct mlx5dr_ste_ctx *ste_ctx, [all …]
|
| A D | dr_rule.c | 29 mlx5dr_ste_set_miss_addr(ste_ctx, last_ste->hw_ste, in dr_rule_append_to_miss_list() 46 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in dr_rule_create_collision_htbl() local 62 mlx5dr_ste_set_miss_addr(ste_ctx, hw_ste, in dr_rule_create_collision_htbl() 252 mlx5dr_ste_set_miss_addr(dmn->ste_ctx, hw_ste, in dr_rule_rehash_copy_ste() 407 mlx5dr_ste_set_formatted_ste(dmn->ste_ctx, in dr_rule_rehash_htbl() 453 mlx5dr_ste_set_hit_addr(dmn->ste_ctx, in dr_rule_rehash_htbl() 460 mlx5dr_ste_set_hit_addr_by_next_htbl(dmn->ste_ctx, in dr_rule_rehash_htbl() 516 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in dr_rule_handle_collision() local 528 if (dr_rule_append_to_miss_list(ste_ctx, new_ste, in dr_rule_handle_collision() 731 mlx5dr_ste_set_hit_addr_by_next_htbl(dmn->ste_ctx, in dr_rule_handle_action_stes() [all …]
|
| A D | dr_action.c | 444 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in dr_actions_apply() local 448 mlx5dr_ste_set_actions_rx(ste_ctx, dmn, action_type_set, in dr_actions_apply() 451 mlx5dr_ste_set_actions_tx(ste_ctx, dmn, action_type_set, in dr_actions_apply() 658 !(dmn->ste_ctx->actions_caps & DR_STE_CTX_ACTION_CAP_RX_ENCAP)) { in mlx5dr_actions_build_ste_arr() 683 if (!rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr() 693 if (rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr() 1114 ret = mlx5dr_ste_set_action_decap_l3_list(dmn->ste_ctx, in dr_action_create_reformat_action() 1268 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_add() 1276 mlx5dr_ste_set_action_add(dmn->ste_ctx, in dr_action_modify_sw_to_hw_add() 1322 mlx5dr_ste_set_action_set(dmn->ste_ctx, in dr_action_modify_sw_to_hw_set() [all …]
|
| A D | dr_domain.c | 63 dmn->ste_ctx = mlx5dr_ste_get_ctx(dmn->info.caps.sw_format_ver); in dr_domain_init_resources() 64 if (!dmn->ste_ctx) { in dr_domain_init_resources()
|
| A D | dr_send.c | 450 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, data, size); in mlx5dr_send_postsend_ste() 478 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, formatted_ste, DR_STE_SIZE); in mlx5dr_send_postsend_htbl() 504 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, in mlx5dr_send_postsend_htbl() 554 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, ste_init_data, DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()
|
Completed in 24 milliseconds