Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c401 *num_stes = *byte_size / DR_STE_SIZE; in dr_get_tbl_copy_details()
405 alloc_size = *num_stes * DR_STE_SIZE; in dr_get_tbl_copy_details()
462 u32 ste_index = i * (byte_size / DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
470 u32 ste_off = j * DR_STE_SIZE; in mlx5dr_send_postsend_htbl()
474 formatted_ste, DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
525 copy_dst = data + i * DR_STE_SIZE; in mlx5dr_send_postsend_formatted_htbl()
526 memcpy(copy_dst, ste_init_data, DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()
537 u8 ste_index = i * (byte_size / DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()
904 DR_STE_SIZE); in mlx5dr_send_ring_alloc()
974 u8 data[DR_STE_SIZE]; in mlx5dr_send_ring_force_drain()
[all …]
Ddr_rule.c229 u8 hw_ste[DR_STE_SIZE] = {}; in dr_rule_rehash_copy_ste()
273 mlx5dr_send_fill_and_append_ste_send_info(new_ste, DR_STE_SIZE, 0, in dr_rule_rehash_copy_ste()
369 u8 formatted_ste[DR_STE_SIZE] = {}; in dr_rule_rehash_htbl()
515 mlx5dr_send_fill_and_append_ste_send_info(new_ste, DR_STE_SIZE, 0, hw_ste, in dr_rule_handle_collision()
675 curr_hw_ste = hw_ste_arr + i * DR_STE_SIZE; in dr_rule_handle_action_stes()
676 prev_hw_ste = (i == 0) ? curr_hw_ste : hw_ste_arr + ((i - 1) * DR_STE_SIZE); in dr_rule_handle_action_stes()
701 mlx5dr_send_fill_and_append_ste_send_info(action_ste, DR_STE_SIZE, 0, in dr_rule_handle_action_stes()
752 mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, 0, hw_ste, in dr_rule_handle_empty_entry()
1042 hw_ste_arr = kzalloc(DR_RULE_MAX_STE_CHAIN * DR_STE_SIZE, GFP_KERNEL); in dr_rule_create_rule_nic()
1075 u8 *cur_hw_ste_ent = hw_ste_arr + (i * DR_STE_SIZE); in dr_rule_create_rule_nic()
Ddr_types.h68 DR_STE_SIZE = 64, enumerator
75 DR_STE_SIZE_REDUCED = DR_STE_SIZE - DR_STE_SIZE_MASK,
176 u8 data_cont[DR_STE_SIZE];
875 entry_size = DR_STE_SIZE; in mlx5dr_icm_pool_chunk_size_to_byte()
Ddr_ste.c303 return ste->htbl->chunk->icm_addr + DR_STE_SIZE * index; in mlx5dr_ste_get_icm_addr()
310 return ste->htbl->chunk->mr_addr + DR_STE_SIZE * index; in mlx5dr_ste_get_mr_addr()
372 u8 tmp_data_ste[DR_STE_SIZE] = {}; in dr_ste_remove_head_ste()
389 mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, in dr_ste_remove_head_ste()
583 u8 formatted_ste[DR_STE_SIZE] = {}; in mlx5dr_ste_htbl_init_and_postsend()
771 ste_arr += DR_STE_SIZE; in mlx5dr_ste_build_ste_arr()
Ddr_action.c403 *last_ste += DR_STE_SIZE; in dr_actions_init_next_ste()
550 last_ste += added_stes * DR_STE_SIZE; in dr_actions_apply()
790 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
Ddr_icm_pool.c298 bucket->entry_size = DR_STE_SIZE; in dr_icm_bucket_init()