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: [email protected]
>
> Signed-off-by: Tiwei Bie <[email protected]>
> Reviewed-by: Jens Freimann <[email protected]>
Applied to dpdk-next-virtio.
Thanks.
--yliu