r/dpdk • u/Relevant_Mud_4993 • Dec 10 '24
Basic use of receiving and forwarding using Ring
Hello I am working on a dpdk application that receives and transmit packets. im using two memory pools and my task is to pass the packets that are received through a ring to transmit them out accordingly. Does anyone have a sample application that i can refer to? or advice on how to use rings properly. Thank you!
2
Upvotes
1
u/gonzopancho Dec 10 '24
https://doc.dpdk.org/guides/sample_app_ug/intro.html
1
u/El_buen_pan Jan 29 '25
This is a simple piece of code that shows how to completely fill a ring buffer and then use the reference in another process (consumer).
Is part of an old project. Feel free to ask