Searched refs:ste_arr (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_icm_pool.c | 153 chunk->ste_arr = &buddy->ste_arr[index]; in dr_icm_chunk_ste_init() 165 memset(chunk->ste_arr, 0, in dr_icm_chunk_ste_cleanup() 166 chunk->num_of_entries * sizeof(chunk->ste_arr[0])); in dr_icm_chunk_ste_cleanup() 194 buddy->ste_arr = kvcalloc(num_of_entries, in dr_icm_buddy_init_ste_cache() 196 if (!buddy->ste_arr) in dr_icm_buddy_init_ste_cache() 216 kvfree(buddy->ste_arr); in dr_icm_buddy_init_ste_cache() 222 kvfree(buddy->ste_arr); in dr_icm_buddy_cleanup_ste_cache()
|
D | dr_rule.c | 61 ste = new_htbl->ste_arr; in dr_rule_create_collision_htbl() 256 new_ste = &new_htbl->ste_arr[new_idx]; in dr_rule_rehash_copy_ste() 350 cur_ste = &cur_htbl->ste_arr[i]; in dr_rule_rehash_copy_htbl() 454 prev_htbl->ste_arr[0].hw_ste, in dr_rule_rehash_htbl() 458 ste_to_update = &prev_htbl->ste_arr[0]; in dr_rule_rehash_htbl() 612 int mlx5dr_rule_get_reverse_rule_members(struct mlx5dr_ste **ste_arr, in mlx5dr_rule_get_reverse_rule_members() argument 626 ste_arr[*num_of_stes] = curr_ste; in mlx5dr_rule_get_reverse_rule_members() 637 struct mlx5dr_ste *ste_arr[DR_RULE_MAX_STES + DR_ACTION_MAX_STES]; in dr_rule_clean_rule_members() local 641 if (mlx5dr_rule_get_reverse_rule_members(ste_arr, curr_ste, &i)) in dr_rule_clean_rule_members() 645 mlx5dr_ste_put(ste_arr[i], rule->matcher, nic_rule->nic_matcher); in dr_rule_clean_rule_members() [all …]
|
D | dr_ste.c | 117 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_icm_addr() 124 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_mr_addr() 131 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_miss_list() 487 htbl->ste_arr = chunk->ste_arr; in mlx5dr_ste_htbl_alloc() 493 struct mlx5dr_ste *ste = &htbl->ste_arr[i]; in mlx5dr_ste_htbl_alloc() 661 u8 *ste_arr) in mlx5dr_ste_build_ste_arr() argument 677 ste_ctx->ste_init(ste_arr, in mlx5dr_ste_build_ste_arr() 682 mlx5dr_ste_set_bit_mask(ste_arr, sb->bit_mask); in mlx5dr_ste_build_ste_arr() 684 ret = sb->ste_build_tag_func(value, sb, dr_ste_get_tag(ste_arr)); in mlx5dr_ste_build_ste_arr() 694 ste_ctx->set_next_lu_type(ste_arr, sb->lu_type); in mlx5dr_ste_build_ste_arr() [all …]
|
D | dr_matcher.c | 692 curr_nic_matcher->s_htbl->pointing_ste = prev_htbl->ste_arr; in dr_matcher_connect() 693 prev_htbl->ste_arr[0].next_htbl = curr_nic_matcher->s_htbl; in dr_matcher_connect() 696 next_nic_matcher->s_htbl->pointing_ste = curr_nic_matcher->e_anchor->ste_arr; in dr_matcher_connect() 697 curr_nic_matcher->e_anchor->ste_arr[0].next_htbl = next_nic_matcher->s_htbl; in dr_matcher_connect() 969 next_nic_matcher->s_htbl->pointing_ste = prev_anchor->ste_arr; in dr_matcher_disconnect() 970 prev_anchor->ste_arr[0].next_htbl = next_nic_matcher->s_htbl; in dr_matcher_disconnect() 974 prev_anchor->ste_arr[0].next_htbl = NULL; in dr_matcher_disconnect()
|
D | dr_types.h | 181 struct mlx5dr_ste *ste_arr; member 362 u8 *ste_arr); 489 u8 *ste_arr, 1016 int mlx5dr_rule_get_reverse_rule_members(struct mlx5dr_ste **ste_arr, 1035 struct mlx5dr_ste *ste_arr; member
|
D | mlx5dr.h | 166 struct mlx5dr_ste *ste_arr; member
|
D | dr_send.c | 489 struct mlx5dr_ste *ste = &htbl->ste_arr[ste_index + j]; in mlx5dr_send_postsend_htbl() 498 htbl->ste_arr[ste_index + j].hw_ste, in mlx5dr_send_postsend_htbl() 514 mlx5dr_ste_get_mr_addr(htbl->ste_arr + ste_index); in mlx5dr_send_postsend_htbl() 571 mlx5dr_ste_get_mr_addr(htbl->ste_arr + ste_index); in mlx5dr_send_postsend_formatted_htbl()
|
D | dr_action.c | 550 u8 *ste_arr, in mlx5dr_actions_build_ste_arr() argument 738 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
|