Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Dfs_dr.c758 struct fs_fte fte_tmp = {}; in mlx5_cmd_dr_update_fte() local
765 fte_tmp.fs_dr_rule = fte->fs_dr_rule; in mlx5_cmd_dr_update_fte()
773 ret = mlx5_cmd_dr_delete_fte(ns, ft, &fte_tmp); in mlx5_cmd_dr_update_fte()
778 fte->fs_dr_rule = fte_tmp.fs_dr_rule; in mlx5_cmd_dr_update_fte()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c1937 struct fs_fte *fte_tmp; in lookup_fte_locked() local
1945 if (!fte_tmp || !tree_get_node(&fte_tmp->node)) { in lookup_fte_locked()
1946 fte_tmp = NULL; in lookup_fte_locked()
1952 if (!fte_tmp->node.active) { in lookup_fte_locked()
1953 up_write_ref_node(&fte_tmp->node, false); in lookup_fte_locked()
1960 tree_put_node(&fte_tmp->node, false); in lookup_fte_locked()
1970 return fte_tmp; in lookup_fte_locked()
2003 struct fs_fte *fte_tmp; in try_add_to_existing_fg() local
2007 if (!fte_tmp) in try_add_to_existing_fg()
2011 up_write_ref_node(&fte_tmp->node, false); in try_add_to_existing_fg()
[all …]