Export metadata to host.

48 views
Skip to first unread message

Xiong Holo

unread,
Jul 18, 2023, 10:01:51 AM7/18/23
to open-nfp
Hello, everyone,
    I want to ask a question. When each data packet enters, I use P4's paser to parse out some metadata. I need to export these metadata to host and store them in files. Do you have any good suggestions? I have made some attempts, such as using register to store each field of metadata, and then using 'rtecli' to read and write to the log file in a loop, but this leads to a lot of duplicate data, and creates a concurrency problem, that is, in different ME Different threads will overwrite part of the data. I sincerely look forward to your answer, thank you.
Reply all
Reply to author
Forward
0 new messages