Commit 664eab8a authored by Paul Blakey's avatar Paul Blakey Committed by Leon Romanovsky
Browse files

net/mlx5: fs_core: Allow ignore_flow_level on TX dest



ignore_flow_level is also supported by firmware on TX,
remove this limitation.

Signed-off-by: default avatarPaul Blakey <paulb@nvidia.com>
Reviewed-by: default avatarRaed Salem <raeds@nvidia.com>
Reviewed-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/d0025722bfac0a82da758eb540fbf1ff3cacdf74.1678714336.git.leon@kernel.org


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 8e80e564
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1762,7 +1762,8 @@ static bool dest_is_valid(struct mlx5_flow_destination *dest,

	if (ignore_level) {
		if (ft->type != FS_FT_FDB &&
		    ft->type != FS_FT_NIC_RX)
		    ft->type != FS_FT_NIC_RX &&
		    ft->type != FS_FT_NIC_TX)
			return false;

		if (dest->type == MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE &&