From: Erez Shitrit <ere...@nvidia.com>

In order to have the details of the new specific domains.

Signed-off-by: Erez Shitrit <ere...@nvidia.com>
Signed-off-by: Hamdan Igbaria <hamd...@nvidia.com>
Acked-by: Matan Azrad <ma...@nvidia.com>
---
 drivers/net/mlx5/hws/mlx5dr_debug.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/mlx5/hws/mlx5dr_debug.c 
b/drivers/net/mlx5/hws/mlx5dr_debug.c
index 8684a8197a..7480300de8 100644
--- a/drivers/net/mlx5/hws/mlx5dr_debug.c
+++ b/drivers/net/mlx5/hws/mlx5dr_debug.c
@@ -232,7 +232,7 @@ static int mlx5dr_debug_dump_matcher(FILE *f, struct 
mlx5dr_matcher *matcher)
        ste_pool = matcher->match_ste.pool;
        if (ste_pool) {
                ste_0 = mlx5dr_pool_chunk_get_base_devx_obj(ste_pool, ste);
-               if (tbl_type == MLX5DR_TABLE_TYPE_FDB)
+               if (tbl_type == MLX5DR_TABLE_TYPE_FDB || tbl_type == 
MLX5DR_TABLE_TYPE_FDB_TX)
                        ste_1 = 
mlx5dr_pool_chunk_get_base_devx_obj_mirror(ste_pool, ste);
        } else {
                ste_0 = NULL;
@@ -251,7 +251,7 @@ static int mlx5dr_debug_dump_matcher(FILE *f, struct 
mlx5dr_matcher *matcher)
        ste_pool = matcher->action_ste.pool;
        if (ste_pool) {
                ste_0 = mlx5dr_pool_chunk_get_base_devx_obj(ste_pool, ste);
-               if (tbl_type == MLX5DR_TABLE_TYPE_FDB)
+               if (tbl_type == MLX5DR_TABLE_TYPE_FDB || tbl_type == 
MLX5DR_TABLE_TYPE_FDB_TX)
                        ste_1 = 
mlx5dr_pool_chunk_get_base_devx_obj_mirror(ste_pool, ste);
        } else {
                ste_0 = NULL;
-- 
2.21.0

Reply via email to