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.c155 chunk->hw_ste_arr = buddy->hw_ste_arr + in dr_icm_chunk_ste_init()
163 memset(chunk->hw_ste_arr, 0, in dr_icm_chunk_ste_cleanup()
202 buddy->hw_ste_arr = kvcalloc(num_of_entries, in dr_icm_buddy_init_ste_cache()
204 if (!buddy->hw_ste_arr) in dr_icm_buddy_init_ste_cache()
214 kvfree(buddy->hw_ste_arr); in dr_icm_buddy_init_ste_cache()
223 kvfree(buddy->hw_ste_arr); in dr_icm_buddy_cleanup_ste_cache()
Ddr_rule.c688 u8 *hw_ste_arr, in dr_rule_handle_action_stes() argument
707 curr_hw_ste = hw_ste_arr + i * DR_STE_SIZE; in dr_rule_handle_action_stes()
708 prev_hw_ste = (i == 0) ? curr_hw_ste : hw_ste_arr + ((i - 1) * DR_STE_SIZE); in dr_rule_handle_action_stes()
1077 u8 *hw_ste_arr = NULL; in dr_rule_create_rule_nic() local
1088 hw_ste_arr = kzalloc(DR_RULE_MAX_STE_CHAIN * DR_STE_SIZE, GFP_KERNEL); in dr_rule_create_rule_nic()
1089 if (!hw_ste_arr) in dr_rule_create_rule_nic()
1102 ret = mlx5dr_ste_build_ste_arr(matcher, nic_matcher, param, hw_ste_arr); in dr_rule_create_rule_nic()
1108 num_actions, hw_ste_arr, in dr_rule_create_rule_nic()
1121 u8 *cur_hw_ste_ent = hw_ste_arr + (i * DR_STE_SIZE); in dr_rule_create_rule_nic()
1144 ste, hw_ste_arr, new_hw_ste_arr_sz); in dr_rule_create_rule_nic()
[all …]
Ddr_ste.h162 u8 *hw_ste_arr,
167 u8 *hw_ste_arr,
Ddr_ste.c488 htbl->hw_ste_arr = chunk->hw_ste_arr; in mlx5dr_ste_htbl_alloc()
495 ste->hw_ste = htbl->hw_ste_arr + i * DR_STE_SIZE_REDUCED; in mlx5dr_ste_htbl_alloc()
523 u8 *hw_ste_arr, in mlx5dr_ste_set_actions_tx() argument
527 ste_ctx->set_actions_tx(dmn, action_type_set, hw_ste_arr, in mlx5dr_ste_set_actions_tx()
534 u8 *hw_ste_arr, in mlx5dr_ste_set_actions_rx() argument
538 ste_ctx->set_actions_rx(dmn, action_type_set, hw_ste_arr, in mlx5dr_ste_set_actions_rx()
Dmlx5dr.h168 u8 *hw_ste_arr; member
Ddr_types.h182 u8 *hw_ste_arr; member
1036 u8 *hw_ste_arr; member
Ddr_send.c549 copy_dst = htbl->hw_ste_arr + i * DR_STE_SIZE_REDUCED; in mlx5dr_send_postsend_formatted_htbl()