<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to run ipfwd_app in background in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-run-ipfwd-app-in-background/m-p/668163#M2473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Yiping,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I succeed to modify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;dts&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file and can use SSH now, but there is a new issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I can't add route, here is the error log&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ipfwd_config -P 1961 -B -s 192.168.27.2 -d 192.168.28.2 -g 192.168.28.2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;ERR:Route Entry Operation failed as mandatory parameters missing; --f or -f&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And after I add "--f" to the command, there is another error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ipfwd_config -P 1961 -B -s 192.168.27.2 -d 192.168.28.2 -g 192.168.28.2 --f 0&lt;BR /&gt;-B: --f: (PROGRAM ERROR) Option should have been recognized!?&lt;BR /&gt;Try `-B --help' or `-B --usage' for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What should do?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 06:18:20 GMT</pubDate>
    <dc:creator>michaelchen_nsb</dc:creator>
    <dc:date>2017-07-20T06:18:20Z</dc:date>
    <item>
      <title>How to run ipfwd_app in background</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-run-ipfwd-app-in-background/m-p/668161#M2471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I failed to run ipfwd_app on LS1043ARDB, could anyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my steps&lt;/P&gt;&lt;P&gt;1. boot kernel with USDPAA device tree configuration&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;fmc -c usdpaa_config_ls1043.xml -p usdpaa_policy_hash_ipv4.xml -a&lt;/P&gt;&lt;P&gt;3. ipfwd_app 1..3 &lt;SPAN&gt;-c usdpaa_config_ls1043.&lt;/SPAN&gt;xml&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;-p usdpaa_policy_hash_ipv4.xml&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4. ipfwd_config -P #PID -E -a true &amp;nbsp;--&amp;gt; after this, there is no responce in the shell and seems stucked&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found that after step3, the ipfwd_app is stopped&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1]+ Stopped(SIGTTOU) ipfwd_app 1..3 -c usdpaa_config_ls1043.xml -p usdpaa_policy_hash_ipv4.xml&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So, I think it is that ipfwd_app is done which causes no response for ipfwd_config&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thread uid:smileylaugh: killed (cpu 1) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'm using mini-usb to connect the console, so it is not possible to run two shells.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In USDPAA application, the kernel can't&amp;nbsp;see the MAC, so I think ssh is not possible either&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can anyone help?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jul 2017 02:48:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-run-ipfwd-app-in-background/m-p/668161#M2471</guid>
      <dc:creator>michaelchen_nsb</dc:creator>
      <dc:date>2017-07-14T02:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to run ipfwd_app in background</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-run-ipfwd-app-in-background/m-p/668162#M2472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-content-finding="Community" data-userid="302080" data-username="michaelchen_nsb" href="https://community.nxp.com/people/michaelchen_nsb"&gt;Michael Chen&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use ssh to open another terminal to run &lt;SPAN&gt;ipfwd_config. If you don't have a PCIe Ethernet card, you could modify the dts file to assign one Ethernet port to Linux rather than USDPAA. In the device node "fsl,dpaa" definition in dts file arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb-usdpaa.dts, please delete one Ethernet port definition to make it assigned to Linux Kernel.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 11:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-run-ipfwd-app-in-background/m-p/668162#M2472</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2017-07-17T11:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to run ipfwd_app in background</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-run-ipfwd-app-in-background/m-p/668163#M2473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Yiping,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, I succeed to modify&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;dts&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;file and can use SSH now, but there is a new issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I can't add route, here is the error log&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ipfwd_config -P 1961 -B -s 192.168.27.2 -d 192.168.28.2 -g 192.168.28.2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;ERR:Route Entry Operation failed as mandatory parameters missing; --f or -f&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And after I add "--f" to the command, there is another error&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# ipfwd_config -P 1961 -B -s 192.168.27.2 -d 192.168.28.2 -g 192.168.28.2 --f 0&lt;BR /&gt;-B: --f: (PROGRAM ERROR) Option should have been recognized!?&lt;BR /&gt;Try `-B --help' or `-B --usage' for more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What should do?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 06:18:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-run-ipfwd-app-in-background/m-p/668163#M2473</guid>
      <dc:creator>michaelchen_nsb</dc:creator>
      <dc:date>2017-07-20T06:18:20Z</dc:date>
    </item>
  </channel>
</rss>

