]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Notify user when TX ring in error state
authorAmir Vadai <amirv@mellanox.com>
Wed, 21 Aug 2013 07:08:57 +0000 (10:08 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Aug 2013 19:19:26 +0000 (12:19 -0700)
commit7b9fb357d71539a0d05a4cd50e33659d4a4a2f07
tree42ca5d87fc5eeb18ca3c116460eb8ded614d4a5a
parent91e66102851430281c05c22ffc740f532989ac2c
net/mlx4_en: Notify user when TX ring in error state

When hardware gets into error state, must notify user about it.
When QP in error state no traffic will be tx'ed from the attached
tx_ring.

Driver should know how to recover from this unexpected state. I will send later
on the recovery flow, but having the print shouldn't be delayed.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c