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_ETH_DEV_FLOW_OPS_THREAD_SAFE  RTE_BIT32(0)

It would be great to have a more detailed description of what this
thread safety means.


- I don't think many functions of the rte_flow API look at this flag.
It seems it is never checked in newly added symbols (this is an
impression, I did not enter the details).

Could you have a look?


Thanks.

-- 
David Marchand

Reply via email to