From ef365b9bab8aa2bb3c1b413481e1e30796f5b0bd Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Wed, 4 Dec 2019 13:36:19 -0800 Subject: [PATCH] Report which ring is full --- modules/mqnic/mqnic_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mqnic/mqnic_tx.c b/modules/mqnic/mqnic_tx.c index 222c9ca3a..3016fe0b5 100644 --- a/modules/mqnic/mqnic_tx.c +++ b/modules/mqnic/mqnic_tx.c @@ -417,7 +417,7 @@ netdev_tx_t mqnic_start_xmit(struct sk_buff *skb, struct net_device *ndev) stop_queue = mqnic_is_tx_ring_full(ring); if (unlikely(stop_queue)) { - dev_info(&priv->mdev->pdev->dev, "mqnic_start_xmit TX ring full on port %d", priv->port); + dev_info(&priv->mdev->pdev->dev, "mqnic_start_xmit TX ring %d full on port %d", ring_index, priv->port); netif_tx_stop_queue(ring->tx_queue); }