Home
last modified time | relevance | path

Searched refs:DR_STE_SIZE (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c668 *num_stes = *byte_size / DR_STE_SIZE; in dr_get_tbl_copy_details()
672 alloc_size = *num_stes * DR_STE_SIZE; in dr_get_tbl_copy_details()
729 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, formatted_ste, DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
733 u32 ste_index = i * (byte_size / DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
741 u32 ste_off = j * DR_STE_SIZE; in mlx5dr_send_postsend_htbl()
745 formatted_ste, DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
757 data + (j * DR_STE_SIZE), in mlx5dr_send_postsend_htbl()
758 DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
806 mlx5dr_ste_prepare_for_postsend(dmn->ste_ctx, ste_init_data, DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()
810 copy_dst = data + i * DR_STE_SIZE; in mlx5dr_send_postsend_formatted_htbl()
[all …]
Ddr_rule.c258 u8 hw_ste[DR_STE_SIZE] = {}; in dr_rule_rehash_copy_ste()
303 mlx5dr_send_fill_and_append_ste_send_info(new_ste, DR_STE_SIZE, 0, in dr_rule_rehash_copy_ste()
408 u8 formatted_ste[DR_STE_SIZE] = {}; in dr_rule_rehash_htbl()
561 mlx5dr_send_fill_and_append_ste_send_info(new_ste, DR_STE_SIZE, 0, hw_ste, in dr_rule_handle_collision()
734 curr_hw_ste = hw_ste_arr + i * DR_STE_SIZE; in dr_rule_handle_action_stes()
735 prev_hw_ste = (i == 0) ? curr_hw_ste : hw_ste_arr + ((i - 1) * DR_STE_SIZE); in dr_rule_handle_action_stes()
764 mlx5dr_send_fill_and_append_ste_send_info(action_ste, DR_STE_SIZE, 0, in dr_rule_handle_action_stes()
817 mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, 0, hw_ste, in dr_rule_handle_empty_entry()
1119 u8 hw_ste_arr_optimized[DR_RULE_MAX_STE_CHAIN_OPTIMIZED * DR_STE_SIZE] = {}; in dr_rule_create_rule_nic()
1155 DR_STE_SIZE, GFP_KERNEL); in dr_rule_create_rule_nic()
[all …]
Ddr_ste.c129 return base_icm_addr + DR_STE_SIZE * index; in mlx5dr_ste_get_icm_addr()
136 return mlx5dr_icm_pool_get_chunk_mr_addr(ste->htbl->chunk) + DR_STE_SIZE * index; in mlx5dr_ste_get_mr_addr()
205 u8 tmp_data_ste[DR_STE_SIZE] = {}; in dr_ste_remove_head_ste()
221 mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, in dr_ste_remove_head_ste()
243 u8 hw_ste[DR_STE_SIZE] = {}; in dr_ste_replace_head_ste()
268 mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, in dr_ste_replace_head_ste()
409 u8 tmp_hw_ste[DR_STE_SIZE] = {0}; in mlx5dr_ste_set_formatted_ste()
433 u8 formatted_ste[DR_STE_SIZE] = {}; in mlx5dr_ste_htbl_init_and_postsend()
785 ste_arr += DR_STE_SIZE; in mlx5dr_ste_build_ste_arr()
Ddr_types.h89 DR_STE_SIZE = 64, enumerator
94 DR_STE_SIZE_REDUCED = DR_STE_SIZE - DR_STE_SIZE_MASK,
204 u8 data_cont[DR_STE_SIZE];
1236 return DR_STE_SIZE; in mlx5dr_icm_pool_dm_type_to_entry_size()
Ddr_icm_pool.c214 int index = offset / DR_STE_SIZE; in dr_icm_chunk_ste_init()
Ddr_ste_v1.c360 WARN_ON(ste_size != DR_STE_SIZE); in dr_ste_v1_prepare_for_postsend()
607 *last_ste += DR_STE_SIZE; in dr_ste_v1_arr_init_next_match()
Ddr_action.c944 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
Ddr_ste_v0.c403 *last_ste += DR_STE_SIZE; in dr_ste_v0_arr_init_next()