]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Display the command index in command mailbox dump
authorAlaa Hleihel <alaa@nvidia.com>
Thu, 31 Dec 2020 14:24:51 +0000 (16:24 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 12 Mar 2021 23:29:33 +0000 (15:29 -0800)
commite80150e7b9b23d4431e732f998e33d76b4f457a6
tree93bd603ca6b7e620546d7b23c8e3d8e95480b393
parentcbe9500684c14031bd20a571c67ab15157704a42
net/mlx5: Display the command index in command mailbox dump

Multiple commands can be printed at the same time which can
lead to wrong order of their lines in dmesg output.
As a result, it's hard to match data dumps to the correct command
or which command was fully dumped at some point.

Fix this by displaying the corresponding command index, and also
indicate when a command was fully dumped.

Signed-off-by: Alaa Hleihel <alaa@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/cmd.c