Lines Matching refs:anchor

2034 	if (ft_prio->anchor.ft)
2051 ft_prio->anchor.ft = ft;
2058 if (ft_prio->anchor.ft) {
2059 mlx5_destroy_flow_table(ft_prio->anchor.ft);
2060 ft_prio->anchor.ft = NULL;
2072 if (ft_prio->anchor.fg_drop)
2082 fg = mlx5_create_flow_group(ft_prio->anchor.ft, flow_group_in);
2088 ft_prio->anchor.fg_drop = fg;
2099 if (ft_prio->anchor.fg_drop) {
2100 mlx5_destroy_flow_group(ft_prio->anchor.fg_drop);
2101 ft_prio->anchor.fg_drop = NULL;
2113 if (ft_prio->anchor.fg_goto_table)
2120 fg = mlx5_create_flow_group(ft_prio->anchor.ft, flow_group_in);
2125 ft_prio->anchor.fg_goto_table = fg;
2136 if (ft_prio->anchor.fg_goto_table) {
2137 mlx5_destroy_flow_group(ft_prio->anchor.fg_goto_table);
2138 ft_prio->anchor.fg_goto_table = NULL;
2148 if (ft_prio->anchor.rule_drop)
2151 flow_act.fg = ft_prio->anchor.fg_drop;
2154 handle = mlx5_add_flow_rules(ft_prio->anchor.ft, NULL, &flow_act,
2159 ft_prio->anchor.rule_drop = handle;
2166 if (ft_prio->anchor.rule_drop) {
2167 mlx5_del_flow_rules(ft_prio->anchor.rule_drop);
2168 ft_prio->anchor.rule_drop = NULL;
2179 if (ft_prio->anchor.rule_goto_table)
2184 flow_act.fg = ft_prio->anchor.fg_goto_table;
2189 handle = mlx5_add_flow_rules(ft_prio->anchor.ft, NULL, &flow_act,
2194 ft_prio->anchor.rule_goto_table = handle;
2202 if (ft_prio->anchor.rule_goto_table) {
2203 mlx5_del_flow_rules(ft_prio->anchor.rule_goto_table);
2204 ft_prio->anchor.rule_goto_table = NULL;
2267 if (!--obj->ft_prio->anchor.rule_goto_table_ref)
2444 if (!ft_prio->anchor.rule_goto_table_ref) {
2450 ft_prio->anchor.rule_goto_table_ref++;
2452 ft_id = mlx5_flow_table_id(ft_prio->anchor.ft);
2469 --ft_prio->anchor.rule_goto_table_ref;