Searched refs:ste_arr (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_icm_pool.c | 216 chunk->ste_arr = &buddy->ste_arr[index]; in dr_icm_chunk_ste_init() 221 memset(chunk->ste_arr, 0, in dr_icm_chunk_ste_init() 222 num_of_entries * sizeof(chunk->ste_arr[0])); in dr_icm_chunk_ste_init() 230 buddy->ste_arr = kvcalloc(num_of_entries, in dr_icm_buddy_init_ste_cache() 232 if (!buddy->ste_arr) in dr_icm_buddy_init_ste_cache() 252 kvfree(buddy->ste_arr); in dr_icm_buddy_init_ste_cache() 258 kvfree(buddy->ste_arr); in dr_icm_buddy_cleanup_ste_cache()
|
D | dr_rule.c | 77 ste = new_htbl->chunk->ste_arr; in dr_rule_create_collision_htbl() 272 new_ste = &new_htbl->chunk->ste_arr[new_idx]; in dr_rule_rehash_copy_ste() 367 cur_ste = &cur_htbl->chunk->ste_arr[i]; in dr_rule_rehash_copy_htbl() 485 ste_to_update = &prev_htbl->chunk->ste_arr[0]; in dr_rule_rehash_htbl() 639 int mlx5dr_rule_get_reverse_rule_members(struct mlx5dr_ste **ste_arr, in mlx5dr_rule_get_reverse_rule_members() argument 653 ste_arr[*num_of_stes] = curr_ste; in mlx5dr_rule_get_reverse_rule_members() 664 struct mlx5dr_ste *ste_arr[DR_RULE_MAX_STES + DR_ACTION_MAX_STES]; in dr_rule_clean_rule_members() local 668 if (mlx5dr_rule_get_reverse_rule_members(ste_arr, curr_ste, &i)) in dr_rule_clean_rule_members() 672 mlx5dr_ste_put(ste_arr[i], rule->matcher, nic_rule->nic_matcher); in dr_rule_clean_rule_members() 857 ste = &cur_htbl->chunk->ste_arr[index]; in dr_rule_handle_ste_branch()
|
D | dr_ste.c | 127 u32 index = ste - ste->htbl->chunk->ste_arr; in mlx5dr_ste_get_icm_addr() 134 u32 index = ste - ste->htbl->chunk->ste_arr; in mlx5dr_ste_get_mr_addr() 141 u64 index = ste - ste->htbl->chunk->ste_arr; in mlx5dr_ste_get_hw_ste() 148 u32 index = ste - ste->htbl->chunk->ste_arr; in mlx5dr_ste_get_miss_list() 523 struct mlx5dr_ste *ste = &chunk->ste_arr[i]; in mlx5dr_ste_htbl_alloc() 749 u8 *ste_arr) in mlx5dr_ste_build_ste_arr() argument 765 ste_ctx->ste_init(ste_arr, in mlx5dr_ste_build_ste_arr() 770 mlx5dr_ste_set_bit_mask(ste_arr, sb->bit_mask); in mlx5dr_ste_build_ste_arr() 772 ret = sb->ste_build_tag_func(value, sb, dr_ste_get_tag(ste_arr)); in mlx5dr_ste_build_ste_arr() 782 ste_ctx->set_next_lu_type(ste_arr, sb->lu_type); in mlx5dr_ste_build_ste_arr() [all …]
|
D | dr_matcher.c | 729 curr_nic_matcher->s_htbl->pointing_ste = prev_htbl->chunk->ste_arr; in dr_nic_matcher_connect() 730 prev_htbl->chunk->ste_arr[0].next_htbl = curr_nic_matcher->s_htbl; in dr_nic_matcher_connect() 734 curr_nic_matcher->e_anchor->chunk->ste_arr; in dr_nic_matcher_connect() 735 curr_nic_matcher->e_anchor->chunk->ste_arr[0].next_htbl = in dr_nic_matcher_connect() 1048 next_nic_matcher->s_htbl->pointing_ste = prev_anchor->chunk->ste_arr; in dr_matcher_disconnect_nic() 1049 prev_anchor->chunk->ste_arr[0].next_htbl = next_nic_matcher->s_htbl; in dr_matcher_disconnect_nic() 1053 prev_anchor->chunk->ste_arr[0].next_htbl = NULL; in dr_matcher_disconnect_nic()
|
D | dr_dbg.c | 291 struct mlx5dr_ste *ste_arr[DR_RULE_MAX_STES + DR_ACTION_MAX_STES]; in dr_dump_rule_rx_tx() local 295 if (mlx5dr_rule_get_reverse_rule_members(ste_arr, curr_ste, &i)) in dr_dump_rule_rx_tx() 299 ret = dr_dump_rule_mem(file, ste_arr[i], is_rx, rule_id, in dr_dump_rule_rx_tx()
|
D | mlx5dr.h | 187 struct mlx5dr_ste *ste_arr; member
|
D | dr_types.h | 390 u8 *ste_arr); 526 u8 *ste_arr, 1171 int mlx5dr_rule_get_reverse_rule_members(struct mlx5dr_ste **ste_arr, 1185 struct mlx5dr_ste *ste_arr; member
|
D | dr_send.c | 828 struct mlx5dr_ste *ste = &htbl->chunk->ste_arr[ste_index + j]; in mlx5dr_send_postsend_htbl() 854 mlx5dr_ste_get_mr_addr(htbl->chunk->ste_arr + ste_index); in mlx5dr_send_postsend_htbl() 911 mlx5dr_ste_get_mr_addr(htbl->chunk->ste_arr + ste_index); in mlx5dr_send_postsend_formatted_htbl()
|
D | dr_action.c | 753 u8 *ste_arr, in mlx5dr_actions_build_ste_arr() argument 937 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
|