Searched refs:last_ste (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v1.c | 600 static void dr_ste_v1_arr_init_next_match(u8 **last_ste, in dr_ste_v1_arr_init_next_match() argument 607 *last_ste += DR_STE_SIZE; in dr_ste_v1_arr_init_next_match() 608 dr_ste_v1_init(*last_ste, MLX5DR_STE_LU_TYPE_DONT_CARE, 0, gvmi); in dr_ste_v1_arr_init_next_match() 609 dr_ste_v1_set_entry_type(*last_ste, DR_STE_V1_TYPE_MATCH); in dr_ste_v1_arr_init_next_match() 611 action = MLX5_ADDR_OF(ste_mask_and_match_v1, *last_ste, action); in dr_ste_v1_arr_init_next_match() 615 static void dr_ste_v1_arr_init_next_match_range(u8 **last_ste, in dr_ste_v1_arr_init_next_match_range() argument 619 dr_ste_v1_arr_init_next_match(last_ste, added_stes, gvmi); in dr_ste_v1_arr_init_next_match_range() 620 dr_ste_v1_set_entry_type(*last_ste, DR_STE_V1_TYPE_MATCH_RANGES); in dr_ste_v1_arr_init_next_match_range() 626 u8 *last_ste, in dr_ste_v1_set_actions_tx() argument 630 u8 *action = MLX5_ADDR_OF(ste_match_bwc_v1, last_ste, action); in dr_ste_v1_set_actions_tx() [all …]
|
D | dr_ste_v0.c | 397 static void dr_ste_v0_arr_init_next(u8 **last_ste, in dr_ste_v0_arr_init_next() argument 403 *last_ste += DR_STE_SIZE; in dr_ste_v0_arr_init_next() 404 dr_ste_v0_init_full(*last_ste, MLX5DR_STE_LU_TYPE_DONT_CARE, in dr_ste_v0_arr_init_next() 412 u8 *last_ste, in dr_ste_v0_set_actions_tx() argument 424 dr_ste_v0_set_entry_type(last_ste, DR_STE_TYPE_MODIFY_PKT); in dr_ste_v0_set_actions_tx() 425 dr_ste_v0_set_rewrite_actions(last_ste, in dr_ste_v0_set_actions_tx() 435 dr_ste_v0_arr_init_next(&last_ste, in dr_ste_v0_set_actions_tx() 440 dr_ste_v0_set_tx_push_vlan(last_ste, in dr_ste_v0_set_actions_tx() 453 dr_ste_v0_arr_init_next(&last_ste, in dr_ste_v0_set_actions_tx() 458 dr_ste_v0_set_tx_encap(last_ste, in dr_ste_v0_set_actions_tx() [all …]
|
D | dr_rule.c | 22 struct mlx5dr_ste *last_ste; in dr_rule_append_to_miss_list() local 25 last_ste = list_last_entry(miss_list, struct mlx5dr_ste, miss_list_node); in dr_rule_append_to_miss_list() 26 WARN_ON(!last_ste); in dr_rule_append_to_miss_list() 32 mlx5dr_ste_set_miss_addr(ste_ctx, mlx5dr_ste_get_hw_ste(last_ste), in dr_rule_append_to_miss_list() 36 mlx5dr_send_fill_and_append_ste_send_info(last_ste, DR_STE_SIZE_CTRL, in dr_rule_append_to_miss_list() 37 0, mlx5dr_ste_get_hw_ste(last_ste), in dr_rule_append_to_miss_list() 714 struct mlx5dr_ste *last_ste, in dr_rule_handle_action_stes() argument 744 action_ste->htbl->pointing_ste = last_ste; in dr_rule_handle_action_stes() 745 last_ste->next_htbl = action_ste->htbl; in dr_rule_handle_action_stes() 746 last_ste = action_ste; in dr_rule_handle_action_stes() [all …]
|
D | dr_ste_v1.h | 21 u32 actions_caps, u8 *last_ste, 24 u32 actions_caps, u8 *last_ste,
|
D | dr_action.c | 541 u8 *last_ste, in dr_actions_apply() argument 550 last_ste, attr, &added_stes); in dr_actions_apply() 553 last_ste, attr, &added_stes); in dr_actions_apply() 772 u8 *last_ste; in mlx5dr_actions_build_ste_arr() local 951 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr() 966 last_ste, in mlx5dr_actions_build_ste_arr()
|
D | dr_ste.c | 332 struct mlx5dr_ste *last_ste; in mlx5dr_ste_free() local 334 last_ste = list_last_entry(mlx5dr_ste_get_miss_list(ste), in mlx5dr_ste_free() 336 if (last_ste == first_ste) in mlx5dr_ste_free()
|
D | dr_types.h | 310 u8 *last_ste, 316 u8 *last_ste,
|