mirror of
https://github.com/corundum/corundum.git
synced 2025-01-16 08:12:53 +08:00
Report which ring is full
This commit is contained in:
parent
384912e618
commit
ef365b9bab
@ -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);
|
stop_queue = mqnic_is_tx_ring_full(ring);
|
||||||
if (unlikely(stop_queue))
|
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);
|
netif_tx_stop_queue(ring->tx_queue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user