[dpdk-users] Accessing packet data from different lcores

Ramin.Taraz at gd-ms.com Ramin.Taraz at gd-ms.com
Wed Feb 23 17:10:00 CET 2022



-----Original Message-----
From: Stephen Hemminger <stephen at networkplumber.org> 
If this field is going to be referenced by other cores it needs to be done inside lock or use atomic builtin primitives.


Mbufs are passed from core to core via rings so in practice there will 1 core accessing it at any time.
Why should it be locked against multiple access?


More information about the users mailing list