Thread (16 messages) 16 messages, 4 authors, 2017-12-05

Re: [PATCH v2] net/virtio: fix an incorrect behavior of device stop/start

From: Yuanhan Liu <hidden>
Date: 2017-10-20 05:35:30

On Fri, Oct 20, 2017 at 10:09:28AM +0800, Tiwei Bie wrote:
After starting a device, the driver shouldn't deliver the
packets that already existed before the device is started
to applications. Otherwise it will lead to incorrect packet
collection for port state. This patch fixes this issue by
flushing the Rx queues when starting the device.

Fixes: a85786dc816f ("virtio: fix states handling during initialization")
Cc: stable@dpdk.org

Signed-off-by: Tiwei Bie <redacted>
Reviewed-by: Jens Freimann <redacted>
Applied to dpdk-next-virtio.

Thanks.

	--yliu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help