net/mlx5e: Fix TX Timeout to detect queues stuck on BQL
authorDaniel Jurgens <danielj@mellanox.com>
Tue, 12 Jul 2016 21:06:59 +0000 (00:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Jul 2016 18:38:16 +0000 (11:38 -0700)
commit2c1ccc993707ecb0830ef0aebb7c8061f7704aa3
tree865e896e14c7de716129b1b48425b40ca384a989
parentea43f860d984b00c3e3fa02049412ce94ce9ed5e
net/mlx5e: Fix TX Timeout to detect queues stuck on BQL

Change netif_tx_queue_stopped to netif_xmit_stopped.  This will show
when queues are stopped due to byte queue limits.

Fixes: 3947ca185999 ('net/mlx5e: Implement ndo_tx_timeout callback')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c