Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c481 prev_htbl->chunk->hw_ste_arr, in dr_rule_rehash_htbl()
715 u8 *hw_ste_arr, in dr_rule_handle_action_stes() argument
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()
1130 u8 *hw_ste_arr = NULL; in dr_rule_create_rule_nic() local
1152 hw_ste_arr = hw_ste_arr_optimized; in dr_rule_create_rule_nic()
1154 hw_ste_arr = kzalloc((nic_matcher->num_of_builders + DR_ACTION_MAX_STES) * in dr_rule_create_rule_nic()
1157 if (!hw_ste_arr) { in dr_rule_create_rule_nic()
1168 ret = mlx5dr_ste_build_ste_arr(matcher, nic_matcher, param, hw_ste_arr); in dr_rule_create_rule_nic()
1174 num_actions, hw_ste_arr, in dr_rule_create_rule_nic()
[all …]
Ddr_icm_pool.c218 chunk->hw_ste_arr = buddy->hw_ste_arr + index * ste_size; in dr_icm_chunk_ste_init()
220 memset(chunk->hw_ste_arr, 0, num_of_entries * ste_size); in dr_icm_chunk_ste_init()
238 buddy->hw_ste_arr = kvcalloc(num_of_entries, in dr_icm_buddy_init_ste_cache()
240 if (!buddy->hw_ste_arr) in dr_icm_buddy_init_ste_cache()
250 kvfree(buddy->hw_ste_arr); in dr_icm_buddy_init_ste_cache()
259 kvfree(buddy->hw_ste_arr); in dr_icm_buddy_cleanup_ste_cache()
Ddr_ste.h166 u8 *hw_ste_arr,
172 u8 *hw_ste_arr,
Dmlx5dr.h184 u8 *hw_ste_arr; member
Ddr_ste.c143 return ste->htbl->chunk->hw_ste_arr + DR_STE_SIZE_REDUCED * index; in mlx5dr_ste_get_hw_ste()
554 u8 *hw_ste_arr, in mlx5dr_ste_set_actions_tx() argument
559 hw_ste_arr, attr, added_stes); in mlx5dr_ste_set_actions_tx()
565 u8 *hw_ste_arr, in mlx5dr_ste_set_actions_rx() argument
570 hw_ste_arr, attr, added_stes); in mlx5dr_ste_set_actions_rx()
Ddr_send.c749 htbl->chunk->hw_ste_arr + in mlx5dr_send_postsend_htbl()
801 copy_dst = htbl->chunk->hw_ste_arr + i * DR_STE_SIZE_REDUCED; in mlx5dr_send_postsend_formatted_htbl()
Ddr_types.h1183 u8 *hw_ste_arr; member