Re: [dpdk-dev] [PATCH v3 2/2] ethdev: make rte_flow API thread safe

2020-10-07 Thread Suanming Mou
> -Original Message- > From: Matan Azrad > Sent: Thursday, October 8, 2020 4:11 AM > To: Suanming Mou ; Ori Kam ; > NBU-Contact-Thomas Monjalon ; Ferruh Yigit > ; Andrew Rybchenko > Cc: dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v3 2/2] ethdev: make

Re: [dpdk-dev] [PATCH v3 2/2] ethdev: make rte_flow API thread safe

2020-10-07 Thread Matan Azrad
From: Suanming Mou > Currently, the rte_flow functions are not defined as thread safe. > DPDK applications either call the functions in single thread or add locks > around the functions for the critical section. > Better to write here "or protect any concurrent calling for the rte_flow operat

Re: [dpdk-dev] [PATCH v3 2/2] ethdev: make rte_flow API thread safe

2020-10-07 Thread Ajit Khaparde
On Wed, Oct 7, 2020 at 7:18 AM Suanming Mou wrote: > > Currently, the rte_flow functions are not defined as thread safe. > DPDK applications either call the functions in single thread or add > locks around the functions for the critical section. > > For PMDs support the flow operations thread safe

Re: [dpdk-dev] [PATCH v3 2/2] ethdev: make rte_flow API thread safe

2020-10-07 Thread Ori Kam
Hi Suanming, > -Original Message- > From: dev On Behalf Of Ajit Khaparde > Sent: Wednesday, October 7, 2020 5:43 PM > Subject: Re: [dpdk-dev] [PATCH v3 2/2] ethdev: make rte_flow API thread safe > > On Wed, Oct 7, 2020 at 7:18 AM Suanming Mou > wrote: > >