DPDK patches and discussions
 help / color / mirror / Atom feed
* "Thread safety" in rte_flow
@ 2023-05-26 12:33 David Marchand
  2023-05-29  6:33 ` Ori Kam
  0 siblings, 1 reply; 2+ messages in thread
From: David Marchand @ 2023-05-26 12:33 UTC (permalink / raw)
  To: Ori Kam, Thomas Monjalon, Ferruh Yigit, Andrew Rybchenko; +Cc: dev

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-29  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-26 12:33 "Thread safety" in rte_flow David Marchand
2023-05-29  6:33 ` Ori Kam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).