OSDN Git Service

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)
commit287e0df021e877c2aa5f4750b2a0575070471ddb
tree93bd603ca6b7e620546d7b23c8e3d8e95480b393
parent2119bda642c49c732409574ce699e4845e95df48
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