Home
last modified time | relevance | path

Searched refs:ste_info (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_rule.c104 dr_rule_handle_one_ste_in_update_list(struct mlx5dr_ste_send_info *ste_info, in dr_rule_handle_one_ste_in_update_list() argument
109 list_del(&ste_info->send_list); in dr_rule_handle_one_ste_in_update_list()
114 if (ste_info->size == DR_STE_SIZE_CTRL) in dr_rule_handle_one_ste_in_update_list()
115 memcpy(ste_info->ste->hw_ste, ste_info->data, DR_STE_SIZE_CTRL); in dr_rule_handle_one_ste_in_update_list()
117 memcpy(ste_info->ste->hw_ste, ste_info->data, DR_STE_SIZE_REDUCED); in dr_rule_handle_one_ste_in_update_list()
119 ret = mlx5dr_send_postsend_ste(dmn, ste_info->ste, ste_info->data, in dr_rule_handle_one_ste_in_update_list()
120 ste_info->size, ste_info->offset); in dr_rule_handle_one_ste_in_update_list()
125 kfree(ste_info); in dr_rule_handle_one_ste_in_update_list()
133 struct mlx5dr_ste_send_info *ste_info, *tmp_ste_info; in dr_rule_send_update_list() local
137 list_for_each_entry_safe_reverse(ste_info, tmp_ste_info, in dr_rule_send_update_list()
[all …]
Ddr_send.c290 struct mlx5dr_ste_send_info *ste_info, in mlx5dr_send_fill_and_append_ste_send_info() argument
294 ste_info->size = size; in mlx5dr_send_fill_and_append_ste_send_info()
295 ste_info->ste = ste; in mlx5dr_send_fill_and_append_ste_send_info()
296 ste_info->offset = offset; in mlx5dr_send_fill_and_append_ste_send_info()
299 memcpy(ste_info->data_cont, data, size); in mlx5dr_send_fill_and_append_ste_send_info()
300 ste_info->data = ste_info->data_cont; in mlx5dr_send_fill_and_append_ste_send_info()
302 ste_info->data = data; in mlx5dr_send_fill_and_append_ste_send_info()
305 list_add_tail(&ste_info->send_list, send_list); in mlx5dr_send_fill_and_append_ste_send_info()
Ddr_ste.c266 struct mlx5dr_ste_send_info *ste_info, in dr_ste_remove_middle_ste() argument
281 prev_ste->hw_ste, ste_info, in dr_ste_remove_middle_ste()
Ddr_types.h203 struct mlx5dr_ste_send_info *ste_info,