Commit d8968eda authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by David S. Miller

netronome: use the new txqueue timeout argument

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 77656c27
...@@ -1324,14 +1324,8 @@ nfp_net_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring) ...@@ -1324,14 +1324,8 @@ nfp_net_tx_ring_reset(struct nfp_net_dp *dp, struct nfp_net_tx_ring *tx_ring)
static void nfp_net_tx_timeout(struct net_device *netdev, unsigned int txqueue) static void nfp_net_tx_timeout(struct net_device *netdev, unsigned int txqueue)
{ {
struct nfp_net *nn = netdev_priv(netdev); struct nfp_net *nn = netdev_priv(netdev);
int i;
for (i = 0; i < nn->dp.netdev->real_num_tx_queues; i++) { nn_warn(nn, "TX watchdog timeout on ring: %u\n", txqueue);
if (!netif_tx_queue_stopped(netdev_get_tx_queue(netdev, i)))
continue;
nn_warn(nn, "TX timeout on ring: %d\n", i);
}
nn_warn(nn, "TX watchdog timeout\n");
} }
/* Receive processing /* Receive processing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment