Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c183 chunk->ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init()
184 sizeof(chunk->ste_arr[0]), GFP_KERNEL); in dr_icm_chunk_ste_init()
185 if (!chunk->ste_arr) in dr_icm_chunk_ste_init()
203 kvfree(chunk->ste_arr); in dr_icm_chunk_ste_init()
277 kvfree(chunk->ste_arr); in dr_icm_chunk_ste_cleanup()
499 memset(chunk->ste_arr, 0, in mlx5dr_icm_free_chunk()
500 bucket->num_of_entries * sizeof(chunk->ste_arr[0])); in mlx5dr_icm_free_chunk()
Ddr_matcher.c449 curr_nic_matcher->s_htbl->pointing_ste = prev_htbl->ste_arr; in dr_matcher_connect()
450 prev_htbl->ste_arr[0].next_htbl = curr_nic_matcher->s_htbl; in dr_matcher_connect()
453 next_nic_matcher->s_htbl->pointing_ste = curr_nic_matcher->e_anchor->ste_arr; in dr_matcher_connect()
454 curr_nic_matcher->e_anchor->ste_arr[0].next_htbl = next_nic_matcher->s_htbl; in dr_matcher_connect()
726 next_nic_matcher->s_htbl->pointing_ste = prev_anchor->ste_arr; in dr_matcher_disconnect()
727 prev_anchor->ste_arr[0].next_htbl = next_nic_matcher->s_htbl; in dr_matcher_disconnect()
731 prev_anchor->ste_arr[0].next_htbl = NULL; in dr_matcher_disconnect()
Ddr_rule.c59 ste = new_htbl->ste_arr; in dr_rule_create_collision_htbl()
243 new_ste = &new_htbl->ste_arr[new_idx]; in dr_rule_rehash_copy_ste()
337 cur_ste = &cur_htbl->ste_arr[i]; in dr_rule_rehash_copy_htbl()
439 mlx5dr_ste_set_hit_addr(prev_htbl->ste_arr[0].hw_ste, in dr_rule_rehash_htbl()
443 ste_to_update = &prev_htbl->ste_arr[0]; in dr_rule_rehash_htbl()
792 ste = &cur_htbl->ste_arr[index]; in dr_rule_handle_ste_branch()
Ddr_ste.c302 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_icm_addr()
309 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_mr_addr()
316 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_miss_list()
678 htbl->ste_arr = chunk->ste_arr; in mlx5dr_ste_htbl_alloc()
684 struct mlx5dr_ste *ste = &htbl->ste_arr[i]; in mlx5dr_ste_htbl_alloc()
738 u8 *ste_arr) in mlx5dr_ste_build_ste_arr() argument
752 mlx5dr_ste_init(ste_arr, in mlx5dr_ste_build_ste_arr()
757 mlx5dr_ste_set_bit_mask(ste_arr, sb->bit_mask); in mlx5dr_ste_build_ste_arr()
759 ret = sb->ste_build_tag_func(value, sb, mlx5dr_ste_get_tag(ste_arr)); in mlx5dr_ste_build_ste_arr()
769 MLX5_SET(ste_general, ste_arr, next_lu_type, sb->lu_type); in mlx5dr_ste_build_ste_arr()
[all …]
Ddr_types.h160 struct mlx5dr_ste *ste_arr; member
290 u8 *ste_arr);
360 u8 *ste_arr,
821 struct mlx5dr_ste *ste_arr; member
Ddr_send.c469 struct mlx5dr_ste *ste = &htbl->ste_arr[ste_index + j]; in mlx5dr_send_postsend_htbl()
478 htbl->ste_arr[ste_index + j].hw_ste, in mlx5dr_send_postsend_htbl()
490 mlx5dr_ste_get_mr_addr(htbl->ste_arr + ste_index); in mlx5dr_send_postsend_htbl()
544 mlx5dr_ste_get_mr_addr(htbl->ste_arr + ste_index); in mlx5dr_send_postsend_formatted_htbl()
Ddr_action.c639 u8 *ste_arr, in mlx5dr_actions_build_ste_arr() argument
791 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()