Home
last modified time | relevance | path

Searched refs:ste_ctx (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ste.c97 if (!ste_ctx->is_miss_addr_set) in mlx5dr_ste_is_miss_addr_set()
314 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in mlx5dr_ste_free() local
343 dr_ste_remove_head_ste(ste_ctx, ste, in mlx5dr_ste_free()
396 if (ste_ctx->prepare_for_postsend) in mlx5dr_ste_prepare_for_postsend()
453 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in mlx5dr_ste_create_next_htbl() local
558 ste_ctx->set_actions_tx(dmn, action_type_set, ste_ctx->actions_caps, in mlx5dr_ste_set_actions_tx()
569 ste_ctx->set_actions_rx(dmn, action_type_set, ste_ctx->actions_caps, in mlx5dr_ste_set_actions_rx()
754 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in mlx5dr_ste_build_ste_arr() local
765 ste_ctx->ste_init(ste_arr, in mlx5dr_ste_build_ste_arr()
1238 ste_ctx->build_mpls_init(sb, mask); in mlx5dr_ste_build_mpls()
[all …]
A Ddr_matcher.c409 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in dr_matcher_set_ste_builders() local
470 mlx5dr_ste_build_register_0(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
474 mlx5dr_ste_build_register_1(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
491 mlx5dr_ste_build_eth_l2_src(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
495 mlx5dr_ste_build_eth_l2_dst(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
525 mlx5dr_ste_build_tnl_geneve(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
547 mlx5dr_ste_build_tnl_gtpu(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
559 mlx5dr_ste_build_mpls(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
572 mlx5dr_ste_build_icmp(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
577 mlx5dr_ste_build_tnl_gre(ste_ctx, &sb[idx++], in dr_matcher_set_ste_builders()
[all …]
A Ddr_types.h250 void mlx5dr_ste_set_miss_addr(struct mlx5dr_ste_ctx *ste_ctx,
252 void mlx5dr_ste_set_hit_addr(struct mlx5dr_ste_ctx *ste_ctx,
307 void mlx5dr_ste_set_actions_rx(struct mlx5dr_ste_ctx *ste_ctx,
313 void mlx5dr_ste_set_actions_tx(struct mlx5dr_ste_ctx *ste_ctx,
320 void mlx5dr_ste_set_action_set(struct mlx5dr_ste_ctx *ste_ctx,
326 void mlx5dr_ste_set_action_add(struct mlx5dr_ste_ctx *ste_ctx,
332 void mlx5dr_ste_set_action_copy(struct mlx5dr_ste_ctx *ste_ctx,
431 void mlx5dr_ste_build_tnl_gre(struct mlx5dr_ste_ctx *ste_ctx,
435 void mlx5dr_ste_build_mpls(struct mlx5dr_ste_ctx *ste_ctx,
449 void mlx5dr_ste_build_icmp(struct mlx5dr_ste_ctx *ste_ctx,
[all …]
A Ddr_rule.c20 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in dr_rule_append_to_miss_list() local
32 mlx5dr_ste_set_miss_addr(ste_ctx, mlx5dr_ste_get_hw_ste(last_ste), in dr_rule_append_to_miss_list()
47 struct mlx5dr_ste_ctx *ste_ctx = matcher->tbl->dmn->ste_ctx; in dr_rule_set_last_ste_miss_addr() local
50 if (mlx5dr_ste_is_miss_addr_set(ste_ctx, hw_ste)) in dr_rule_set_last_ste_miss_addr()
54 mlx5dr_ste_set_miss_addr(ste_ctx, hw_ste, icm_addr); in dr_rule_set_last_ste_miss_addr()
434 mlx5dr_ste_set_formatted_ste(dmn->ste_ctx, in dr_rule_rehash_htbl()
480 mlx5dr_ste_set_hit_addr(dmn->ste_ctx, in dr_rule_rehash_htbl()
487 mlx5dr_ste_set_hit_addr_by_next_htbl(dmn->ste_ctx, in dr_rule_rehash_htbl()
758 mlx5dr_ste_set_hit_addr_by_next_htbl(dmn->ste_ctx, in dr_rule_handle_action_stes()
A Ddr_action.c545 struct mlx5dr_ste_ctx *ste_ctx = dmn->ste_ctx; in dr_actions_apply() local
549 mlx5dr_ste_set_actions_rx(ste_ctx, dmn, action_type_set, in dr_actions_apply()
552 mlx5dr_ste_set_actions_tx(ste_ctx, dmn, action_type_set, in dr_actions_apply()
865 !(dmn->ste_ctx->actions_caps & DR_STE_CTX_ACTION_CAP_RX_ENCAP)) { in mlx5dr_actions_build_ste_arr()
890 if (!rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
900 if (rx_rule && !(dmn->ste_ctx->actions_caps & in mlx5dr_actions_build_ste_arr()
1465 ret = mlx5dr_ste_set_action_decap_l3_list(dmn->ste_ctx, in dr_action_create_reformat_action()
1611 hw_action_info = mlx5dr_ste_conv_modify_hdr_sw_field(dmn->ste_ctx, sw_field); in dr_action_modify_sw_to_hw_add()
1619 mlx5dr_ste_set_action_add(dmn->ste_ctx, in dr_action_modify_sw_to_hw_add()
1665 mlx5dr_ste_set_action_set(dmn->ste_ctx, in dr_action_modify_sw_to_hw_set()
[all …]
A Ddr_domain.c167 dmn->ste_ctx = mlx5dr_ste_get_ctx(dmn->info.caps.sw_format_ver); in dr_domain_init_resources()
168 if (!dmn->ste_ctx) { in dr_domain_init_resources()
A Ddr_send.c701 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, data, size); in mlx5dr_send_postsend_ste()
729 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, formatted_ste, DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
756 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, in mlx5dr_send_postsend_htbl()
806 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, ste_init_data, DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()

Completed in 36 milliseconds