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

2017-11-10 Thread Stokes, Ian
m] > > Sent: Friday, October 13, 2017 1:06 PM > > To: O Mahony, Billy <billy.o.mah...@intel.com>; > > ovs-dev@openvswitch.org > > Cc: Maxime Coquelin <maxime.coque...@redhat.com>; Heetae Ahn > > <heetae82@samsung.com> > > Subject: Re: [ovs-de

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

2017-10-13 Thread O Mahony, Billy
@redhat.com>; Heetae Ahn > <heetae82@samsung.com> > 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

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

2017-10-13 Thread O Mahony, Billy
; Cc: Maxime Coquelin <maxime.coque...@redhat.com>; Heetae Ahn > <heetae82....@samsung.com> > 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, > > > &g

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

2017-10-13 Thread Ilya Maximets
penvswitch.org] On Behalf Of Ilya Maximets >> Sent: Friday, October 6, 2017 11:50 AM >> To: ovs-dev@openvswitch.org >> Cc: Ilya Maximets <i.maxim...@samsung.com>; Maxime Coquelin >> <maxime.coque...@redhat.com>; Heetae Ahn <heetae82@samsung.com> >>

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 <i.maxim...@samsung.com>; Maxime Coquelin > <maxime.coque...@redhat.com>; Heetae Ahn <heetae82....@samsung.com> > Subject: [ovs-dev] [PATCH] netdev-dpdk: Fix calling vhost API with negative > vid. &g

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

[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