]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Align RX/TX reporters diagnose output format
authorAya Levin <ayal@mellanox.com>
Thu, 30 Apr 2020 09:18:22 +0000 (12:18 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 3 Jul 2020 04:05:17 +0000 (21:05 -0700)
commit7ff86192ac58be0d4ba7addd3a0de5ee772acdee
treeee77132915c067f67275fa641bcc6fddd6d690d5
parent90bb0133f7c4f02a74f94495a75a180d162bc3be
net/mlx5e: Align RX/TX reporters diagnose output format

Change the hierarchy of the RX reporter 'Common config' in the diagnose
output to match the 'Common config' of the TX reporter which reflects
that CQ is a helper to the traffic queues.

Before:
$ devlink health diagnose pci/0000:00:0b.0 reporter rx
Common config:
    RQ:
      type: 2 stride size: 2048 size: 8
    CQ:
      stride size: 64 size: 1024
    RQs:
    ...

After:
$ devlink health diagnose pci/0000:00:0b.0 reporter rx
Common config:
    RQ:
      type: 2 stride size: 2048 size: 8
      CQ:
        stride size: 64 size: 1024
    RQs:
    ...

Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c