Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_table.c16 if (!list_empty(&nic_tbl->nic_matcher_list)) in dr_table_set_miss_action_nic()
17 last_nic_matcher = list_last_entry(&nic_tbl->nic_matcher_list, in dr_table_set_miss_action_nic()
127 INIT_LIST_HEAD(&nic_tbl->nic_matcher_list); in dr_table_init_nic()
H A Ddr_matcher.c757 list_for_each_entry(tmp_nic_matcher, &nic_tbl->nic_matcher_list, list_node) { in mlx5dr_matcher_add_to_tbl_nic()
769 prev_nic_matcher = list_last_entry(&nic_tbl->nic_matcher_list, in mlx5dr_matcher_add_to_tbl_nic()
783 list_add(&nic_matcher->list_node, &nic_matcher->nic_tbl->nic_matcher_list); in mlx5dr_matcher_add_to_tbl_nic()
1073 if (list_is_last(&nic_matcher->list_node, &nic_tbl->nic_matcher_list)) in mlx5dr_matcher_remove_from_tbl_nic()
1078 if (nic_matcher->list_node.prev == &nic_tbl->nic_matcher_list) in mlx5dr_matcher_remove_from_tbl_nic()
H A Ddr_types.h967 struct list_head nic_matcher_list; member