Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_icm_pool.c185 chunk->hw_ste_arr = buddy->hw_ste_arr + in dr_icm_chunk_ste_init()
194 memset(chunk->hw_ste_arr, 0, in dr_icm_chunk_ste_cleanup()
233 buddy->hw_ste_arr = kvcalloc(num_of_entries, in dr_icm_buddy_init_ste_cache()
235 if (!buddy->hw_ste_arr) in dr_icm_buddy_init_ste_cache()
245 kvfree(buddy->hw_ste_arr); in dr_icm_buddy_init_ste_cache()
254 kvfree(buddy->hw_ste_arr); in dr_icm_buddy_cleanup_ste_cache()
Ddr_rule.c453 prev_htbl->chunk->hw_ste_arr, in dr_rule_rehash_htbl()
687 u8 *hw_ste_arr, in dr_rule_handle_action_stes() argument
706 curr_hw_ste = hw_ste_arr + i * DR_STE_SIZE; in dr_rule_handle_action_stes()
707 prev_hw_ste = (i == 0) ? curr_hw_ste : hw_ste_arr + ((i - 1) * DR_STE_SIZE); in dr_rule_handle_action_stes()
1101 u8 *hw_ste_arr = NULL; in dr_rule_create_rule_nic() local
1112 hw_ste_arr = kzalloc(DR_RULE_MAX_STE_CHAIN * DR_STE_SIZE, GFP_KERNEL); in dr_rule_create_rule_nic()
1113 if (!hw_ste_arr) in dr_rule_create_rule_nic()
1130 ret = mlx5dr_ste_build_ste_arr(matcher, nic_matcher, param, hw_ste_arr); in dr_rule_create_rule_nic()
1136 num_actions, hw_ste_arr, in dr_rule_create_rule_nic()
1149 u8 *cur_hw_ste_ent = hw_ste_arr + (i * DR_STE_SIZE); in dr_rule_create_rule_nic()
[all …]
Ddr_ste.h165 u8 *hw_ste_arr,
171 u8 *hw_ste_arr,
Dmlx5dr.h180 u8 *hw_ste_arr; member
Ddr_ste.c133 return ste->htbl->chunk->hw_ste_arr + DR_STE_SIZE_REDUCED * index; in mlx5dr_ste_get_hw_ste()
538 u8 *hw_ste_arr, in mlx5dr_ste_set_actions_tx() argument
543 hw_ste_arr, attr, added_stes); in mlx5dr_ste_set_actions_tx()
549 u8 *hw_ste_arr, in mlx5dr_ste_set_actions_rx() argument
554 hw_ste_arr, attr, added_stes); in mlx5dr_ste_set_actions_rx()
Ddr_send.c498 htbl->chunk->hw_ste_arr + in mlx5dr_send_postsend_htbl()
550 copy_dst = htbl->chunk->hw_ste_arr + i * DR_STE_SIZE_REDUCED; in mlx5dr_send_postsend_formatted_htbl()
Ddr_types.h1118 u8 *hw_ste_arr; member