RE: "Thread safety" in rte_flow

2023-05-28 Thread Ori Kam
Hi David, Best, Ori > -Original Message- > From: David Marchand > Sent: Friday, May 26, 2023 3:33 PM > To: Ori Kam ; NBU-Contact-Thomas Monjalon > (EXTERNAL) ; Ferruh Yigit ; > Andrew Rybchenko > Cc: dev > Subject: "Thread safety" in rte_flow > &g

"Thread safety" in rte_flow

2023-05-26 Thread David Marchand
Hello Ori, ethdev maintainers, I am a bit puzzled at the RTE_ETH_DEV_FLOW_OPS_THREAD_SAFE checks in rte_flow.c. - The rte_flow.h does not hint at what is being protected. All I can see is a somewhat vague, in lib/ethdev/rte_ethdev.h: /** PMD supports thread-safe flow operations */ #define RTE_ET