Searched refs:ste_arr (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
| D | dr_icm_pool.c | 173 chunk->ste_arr = kvzalloc(bucket->num_of_entries * in dr_icm_chunk_ste_init() 174 sizeof(chunk->ste_arr[0]), GFP_KERNEL); in dr_icm_chunk_ste_init() 175 if (!chunk->ste_arr) in dr_icm_chunk_ste_init() 193 kvfree(chunk->ste_arr); in dr_icm_chunk_ste_init() 280 kvfree(chunk->ste_arr); in dr_icm_chunk_ste_cleanup() 502 memset(chunk->ste_arr, 0, in mlx5dr_icm_free_chunk() 503 bucket->num_of_entries * sizeof(chunk->ste_arr[0])); in mlx5dr_icm_free_chunk()
|
| D | dr_matcher.c | 429 curr_nic_matcher->s_htbl->pointing_ste = prev_htbl->ste_arr; in dr_matcher_connect() 430 prev_htbl->ste_arr[0].next_htbl = curr_nic_matcher->s_htbl; in dr_matcher_connect() 433 next_nic_matcher->s_htbl->pointing_ste = curr_nic_matcher->e_anchor->ste_arr; in dr_matcher_connect() 434 curr_nic_matcher->e_anchor->ste_arr[0].next_htbl = next_nic_matcher->s_htbl; in dr_matcher_connect() 698 next_nic_matcher->s_htbl->pointing_ste = prev_anchor->ste_arr; in dr_matcher_disconnect() 699 prev_anchor->ste_arr[0].next_htbl = next_nic_matcher->s_htbl; in dr_matcher_disconnect() 703 prev_anchor->ste_arr[0].next_htbl = NULL; in dr_matcher_disconnect()
|
| D | dr_rule.c | 59 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() 790 ste = &cur_htbl->ste_arr[index]; in dr_rule_handle_ste_branch()
|
| D | dr_types.h | 154 struct mlx5dr_ste *ste_arr; member 278 u8 *ste_arr); 345 u8 *ste_arr, 796 struct mlx5dr_ste *ste_arr; member
|
| D | dr_ste.c | 286 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_icm_addr() 293 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_mr_addr() 300 u32 index = ste - ste->htbl->ste_arr; in mlx5dr_ste_get_miss_list() 681 htbl->ste_arr = chunk->ste_arr; in mlx5dr_ste_htbl_alloc() 687 struct mlx5dr_ste *ste = &htbl->ste_arr[i]; in mlx5dr_ste_htbl_alloc() 734 u8 *ste_arr) in mlx5dr_ste_build_ste_arr() argument 748 mlx5dr_ste_init(ste_arr, in mlx5dr_ste_build_ste_arr() 753 mlx5dr_ste_set_bit_mask(ste_arr, sb->bit_mask); in mlx5dr_ste_build_ste_arr() 755 ret = sb->ste_build_tag_func(value, sb, ste_arr); in mlx5dr_ste_build_ste_arr() 765 MLX5_SET(ste_general, ste_arr, next_lu_type, sb->lu_type); in mlx5dr_ste_build_ste_arr() [all …]
|
| D | dr_send.c | 465 u8 *hw_ste = htbl->ste_arr[ste_index + j].hw_ste; in mlx5dr_send_postsend_htbl() 474 htbl->ste_arr[ste_index + j].hw_ste, in mlx5dr_send_postsend_htbl() 486 mlx5dr_ste_get_mr_addr(htbl->ste_arr + ste_index); in mlx5dr_send_postsend_htbl() 540 mlx5dr_ste_get_mr_addr(htbl->ste_arr + ste_index); in mlx5dr_send_postsend_formatted_htbl()
|
| D | dr_action.c | 639 u8 *ste_arr, in mlx5dr_actions_build_ste_arr() argument 787 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
|