[dpdk-dev] [PATCH v2] net/virtio: fix an incorrect behavior of device stop/start
Yuanhan Liu
yliu at fridaylinux.org
Fri Oct 20 07:35:30 CEST 2017
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 at dpdk.org
>
> Signed-off-by: Tiwei Bie <tiwei.bie at intel.com>
> Reviewed-by: Jens Freimann <jfreimann at redhat.com>
Applied to dpdk-next-virtio.
Thanks.
--yliu
More information about the dev
mailing list