Searched refs:last_ste (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v1.c | 523 static void dr_ste_v1_arr_init_next_match(u8 **last_ste, in dr_ste_v1_arr_init_next_match() argument 530 *last_ste += DR_STE_SIZE; in dr_ste_v1_arr_init_next_match() 531 dr_ste_v1_init(*last_ste, MLX5DR_STE_LU_TYPE_DONT_CARE, 0, gvmi); in dr_ste_v1_arr_init_next_match() 532 dr_ste_v1_set_entry_type(*last_ste, DR_STE_V1_TYPE_MATCH); in dr_ste_v1_arr_init_next_match() 534 action = MLX5_ADDR_OF(ste_mask_and_match_v1, *last_ste, action); in dr_ste_v1_arr_init_next_match() 541 u8 *last_ste, in dr_ste_v1_set_actions_tx() argument 545 u8 *action = MLX5_ADDR_OF(ste_match_bwc_v1, last_ste, action); in dr_ste_v1_set_actions_tx() 552 dr_ste_v1_arr_init_next_match(&last_ste, added_stes, in dr_ste_v1_set_actions_tx() 555 last_ste, action); in dr_ste_v1_set_actions_tx() 558 dr_ste_v1_set_pop_vlan(last_ste, action, attr->vlans.count); 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 | 14 struct mlx5dr_ste *last_ste; in dr_rule_append_to_miss_list() local 17 last_ste = list_last_entry(miss_list, struct mlx5dr_ste, miss_list_node); in dr_rule_append_to_miss_list() 18 WARN_ON(!last_ste); in dr_rule_append_to_miss_list() 24 mlx5dr_ste_set_miss_addr(ste_ctx, mlx5dr_ste_get_hw_ste(last_ste), in dr_rule_append_to_miss_list() 28 mlx5dr_send_fill_and_append_ste_send_info(last_ste, DR_STE_SIZE_CTRL, in dr_rule_append_to_miss_list() 29 0, mlx5dr_ste_get_hw_ste(last_ste), in dr_rule_append_to_miss_list() 686 struct mlx5dr_ste *last_ste, in dr_rule_handle_action_stes() argument 716 action_ste->htbl->pointing_ste = last_ste; in dr_rule_handle_action_stes() 717 last_ste->next_htbl = action_ste->htbl; in dr_rule_handle_action_stes() 718 last_ste = action_ste; in dr_rule_handle_action_stes() [all …]
|
D | dr_ste_v1.h | 20 u32 actions_caps, u8 *last_ste, 23 u32 actions_caps, u8 *last_ste,
|
D | dr_action.c | 501 u8 *last_ste, in dr_actions_apply() argument 510 last_ste, attr, &added_stes); in dr_actions_apply() 513 last_ste, attr, &added_stes); in dr_actions_apply() 655 u8 *last_ste; in mlx5dr_actions_build_ste_arr() local 832 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr() 847 last_ste, in mlx5dr_actions_build_ste_arr()
|
D | dr_ste.c | 321 struct mlx5dr_ste *last_ste; in mlx5dr_ste_free() local 323 last_ste = list_last_entry(mlx5dr_ste_get_miss_list(ste), in mlx5dr_ste_free() 325 if (last_ste == first_ste) in mlx5dr_ste_free()
|
D | dr_types.h | 287 u8 *last_ste, 293 u8 *last_ste,
|