Re: [ovs-dev] [PATCH 1/5] dpif-netdev: Convert exit latch to flag.

2019-06-25 Thread Ilya Maximets
On 23.05.2019 17:23, David Marchand wrote: > No need for a latch here since we don't have to wait. > A simple boolean flag is enough. > > The memory order on the reload flag is changed to rel-acq ordering to > serve as a synchronisation point between the pmd threads and the control > thread that a

Re: [ovs-dev] [PATCH 1/5] dpif-netdev: Convert exit latch to flag.

2019-06-19 Thread Ian Stokes
On 5/23/2019 3:23 PM, David Marchand wrote: No need for a latch here since we don't have to wait. A simple boolean flag is enough. The memory order on the reload flag is changed to rel-acq ordering to serve as a synchronisation point between the pmd threads and the control thread that asks for t

[ovs-dev] [PATCH 1/5] dpif-netdev: Convert exit latch to flag.

2019-05-23 Thread David Marchand
No need for a latch here since we don't have to wait. A simple boolean flag is enough. The memory order on the reload flag is changed to rel-acq ordering to serve as a synchronisation point between the pmd threads and the control thread that asks for termination. Fixes: e4cfed38b159 ("dpif-netdev