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)
commitbd2f631d7c60502e24e801a3eea1806868951bcc
tree42ca5d87fc5eeb18ca3c116460eb8ded614d4a5a
parent0e316f1b9bd86261fb3283b3ac2eeebd5ef56f1b
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