[PATCH RFC net-next 1/2] drivers: net: virtio_net: Add tx_timeout stats field

2019-10-06 Thread jcfaracco
From: Julio Faracco For debug purpose of TX timeout events, a tx_timeout entry was added to monitor this special case: when dev_watchdog identifies a tx_timeout and throw an exception. We can both consider this event as an error, but driver should report as a tx_timeout statistic. Signed-off-by:

[PATCH RFC net-next 2/2] drivers: net: virtio_net: Add tx_timeout function

2019-10-06 Thread jcfaracco
From: Julio Faracco To enable dev_watchdog, virtio_net should have a tx_timeout defined (.ndo_tx_timeout). This is only a skeleton to throw a warn message. It notifies the event in some specific queue of device. This function still counts tx_timeout statistic and consider this event as an erro

[PATCH RFC net-next 0/2] drivers: net: virtio_net: Implement

2019-10-06 Thread jcfaracco
From: Julio Faracco Driver virtio_net is not handling error events for TX provided by dev_watchdog. This event is reached when transmission queue is having problems to transmit packets. To enable it, driver should have .ndo_tx_timeout implemented. This serie has two commits: In the past, we i