Re: [dpdk-dev] [PATCH] vhost: fix virtio_net cache sharing of broadcast_rarp

2017-03-20 Thread Kevin Traynor
On 03/17/2017 10:01 AM, Maxime Coquelin wrote: > > > On 03/17/2017 06:47 AM, Yuanhan Liu wrote: >> On Thu, Mar 16, 2017 at 10:10:05AM +, Kevin Traynor wrote: >>> On 03/16/2017 06:21 AM, Yuanhan Liu wrote: On Wed, Mar 15, 2017 at 07:10:49PM +, Kevin Traynor wrote: > The virtio_net

Re: [dpdk-dev] [PATCH] vhost: fix virtio_net cache sharing of broadcast_rarp

2017-03-17 Thread Maxime Coquelin
On 03/17/2017 06:47 AM, Yuanhan Liu wrote: On Thu, Mar 16, 2017 at 10:10:05AM +, Kevin Traynor wrote: On 03/16/2017 06:21 AM, Yuanhan Liu wrote: On Wed, Mar 15, 2017 at 07:10:49PM +, Kevin Traynor wrote: The virtio_net structure is used in both enqueue and dequeue datapaths. broadcas

Re: [dpdk-dev] [PATCH] vhost: fix virtio_net cache sharing of broadcast_rarp

2017-03-16 Thread Yuanhan Liu
On Thu, Mar 16, 2017 at 10:10:05AM +, Kevin Traynor wrote: > On 03/16/2017 06:21 AM, Yuanhan Liu wrote: > > On Wed, Mar 15, 2017 at 07:10:49PM +, Kevin Traynor wrote: > >> The virtio_net structure is used in both enqueue and dequeue datapaths. > >> broadcast_rarp is checked with cmpset in t

Re: [dpdk-dev] [PATCH] vhost: fix virtio_net cache sharing of broadcast_rarp

2017-03-16 Thread Kevin Traynor
On 03/16/2017 06:21 AM, Yuanhan Liu wrote: > On Wed, Mar 15, 2017 at 07:10:49PM +, Kevin Traynor wrote: >> The virtio_net structure is used in both enqueue and dequeue datapaths. >> broadcast_rarp is checked with cmpset in the dequeue datapath regardless >> of whether descriptors are available

Re: [dpdk-dev] [PATCH] vhost: fix virtio_net cache sharing of broadcast_rarp

2017-03-15 Thread Yuanhan Liu
On Wed, Mar 15, 2017 at 07:10:49PM +, Kevin Traynor wrote: > The virtio_net structure is used in both enqueue and dequeue datapaths. > broadcast_rarp is checked with cmpset in the dequeue datapath regardless > of whether descriptors are available or not. > > It is observed in some cases where

[dpdk-dev] [PATCH] vhost: fix virtio_net cache sharing of broadcast_rarp

2017-03-15 Thread Kevin Traynor
The virtio_net structure is used in both enqueue and dequeue datapaths. broadcast_rarp is checked with cmpset in the dequeue datapath regardless of whether descriptors are available or not. It is observed in some cases where dequeue and enqueue are performed by different cores and no packets are a