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

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.orgSigned-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent 8e80e564
...@@ -1762,7 +1762,8 @@ static bool dest_is_valid(struct mlx5_flow_destination *dest, ...@@ -1762,7 +1762,8 @@ static bool dest_is_valid(struct mlx5_flow_destination *dest,
if (ignore_level) { if (ignore_level) {
if (ft->type != FS_FT_FDB && 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; return false;
if (dest->type == MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE && if (dest->type == MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE &&
......
Markdown is supported
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