Re: [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow

2017-04-18 Thread Yang, Zhiyong
Ok, yuanhan. I see. > -Original Message- > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > Sent: Wednesday, April 19, 2017 10:58 AM > To: Yang, Zhiyong > Cc: dev@dpdk.org; maxime.coque...@redhat.com > Subject: Re: [PATCH 0/2] net/virtio: support to turn on/off the traffic flow >

Re: [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow

2017-04-18 Thread Yuanhan Liu
On Wed, Apr 19, 2017 at 02:31:58AM +, Yang, Zhiyong wrote: > Haha, you are right. > I will rework it and send V2. Note that the "started" field is added in one of my recent patch, to addres the link status always being UP. So you should pull the latest virtio code and make a patch there: you

Re: [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow

2017-04-18 Thread Yang, Zhiyong
Hi,yuanhan: > -Original Message- > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > Sent: Wednesday, April 19, 2017 10:03 AM > To: Yang, Zhiyong > Cc: dev@dpdk.org; maxime.coque...@redhat.com > Subject: Re: [PATCH 0/2] net/virtio: support to turn on/off the traffic flow >

Re: [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow

2017-04-18 Thread Yuanhan Liu
On Mon, Apr 17, 2017 at 08:50:52AM +, Yang, Zhiyong wrote: > Hi, yuanhan: > Sorry for the delay reply due to my annual leave. > > > -Original Message- > > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > > Sent: Thursday, April 6, 2017 12:00 PM > > To: Yang, Zhiyong > >

Re: [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow

2017-04-17 Thread Yang, Zhiyong
Hi, yuanhan: Sorry for the delay reply due to my annual leave. > -Original Message- > From: Yuanhan Liu [mailto:yuanhan@linux.intel.com] > Sent: Thursday, April 6, 2017 12:00 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; maxime.coque...@redhat.com > Subject: Re: [PATCH 0/2] net/v

Re: [dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow

2017-04-05 Thread Yuanhan Liu
On Fri, Mar 31, 2017 at 07:40:17PM +0800, Zhiyong Yang wrote: > Current dpdk code virtio_dev_stop only disables interrupt and marks link down, > When it is invoked, tx/rx traffic flows still work. This is a strange > behavior. > The patchset supports the switch of flow by calling virtio_dev_start/

[dpdk-dev] [PATCH 0/2] net/virtio: support to turn on/off the traffic flow

2017-03-31 Thread Zhiyong Yang
Current dpdk code virtio_dev_stop only disables interrupt and marks link down, When it is invoked, tx/rx traffic flows still work. This is a strange behavior. The patchset supports the switch of flow by calling virtio_dev_start/stop. The implementation refers to vhost pmd. Zhiyong Yang (2): net