|
@@ -637,8 +637,11 @@ static void ipoib_timeout(struct net_device *dev)
|
|
|
{
|
|
|
struct ipoib_dev_priv *priv = netdev_priv(dev);
|
|
|
|
|
|
- ipoib_warn(priv, "transmit timeout: latency %ld\n",
|
|
|
- jiffies - dev->trans_start);
|
|
|
+ ipoib_warn(priv, "transmit timeout: latency %d msecs\n",
|
|
|
+ jiffies_to_msecs(jiffies - dev->trans_start));
|
|
|
+ ipoib_warn(priv, "queue stopped %d, tx_head %u, tx_tail %u\n",
|
|
|
+ netif_queue_stopped(dev),
|
|
|
+ priv->tx_head, priv->tx_tail);
|
|
|
/* XXX reset QP, etc. */
|
|
|
}
|
|
|
|