Home
last modified time | relevance | path

Searched refs:resize_info (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_rule.c44 (struct mlx5hws_wqe_gta_data_seg_ste *)(void *)rule->resize_info->data_seg; in hws_rule_update_copy_tag()
98 if (rule->resize_info->rtc_0) { in hws_rule_move_get_rtc()
103 if (rule->resize_info->rtc_1) { in hws_rule_move_get_rtc()
139 rule->resize_info = kzalloc(sizeof(*rule->resize_info), GFP_KERNEL); in hws_rule_save_resize_info()
140 if (unlikely(!rule->resize_info)) { in hws_rule_save_resize_info()
145 rule->resize_info->max_stes = in hws_rule_save_resize_info()
147 rule->resize_info->action_ste_pool[0] = rule->matcher->action_ste[0].max_stes ? in hws_rule_save_resize_info()
150 rule->resize_info->action_ste_pool[1] = rule->matcher->action_ste[1].max_stes ? in hws_rule_save_resize_info()
155 memcpy(rule->resize_info->ctrl_seg, ste_attr->wqe_ctrl, in hws_rule_save_resize_info()
156 sizeof(rule->resize_info->ctrl_seg)); in hws_rule_save_resize_info()
[all …]
H A Dmlx5hws_rule.h59 struct mlx5hws_rule_resize_info *resize_info; member
H A Dmlx5hws_send.c312 switch (priv->rule->resize_info->state) { in hws_send_engine_update_rule_resize()
316 u32 orig_rtc_0 = priv->rule->resize_info->rtc_0; in hws_send_engine_update_rule_resize()
317 u32 orig_rtc_1 = priv->rule->resize_info->rtc_1; in hws_send_engine_update_rule_resize()
320 priv->rule->resize_info->rtc_0 = priv->rule->rtc_0; in hws_send_engine_update_rule_resize()
321 priv->rule->resize_info->rtc_1 = priv->rule->rtc_1; in hws_send_engine_update_rule_resize()
338 priv->rule->resize_info->state = MLX5HWS_RULE_RESIZE_STATE_IDLE; in hws_send_engine_update_rule_resize()