Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c397 *num_stes = *byte_size / DR_STE_SIZE; in dr_get_tbl_copy_details()
401 alloc_size = *num_stes * DR_STE_SIZE; in dr_get_tbl_copy_details()
458 u32 ste_index = i * (byte_size / DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
466 u32 ste_off = j * DR_STE_SIZE; in mlx5dr_send_postsend_htbl()
470 formatted_ste, DR_STE_SIZE); in mlx5dr_send_postsend_htbl()
521 copy_dst = data + i * DR_STE_SIZE; in mlx5dr_send_postsend_formatted_htbl()
522 memcpy(copy_dst, ste_init_data, DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()
533 u8 ste_index = i * (byte_size / DR_STE_SIZE); in mlx5dr_send_postsend_formatted_htbl()
882 DR_STE_SIZE); in mlx5dr_send_ring_alloc()
952 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()
673 curr_hw_ste = hw_ste_arr + i * DR_STE_SIZE; in dr_rule_handle_action_stes()
674 prev_hw_ste = (i == 0) ? curr_hw_ste : hw_ste_arr + ((i - 1) * DR_STE_SIZE); in dr_rule_handle_action_stes()
699 mlx5dr_send_fill_and_append_ste_send_info(action_ste, DR_STE_SIZE, 0, in dr_rule_handle_action_stes()
750 mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, 0, hw_ste, in dr_rule_handle_empty_entry()
1045 hw_ste_arr = kzalloc(DR_RULE_MAX_STE_CHAIN * DR_STE_SIZE, GFP_KERNEL); in dr_rule_create_rule_nic()
1071 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,
170 u8 data_cont[DR_STE_SIZE];
831 entry_size = DR_STE_SIZE; in mlx5dr_icm_pool_chunk_size_to_byte()
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()
787 last_ste = ste_arr + DR_STE_SIZE * (nic_matcher->num_of_builders - 1); in mlx5dr_actions_build_ste_arr()
Ddr_ste.c288 return ste->htbl->chunk->icm_addr + DR_STE_SIZE * index; in mlx5dr_ste_get_icm_addr()
295 return ste->htbl->chunk->mr_addr + DR_STE_SIZE * index; in mlx5dr_ste_get_mr_addr()
357 u8 tmp_data_ste[DR_STE_SIZE] = {}; in dr_ste_remove_head_ste()
374 mlx5dr_send_fill_and_append_ste_send_info(ste, DR_STE_SIZE, in dr_ste_remove_head_ste()
587 u8 formatted_ste[DR_STE_SIZE] = {}; in mlx5dr_ste_htbl_init_and_postsend()
768 ste_arr += DR_STE_SIZE; in mlx5dr_ste_build_ste_arr()
Ddr_icm_pool.c301 bucket->entry_size = DR_STE_SIZE; in dr_icm_bucket_init()