]> git.ipfire.org Git - thirdparty/linux.git/commit
net/mlx5e: Expose TIS via devlink tx reporter diagnose
authorFeng Liu <feliu@nvidia.com>
Tue, 22 Jul 2025 14:23:48 +0000 (17:23 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 25 Jul 2025 22:27:54 +0000 (15:27 -0700)
commit5474ca2118191abe27ba089737eace66a9b51d8f
tree029916bc9e417554e0d0194d061ea7f8dce8e539
parent71670f766b8f4c1490e07ad4394e8e27c03b2e91
net/mlx5e: Expose TIS via devlink tx reporter diagnose

Underneath "TIS Config" tag expose TIS diagnostic information.
Expose the tisn of each TC under each lag port.

$ sudo devlink health diagnose auxiliary/mlx5_core.eth.2/131072 reporter tx
......
  TIS Config:
      lag port: 0 tc: 0 tisn: 0
      lag port: 1 tc: 0 tisn: 8
......

Signed-off-by: Feng Liu <feliu@nvidia.com>
Reviewed-by: Aya Levin <ayal@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/1753194228-333722-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c