Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_matcher.c295 ste->order = ilog2(roundup_pow_of_two(action_ste->max_stes)) + in hws_matcher_create_rtc()
469 resize_data->max_stes = src_matcher->action_ste[MLX5HWS_ACTION_STE_IDX_ANY].max_stes; in hws_matcher_resize_init()
474 resize_data->action_ste[0].pool = src_matcher->action_ste[0].max_stes ? in hws_matcher_resize_init()
480 resize_data->action_ste[1].pool = src_matcher->action_ste[1].max_stes ? in hws_matcher_resize_init()
512 if (resize_data->max_stes) { in hws_matcher_resize_uninit()
556 pool_attr.alloc_log_sz = ilog2(roundup_pow_of_two(action_ste->max_stes)) + in hws_matcher_bind_at_idx()
603 if (!action_ste->max_stes || in hws_matcher_unbind_at_idx()
619 u8 max_stes = 0; in hws_matcher_bind_at() local
635 max_stes = max(max_stes, required_stes); in hws_matcher_bind_at()
641 if (!max_stes) in hws_matcher_bind_at()
[all …]
H A Dmlx5hws_rule.c145 rule->resize_info->max_stes = in hws_rule_save_resize_info()
146 rule->matcher->action_ste[MLX5HWS_ACTION_STE_IDX_ANY].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()
216 ste.order = ilog2(roundup_pow_of_two(action_ste->max_stes)); in hws_rule_alloc_action_ste_idx()
234 u8 max_stes; in hws_rule_free_action_ste_idx() local
238 max_stes = rule->resize_info->max_stes; in hws_rule_free_action_ste_idx()
241 max_stes = matcher->action_ste[action_ste_selector].max_stes; in hws_rule_free_action_ste_idx()
246 ste.order = ilog2(roundup_pow_of_two(max_stes)); in hws_rule_free_action_ste_idx()
H A Dmlx5hws_matcher.h52 u8 max_stes; member
64 u8 max_stes; member
H A Dmlx5hws_rule.h50 u8 max_stes; member