]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: DR, Fix dumping of legacy modify_hdr in debug dump
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sat, 31 Dec 2022 22:20:53 +0000 (00:20 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 21 Apr 2023 01:35:48 +0000 (18:35 -0700)
commit075056005d8cceecbbb8e054d8e3cd2b7519d9c6
treee0ea8e9e4263bc9f1c8a93119a707a3dee886fd7
parente315e7b83a22043bffee450437d7089ef373cbf6
net/mlx5: DR, Fix dumping of legacy modify_hdr in debug dump

The steering dump parser expects to see 0 as rewrite num of actions
in case pattern/args aren't supported - parsing of legacy modify header
is based on this assumption.
Fix this to align to parser's expectation.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_dbg.c