Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_table.c203 INIT_LIST_HEAD(&tbl->matchers_list); in hws_table_init()
266 if (!list_empty(&tbl->matchers_list)) { in mlx5hws_table_destroy()
295 if (list_empty(&tbl->matchers_list)) in hws_table_get_last_ft()
298 matcher = list_last_entry(&tbl->matchers_list, struct mlx5hws_matcher, list_node); in hws_table_get_last_ft()
390 if (list_empty(&dst_tbl->matchers_list)) { in mlx5hws_table_connect_to_miss_table()
408 matcher = list_first_entry(&dst_tbl->matchers_list, in mlx5hws_table_connect_to_miss_table()
Dmlx5hws_table.h21 struct list_head matchers_list; member
Dmlx5hws_matcher.c68 if (list_empty(&tbl->matchers_list)) { in hws_matcher_connect()
69 list_add(&matcher->list_node, &tbl->matchers_list); in hws_matcher_connect()
73 list_for_each_entry(tmp_matcher, &tbl->matchers_list, list_node) { in hws_matcher_connect()
150 if (!list_is_first(&matcher->list_node, &tbl->matchers_list)) { in hws_matcher_disconnect()
155 if (!list_is_last(&matcher->list_node, &tbl->matchers_list)) in hws_matcher_disconnect()
197 if (list_empty(&tbl->matchers_list) || !prev) in hws_matcher_disconnect()
198 list_add(&matcher->list_node, &tbl->matchers_list); in hws_matcher_disconnect()
Dmlx5hws_debug.c233 list_for_each_entry(matcher, &tbl->matchers_list, list_node) { in hws_debug_dump_table()