Searched refs:log_num_of_rules (Results 1 – 1 of 1) sorted by relevance
25 static bool hws_matcher_requires_col_tbl(u8 log_num_of_rules) in hws_matcher_requires_col_tbl() argument28 return log_num_of_rules > MLX5HWS_MATCHER_ASSURED_RULES_TH; in hws_matcher_requires_col_tbl()31 static u8 hws_matcher_rules_to_tbl_depth(u8 log_num_of_rules) in hws_matcher_rules_to_tbl_depth() argument33 if (hws_matcher_requires_col_tbl(log_num_of_rules)) in hws_matcher_rules_to_tbl_depth()37 return min(log_num_of_rules, MLX5HWS_MATCHER_ASSURED_COL_TBL_DEPTH); in hws_matcher_rules_to_tbl_depth()