AnsweredAssumed Answered

How to run ipfwd_app in background

Question asked by Michael Chen on Jul 13, 2017
Latest reply on Jul 19, 2017 by Michael Chen



I failed to run ipfwd_app on LS1043ARDB, could anyone help me?


Here are my steps

1. boot kernel with USDPAA device tree configuration

2. fmc -c usdpaa_config_ls1043.xml -p usdpaa_policy_hash_ipv4.xml -a

3. ipfwd_app 1..3 -c usdpaa_config_ls1043.xml -p usdpaa_policy_hash_ipv4.xml&

4. ipfwd_config -P #PID -E -a true  --> after this, there is no responce in the shell and seems stucked


I found that after step3, the ipfwd_app is stopped


[1]+ Stopped(SIGTTOU) ipfwd_app 1..3 -c usdpaa_config_ls1043.xml -p usdpaa_policy_hash_ipv4.xml


So, I think it is that ipfwd_app is done which causes no response for ipfwd_config


After that, I try to use 'nohup' to run ipfwd_app, still failed, the log shows that apfwd_app is always killed, why was that?


Thread uid killed (cpu 1)


I'm using mini-usb to connect the console, so it is not possible to run two shells.

In USDPAA application, the kernel can't see the MAC, so I think ssh is not possible either


Can anyone help?