]> 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)
commite524f9134ebc9346e0f7586cade06c76cfe00c06
tree42ca5d87fc5eeb18ca3c116460eb8ded614d4a5a
parent99278a8c248145dfa815c5db551dd5e34ad76e13
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