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

2017-10-19 Thread Yuanhan Liu
On Fri, Sep 01, 2017 at 03:14:26PM +0800, Tiwei Bie wrote: > > > > On Tue, Aug 29, 2017 at 04:26:01PM +0800, Tiwei Bie wrote: > > > > > After starting a device, the driver shouldn't deliver the > > > > > packets that already existed in the device before it is > > > > > started to the applications.

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

2017-09-01 Thread Tiwei Bie
On Fri, Sep 01, 2017 at 08:26:46AM +0200, Jens Freimann wrote: > On Wed, Aug 30, 2017 at 06:24:24PM +0800, Tiwei Bie wrote: > > Hi Jens, > > > > On Wed, Aug 30, 2017 at 11:13:06AM +0200, Jens Freimann wrote: > > > Hi Tiwei, > > > > > > On Tue, Aug 29, 2017 at 04:26:01PM +0800, Tiwei Bie wrote: >

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

2017-08-31 Thread Jens Freimann
On Wed, Aug 30, 2017 at 06:24:24PM +0800, Tiwei Bie wrote: Hi Jens, On Wed, Aug 30, 2017 at 11:13:06AM +0200, Jens Freimann wrote: Hi Tiwei, On Tue, Aug 29, 2017 at 04:26:01PM +0800, Tiwei Bie wrote: > After starting a device, the driver shouldn't deliver the > packets that already existed in

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

2017-08-30 Thread Tiwei Bie
Hi Jens, On Wed, Aug 30, 2017 at 11:13:06AM +0200, Jens Freimann wrote: > Hi Tiwei, > > On Tue, Aug 29, 2017 at 04:26:01PM +0800, Tiwei Bie wrote: > > After starting a device, the driver shouldn't deliver the > > packets that already existed in the device before it is > > started to the applicati

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

2017-08-30 Thread Jens Freimann
Hi Tiwei, On Tue, Aug 29, 2017 at 04:26:01PM +0800, Tiwei Bie wrote: After starting a device, the driver shouldn't deliver the packets that already existed in the device before it is started to the applications. This patch fixes this issue by flushing the Rx queues when starting the device. Fix

[dpdk-dev] [PATCH] net/virtio: fix an incorrect behavior of device stop/start

2017-08-29 Thread Tiwei Bie
After starting a device, the driver shouldn't deliver the packets that already existed in the device before it is started to the applications. This patch fixes this issue by flushing the Rx queues when starting the device. Fixes: a85786dc816f ("virtio: fix states handling during initialization") C