I have a p4 program, that I compiled and was able to run it on bmv2, communicate with p4runtime and run some traffic as intended.
I am trying to set p4-dpdk and run my program there,
Unfortunately I am not able to understand how p4c with dpdk and then p4-dpdk target works.
Can you please guide me, or provide me with some documentation regarding the procedure?
I am not sure how bf-rt-schema and context come into play.
Also I have read the examples in the github repository, but couldn’t find how exactly the ports are defined.
I would assume that that somewhere in the procedure (most probably through p4c and context) you can define the DPDK parameters (cpu mask, queues, etc.) and also the interfaces you want to bind to the switch. Somewhat similar to how ovs-dpdk works. But I am at a loss.
Thank you very much for your help!