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

2017-12-05 Thread Fischetti, Antonio
ntonio > > > Cc: dev@dpdk.org; y...@fridaylinux.org; maxime.coque...@redhat.com; > > > jfreim...@redhat.com; sta...@dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH v2] net/virtio: fix an incorrect > behavior > > > of device stop/start > > > > > > On Sat

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

2017-12-04 Thread Tiwei Bie
> > jfreim...@redhat.com; sta...@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v2] net/virtio: fix an incorrect behavior > > of device stop/start > > > > On Sat, Dec 02, 2017 at 12:30:33PM +0800, Tiwei Bie wrote: > > > Hi Antonio, > > > > >

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

2017-12-04 Thread Fischetti, Antonio
> -Original Message- > From: Bie, Tiwei > Sent: Monday, December 4, 2017 7:20 AM > To: Fischetti, Antonio > Cc: dev@dpdk.org; y...@fridaylinux.org; maxime.coque...@redhat.com; > jfreim...@redhat.com; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/vir

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

2017-12-03 Thread Tiwei Bie
On Sat, Dec 02, 2017 at 12:30:33PM +0800, Tiwei Bie wrote: > Hi Antonio, > > On Sat, Dec 02, 2017 at 01:17:58AM +0800, Fischetti, Antonio wrote: > > Hi All, > > I've got an update on this. > > I could replicate the same issue by using testpmd + a VM (= Virtual > > Machine). > > > > The test topo

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

2017-12-01 Thread Tiwei Bie
-----Original Message----- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Fischetti, Antonio > > Sent: Tuesday, November 14, 2017 5:39 PM > > To: Bie, Tiwei ; dev@dpdk.org > > Cc: y...@fridaylinux.org; maxime.coque...@redhat.com; > > jfreim...@redhat.com; s

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

2017-12-01 Thread Tiwei Bie
7;m very sorry, I missed this mail before.. Thank you so much for reporting this issue and the detailed info. I'll look into this! Best regards, Tiwei Bie > > Thanks, > Antonio > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf O

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

2017-12-01 Thread Fischetti, Antonio
sed something or if you need > more info on my testbench. > > > Thanks, > Antonio > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Tiwei Bie > > Sent: Friday, October 20, 2017 3:09 AM > > To: dev@dpdk.org > > Cc:

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

2017-11-14 Thread Fischetti, Antonio
Bie > Sent: Friday, October 20, 2017 3:09 AM > To: dev@dpdk.org > Cc: y...@fridaylinux.org; maxime.coque...@redhat.com; > jfreim...@redhat.com; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2] net/virtio: fix an incorrect behavior of > device stop/start > > After starting

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

2017-10-19 Thread Yuanhan Liu
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 b

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

2017-10-19 Thread Tiwei Bie
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: a85786dc