Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-11-10 Thread Stokes, Ian
17 1:06 PM > > To: O Mahony, Billy ; > > ovs-dev@openvswitch.org > > Cc: Maxime Coquelin ; Heetae Ahn > > > > Subject: Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with > > negative vid. > > > > On 13.10.2017 14:38, O Mahony, Billy wrote

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-13 Thread O Mahony, Billy
nal Message- > From: Ilya Maximets [mailto:i.maxim...@samsung.com] > Sent: Friday, October 13, 2017 1:06 PM > To: O Mahony, Billy ; ovs-dev@openvswitch.org > Cc: Maxime Coquelin ; Heetae Ahn > > Subject: Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with > negati

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-13 Thread O Mahony, Billy
tae Ahn > > Subject: Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with > negative > vid. > > On 13.10.2017 14:38, O Mahony, Billy wrote: > > Hi Ilya, > > > > > >> Issue can be reproduced by stopping DPDK application (testpmd) inside >

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-13 Thread Ilya Maximets
- >> boun...@openvswitch.org] On Behalf Of Ilya Maximets >> Sent: Friday, October 6, 2017 11:50 AM >> To: ovs-dev@openvswitch.org >> Cc: Ilya Maximets ; Maxime Coquelin >> ; Heetae Ahn >> Subject: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative &

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-13 Thread O Mahony, Billy
17 11:50 AM > To: ovs-dev@openvswitch.org > Cc: Ilya Maximets ; Maxime Coquelin > ; Heetae Ahn > Subject: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative > vid. > > Currently, rx and tx functions for vhost interfaces always obtain 'vid' > twi

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-06 Thread Maxime Coquelin
On 10/06/2017 12:50 PM, Ilya Maximets wrote: Currently, rx and tx functions for vhost interfaces always obtain 'vid' twice. First time inside 'is_vhost_running' for checking the value and the second time in enqueue/dequeue function calls to send/receive packets. But second time we're not checki

[ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative vid.

2017-10-06 Thread Ilya Maximets
Currently, rx and tx functions for vhost interfaces always obtain 'vid' twice. First time inside 'is_vhost_running' for checking the value and the second time in enqueue/dequeue function calls to send/receive packets. But second time we're not checking the returned value. If vhost device will be de