mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 00:30:52 +07:00
netronome: use the new txqueue timeout argument
Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
77656c277c
commit
d8968eda7f
@ -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)
|
||||
{
|
||||
struct nfp_net *nn = netdev_priv(netdev);
|
||||
int i;
|
||||
|
||||
for (i = 0; i < nn->dp.netdev->real_num_tx_queues; i++) {
|
||||
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");
|
||||
nn_warn(nn, "TX watchdog timeout on ring: %u\n", txqueue);
|
||||
}
|
||||
|
||||
/* Receive processing
|
||||
|
Loading…
Reference in New Issue
Block a user