Re: [dpdk-dev] [PATCH 2/2] ethdev: make rte flow API thread safe

2020-10-04 Thread Suanming Mou
Hi Ori, Thanks for the comments. Will update the next V2 version. BR, SuanmingMou > -Original Message- > From: Ori Kam > Sent: Wednesday, September 30, 2020 6:56 PM > To: Suanming Mou ; Ori Kam > ; John McNamara ; > Marko Kovacevic ; Matan Azrad > ; Shahaf Shuler ; > Viacheslav Ovsiienk

Re: [dpdk-dev] [PATCH 2/2] ethdev: make rte flow API thread safe

2020-09-30 Thread Ori Kam
Hi Suanming, Small comments, PSB, Best, Ori > -Original Message- > From: Suanming Mou > Sent: Sunday, September 27, 2020 11:20 AM > Cc: dev@dpdk.org > Subject: [PATCH 2/2] ethdev: make rte flow API thread safe > > Currently, the rte flow functions are not defined as thread safety. For

[dpdk-dev] [PATCH 2/2] ethdev: make rte flow API thread safe

2020-09-27 Thread Suanming Mou
Currently, the rte flow functions are not defined as thread safety. 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 natively, the redundant protection in application hurts the