]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: DR, Fix SMFS steering info dump format
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sun, 24 Jul 2022 21:06:12 +0000 (00:06 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 28 Jul 2022 20:44:38 +0000 (13:44 -0700)
commit62d2664351ef37da34f6f3a3fd8ab34257d6fe30
treef0b0f44c5ace92f13ea49c109d312c41219ddc1e
parenta6e9085d791f8306084fd5bc44dd3fdd4e1ac27b
net/mlx5: DR, Fix SMFS steering info dump format

Fix several issues in SMFS steering info dump:
 - Fix outdated macro value for matcher mask in the SMFS debug dump format.
   The existing value denotes the old format of the matcher mask, as it was
   used during the early stages of development, and it results in wrong
   parsing by the steering dump parser - wrong fields are shown in the
   parsed output.
 - Add the missing destination table to the dumped action.
   The missing dest table handle breaks the ability to associate between
   the "go to table" action and the actual table in the steering info.

Fixes: 9222f0b27da2 ("net/mlx5: DR, Add support for dumping steering info")
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Muhammad Sammar <muhammads@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_dbg.c