Skip to content
Commit b1aa1b26 authored by Jianbo Liu's avatar Jianbo Liu Committed by Greg Kroah-Hartman
Browse files

net/mlx5: fs_core: Make find_closest_ft more generic

[ Upstream commit 618d28a5

 ]

As find_closest_ft_recursive is called to find the closest FT, the
first parameter of find_closest_ft can be changed from fs_prio to
fs_node. Thus this function is extended to find the closest FT for the
nodes of any type, not only prios, but also the sub namespaces.

Signed-off-by: default avatarJianbo Liu <jianbol@nvidia.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Link: https://lore.kernel.org/r/d3962c2b443ec8dde7a740dc742a1f052d5e256c.1690803944.git.leonro@nvidia.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Stable-dep-of: c635ca45

 ("net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 23c195ce
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment