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: Paul Blakey <paulb@nvidia.com> Reviewed-by: Raed Salem <raeds@nvidia.com> Reviewed-by: Saeed Mahameed <saeedm@nvidia.com> Link: https://lore.kernel.org/r/d0025722bfac0a82da758eb540fbf1ff3cacdf74.1678714336.git.leon@kernel.org Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
parent
8e80e56480
commit
664eab8a02
@ -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 &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user