Re: [ovs-dev] [PATCH] dpif-netdev-dpcls: Make subtable reprobe thread-safe.

2022-02-08 Thread Ferriter, Cian
> -Original Message- > From: Ilya Maximets > Sent: Friday 4 February 2022 12:11 > To: Ferriter, Cian ; ovs-dev@openvswitch.org > Cc: i.maxim...@ovn.org; Van Haaren, Harry > Subject: Re: [PATCH] dpif-netdev-dpcls: Make subtable reprobe thread-safe. > > On 2/2/22 15:51, Cian Ferriter

Re: [ovs-dev] [PATCH] dpif-netdev-dpcls: Make subtable reprobe thread-safe.

2022-02-04 Thread Ilya Maximets
On 2/2/22 15:51, Cian Ferriter wrote: > The subtable search function can be used at any time by a PMD thread. > Setting the subtable search function should be done atomically to > prevent garbage data from being read. > > A dpcls_subtable_lookup_reprobe() call can happen at the same time that >

[ovs-dev] [PATCH] dpif-netdev-dpcls: Make subtable reprobe thread-safe.

2022-02-02 Thread Cian Ferriter
The subtable search function can be used at any time by a PMD thread. Setting the subtable search function should be done atomically to prevent garbage data from being read. A dpcls_subtable_lookup_reprobe() call can happen at the same time that DPCLS subtables are being sorted. This could lead