net/mlx5: DR, Allow old devices to use multi destination FTE
authorErez Shitrit <erezsh@nvidia.com>
Tue, 14 Nov 2023 21:58:34 +0000 (13:58 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 16 Nov 2023 06:34:09 +0000 (22:34 -0800)
commitad4d82c3eacdd500a246af736e6e01d96484e35e
treead2cd073fe9860520fb3f3e1e04a56c918ab6b98
parent7d2f74d1d4385a5bcf90618537f16a45121c30ae
net/mlx5: DR, Allow old devices to use multi destination FTE

The current check isn't aware of old devices that don't have the
relevant FW capability. This patch allows multi destination FTE
in old cards, as it was before this check.

Fixes: f6f46e7173cb ("net/mlx5: DR, Add check for multi destination FTE")
Signed-off-by: Erez Shitrit <erezsh@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20231114215846.5902-4-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c