]> 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)
commit544fd4b0f5bca63acd132fde16f080ed7155f890
tree93bd603ca6b7e620546d7b23c8e3d8e95480b393
parent7a4d8c8ed18fc925a416d48b0eac292a7e955cee
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