提交 664eab8a 编写于 作者: P Paul Blakey 提交者: 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: NPaul Blakey <paulb@nvidia.com>
Reviewed-by: NRaed Salem <raeds@nvidia.com>
Reviewed-by: NSaeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/d0025722bfac0a82da758eb540fbf1ff3cacdf74.1678714336.git.leon@kernel.orgSigned-off-by: NLeon Romanovsky <leon@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册