P4ELTE / t4p4s

Retargetable compiler for the P4 language
http://p4.elte.hu/
Apache License 2.0
119 stars 42 forks source link

Run switch without exiting. #44

Open kesnar opened 2 years ago

kesnar commented 2 years ago

Hello all!

I am trying to run a p4 program using dpdk. I have installed correctly T4P4S and run the first examples with no problems, as described in the README.

I was also able to compile and run a p4 program I have written. I would like now to test it and I am not sure how that works.

When running any program (either through t4p4s.sh or through the built binary), it runs then it says P4_FWD: lcore 1 has nothing to do and exits.

Running with dbg and verbose I also get this information

P4_FWD: lcore 1 has nothing to do
 1 lcore data is invalid, exiting

I am not sure if this is an actual error, because the program then exits with a normal exit code.

Can you please help me understand how I should run the program?

Ume0344 commented 1 year ago

Hey, Did you find any solution around it ?

kesnar commented 1 year ago

Hello, No I haven't found a solution and opted to use p4-dpdk instead of T4P4S.