]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_net: introduce TX timeout watchdog
authorTony Lu <tony.ly@linux.alibaba.com>
Fri, 17 Sep 2021 08:40:06 +0000 (16:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Sep 2021 08:42:51 +0000 (09:42 +0100)
commit68cd2427b5d42f69a76e766cefa936964a89ec0a
tree652045543f6c2fb6c19894c177867904d68f11fe
parent25ec8616908f733f2f27b17ab8972624169884c5
virtio_net: introduce TX timeout watchdog

This implements ndo_tx_timeout handler and put this into stats. When
there is something wrong to send out packets, we could notice tx timeout
events and total timeout counter.

We have suffered send timeout issues due to the backends hung. With this,
we can find the details, and collect the counters by monitor systems.

Signed-off-by: Tony Lu <tony.ly@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c