DPDK usage discussions
 help / color / mirror / Atom feed
* Query Regarding Race Condition Between Packet Reception and Device Stop in DPDK
@ 2025-02-14  8:43 NAGENDRA BALAGANI
  2025-02-14  9:22 ` Van Haaren, Harry
  0 siblings, 1 reply; 10+ messages in thread
From: NAGENDRA BALAGANI @ 2025-02-14  8:43 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 587 bytes --]

Hi Team,

We are facing a race condition in our DPDK application where one thread is reading packets from queue using rte_eth_rx_burst() , while another thread is attempting to stop the device using rte_eth_dev_stop(). This is causing instability, as the reading thread may still be accessing queues while the device is being stopped.

Could you please suggest the best way to mitigate this race condition without impacting fast path performance? We want to ensure safe synchronization while maintaining high throughput.

Looking forward to your insights.

Regards,
Nagendra


[-- Attachment #2: Type: text/html, Size: 2597 bytes --]

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

end of thread, other threads:[~2025-02-18  9:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-14  8:43 Query Regarding Race Condition Between Packet Reception and Device Stop in DPDK NAGENDRA BALAGANI
2025-02-14  9:22 ` Van Haaren, Harry
2025-02-14 16:31   ` Stephen Hemminger
2025-02-17  9:32     ` [External] : " NAGENDRA BALAGANI
2025-02-17 18:57   ` Changchun Zhang
2025-02-17 19:06     ` Stephen Hemminger
2025-02-17 19:14       ` Changchun Zhang
2025-02-17 19:20         ` Changchun Zhang
2025-02-17 20:56           ` Stephen Hemminger
2025-02-18  9:32         ` Van Haaren, Harry

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).