<?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>LayerscapeのトピックRe: LS1046A DPDK didn't reply packets</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1377584#M9508</link>
    <description>&lt;P&gt;Hi YiPing,&lt;/P&gt;&lt;P&gt;Thanks for your reply. After that I ran l3fwd test application. But still I can NOT see the ping response from fm1-mac9:1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me check what's going on here? Logs attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : I tried several l3fwd commands but most of them FAILED. In the logs was successful case.&lt;/P&gt;&lt;P&gt;And it seems that l3fwd application use the specific routing rules in the code(e.g., 198.18.X.X). So I change all the IP settings for PC, interface and usdpaa XML files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Nov 2021 10:48:25 GMT</pubDate>
    <dc:creator>Darren_P</dc:creator>
    <dc:date>2021-11-26T10:48:25Z</dc:date>
    <item>
      <title>LS1046A DPDK didn't reply packets</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1376323#M9484</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a custom &lt;STRONG&gt;LS1046A&lt;/STRONG&gt; board and we are running on &lt;STRONG&gt;LSDK20.04&lt;/STRONG&gt; version.&lt;/P&gt;&lt;P&gt;Our scenario is that we can only use one network port(e.g., say we were using &lt;STRONG&gt;fm1-mac9&lt;/STRONG&gt; only). For this port there are multiple applications sharing it. One of the application will use DPDK feature so we simply alias one interface for DPDK use e.g.,&lt;/P&gt;&lt;P&gt;fm1-mac9 &amp;lt;ip#1&amp;gt; --&amp;gt; for system interface used.&lt;/P&gt;&lt;P&gt;fm1-mac9:1 &amp;lt;ip#2&amp;gt; --&amp;gt; for DPDK application used.&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;In the dts file we declared one interface is for &lt;U&gt;kernel VSP&lt;/U&gt;&lt;STRONG&gt;(i.e., ethernet-shared properties)&lt;/STRONG&gt;. And the other is for &lt;U&gt;DPDK VSP&lt;/U&gt;. &lt;STRONG&gt;So that DPDK will not fully take control for whole interface&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Test setup is &lt;STRONG&gt;our board directly connected to a PC&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the command we used to test DPDK. Test was performed &lt;STRONG&gt;&lt;U&gt;by issuing ping command from PC&lt;/U&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;"&lt;STRONG&gt;l2fwd -c 0xa -n 1 -- -p 0x1&lt;/STRONG&gt;" and logs are,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EAL: Detected 4 lcore(s)&lt;BR /&gt;EAL: Detected 1 NUMA nodes&lt;BR /&gt;EAL: Multi-process socket /var/run/dpdk/rte/mp_socket&lt;BR /&gt;EAL: Selected IOVA mode 'PA'&lt;BR /&gt;EAL: Probing VFIO support...&lt;BR /&gt;EAL: VFIO support initialized&lt;BR /&gt;EAL: DPAA Bus Detected&lt;BR /&gt;PMD: Using FMC script mode,RXQs will be setup according to FMC configuration&lt;BR /&gt;PMD: net: dpaa: fm1-mac9: 00:04:9f:04:ad:99&lt;BR /&gt;PMD: dpaa_sec-1 cryptodev init&lt;BR /&gt;PMD: dpaa_sec-2 cryptodev init&lt;BR /&gt;PMD: dpaa_sec-3 cryptodev init&lt;BR /&gt;PMD: dpaa_sec-4 cryptodev init&lt;BR /&gt;MAC updating enabled&lt;BR /&gt;Notice: odd number of ports in portmask.&lt;BR /&gt;Lcore 1: RX port 0&lt;BR /&gt;Initializing port 0... done:&lt;BR /&gt;Port 0, MAC address: 00:04:9F:04:AD:99&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Checking link statusdone&lt;BR /&gt;Port0 Link Up. Speed 10000 Mbps - full-duplex&lt;BR /&gt;L2FWD: lcore 3 has nothing to do&lt;BR /&gt;L2FWD: entering main loop on lcore 1&lt;BR /&gt;L2FWD: -- lcoreid=1 portid=0&lt;BR /&gt;&amp;#27;[2J&amp;#27;[1;1H&lt;BR /&gt;Port statistics ====================================&lt;BR /&gt;Statistics for port 0 ------------------------------&lt;BR /&gt;Packets sent: 0&lt;BR /&gt;Packets received: 0&lt;BR /&gt;Packets dropped: 0&lt;BR /&gt;Aggregate statistics ===============================&lt;BR /&gt;Total packets sent: 0&lt;BR /&gt;Total packets received: 0&lt;BR /&gt;Total packets dropped: 0&lt;BR /&gt;====================================================&lt;BR /&gt;&amp;#27;[2J&amp;#27;[1;1H&lt;BR /&gt;Port statistics ====================================&lt;BR /&gt;Statistics for port 0 ------------------------------&lt;BR /&gt;Packets sent: 2&lt;BR /&gt;Packets received: 2&lt;BR /&gt;Packets dropped: 0&lt;BR /&gt;Aggregate statistics ===============================&lt;BR /&gt;Total packets sent: 2&lt;BR /&gt;Total packets received: 2&lt;BR /&gt;Total packets dropped: 0&lt;BR /&gt;====================================================&lt;BR /&gt;&amp;#27;[2J&amp;#27;[1;1H&lt;BR /&gt;Port statistics ====================================&lt;BR /&gt;Statistics for port 0 ------------------------------&lt;BR /&gt;Packets sent: 4&lt;BR /&gt;Packets received: 4&lt;BR /&gt;Packets dropped: 0&lt;BR /&gt;Aggregate statistics ===============================&lt;BR /&gt;Total packets sent: 4&lt;BR /&gt;Total packets received: 4&lt;BR /&gt;Total packets dropped: 0&lt;BR /&gt;====================================================&lt;/P&gt;&lt;P&gt;Looks like DPDK interface is able to received packet from PC we can see packets increasing.&lt;/P&gt;&lt;P&gt;Question here is : &lt;STRONG&gt;Why we can't see icmp packets replied from DPDK binded interface( fm1-mac9:1)?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;But we can get icmp responses from fm1-mac9. Are there some setting issues ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 12:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1376323#M9484</guid>
      <dc:creator>Darren_P</dc:creator>
      <dc:date>2021-11-24T12:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A DPDK didn't reply packets</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1376917#M9492</link>
      <description>&lt;P&gt;l2fwd is layer 2 application, when DPDK&amp;nbsp;&lt;SPAN&gt;fm1-mac9:1 receives packets, it will only swap source and destination MAC address, then send packets out, these packets don't include IP address information of&amp;nbsp;fm1-mac9:1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You could use DPDK l3fwd application to do the test.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 09:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1376917#M9492</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-11-25T09:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A DPDK didn't reply packets</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1377584#M9508</link>
      <description>&lt;P&gt;Hi YiPing,&lt;/P&gt;&lt;P&gt;Thanks for your reply. After that I ran l3fwd test application. But still I can NOT see the ping response from fm1-mac9:1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me check what's going on here? Logs attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note : I tried several l3fwd commands but most of them FAILED. In the logs was successful case.&lt;/P&gt;&lt;P&gt;And it seems that l3fwd application use the specific routing rules in the code(e.g., 198.18.X.X). So I change all the IP settings for PC, interface and usdpaa XML files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 10:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1377584#M9508</guid>
      <dc:creator>Darren_P</dc:creator>
      <dc:date>2021-11-26T10:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: LS1046A DPDK didn't reply packets</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1378850#M9527</link>
      <description>&lt;P&gt;On your PC, please ping "&lt;SPAN&gt;198.18.0.1" then check whether you could receive reply packets from "198.18.0.1".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please execute the following command to check whether it is possible to receive reply packets.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ fmc -x&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ fmc -c ./usdpaa_config_ls1046.xml -p&amp;nbsp;usdpaa_policy_24g_classif_udp_ipsec_1queue.xml&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;$ l3fwd -c 0x1 -n 1 -- -p 0x1 --config="(0,0,0)"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please check whether you are using dts file&amp;nbsp;fsl-ls1046a-rdb-usdpaa-shared.dts or modify from it.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 10:10:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1046A-DPDK-didn-t-reply-packets/m-p/1378850#M9527</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2021-11-30T10:10:55Z</dc:date>
    </item>
  </channel>
</rss>

