Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c50 struct mlx5_flow_handle *restore_rule; member
247 chain->restore_rule = esw_add_restore_rule(esw, chain->id); in create_chain_restore()
248 if (IS_ERR(chain->restore_rule)) { in create_chain_restore()
249 err = PTR_ERR(chain->restore_rule); in create_chain_restore()
283 if (!IS_ERR_OR_NULL(chain->restore_rule)) in create_chain_restore()
284 mlx5_del_flow_rules(chain->restore_rule); in create_chain_restore()
298 if (chain->restore_rule) in destroy_chain_restore()
299 mlx5_del_flow_rules(chain->restore_rule); in destroy_chain_restore()