P4ELTE / t4p4s

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

Runing p4 programs from /examples gives error "1 lcore data is invalid, exiting" #51

Open Ume0344 opened 1 year ago

Ume0344 commented 1 year ago

Hi, I installed the t4p4s successfully on ubuntu 20.04.6. When I run test p4 example by running ./t4p4s.sh %l2fwd model=v1model port=1 verbose=1 dbg=1, it runs. But when I run actual p4 program by ./t4p4s.sh :l2fwd model=v1model port=1 verbose=1 dbg=1, it gives me this error

P4_FWD: lcore 1 has nothing to do
1 lcore data is invalid, exiting
P4_FWD: lcore 0 has nothing to do
0 lcore data is invalid, exiting
0 Flushing tables on all cores
0 Normal exit.
T₄P₄S switch running ./examples/p4_14/l2fwd.p4_14  exited normally

(Terminating controller dpdk_l2fwd_controller)
(Terminating the parse helper process, port 56373, pid 43766)

Can you help me to resolve it? What this error mean. I tried to google, used chatgpt but could not find any solution around it.