]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add Event Queue meta data info for TX timeout logs
authorEran Ben Elisha <eranbe@mellanox.com>
Wed, 13 Dec 2017 11:04:01 +0000 (13:04 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 19 Jan 2018 20:41:33 +0000 (22:41 +0200)
commitf3db82f7fa5f87b78e5ecdcd7702ca33638789dd
treed4ca595a9ef7eb11d95034d9cc792f7376c394ec
parentfbf27e7b95ab7f56bfb6a6a695f35c71eaa186e7
net/mlx5e: Add Event Queue meta data info for TX timeout logs

When TX timeout occurs, EQ consumer index and irqn can help in debug for
understanding the SW state of EQ. Add them to the logger prints for the
relevant EQ only.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c