<?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: LS1043A DPDK RUN FAIL PROBLEM in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012399#M5437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Since memory is less, you should use 2m size hugepages.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;so, following is good:&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;setenv othbootargs default_hugepagesz=2m hugepagesz=2m hugepages=512&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cat /sys/devices/system/node/node0/hugepages/hugepages-*/nr_hugepages //result is 512,&amp;nbsp;success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, you can modify the dpdk ethtool to use less memory or don't allocate memory for all ports.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2020 10:22:45 GMT</pubDate>
    <dc:creator>hemantagrawal</dc:creator>
    <dc:date>2020-01-23T10:22:45Z</dc:date>
    <item>
      <title>LS1043A DPDK RUN FAIL PROBLEM</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012395#M5433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P data-section="0"&gt;&lt;SPAN data-group="0-0" data-section="0" data-sentence="0"&gt;We wanted to run DPDK's own tools to manage the eth port under DPDK, such as state acquisition, duplex rate parameter configuration, but ran an error&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-section="1"&gt;&lt;SPAN data-group="1-0" data-section="1" data-sentence="0"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P data-section="2"&gt;&lt;SPAN data-group="2-0" data-section="2" data-sentence="0"&gt;Two operations were performed before running ethtool,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1 Uboot is configured with large page memory：default_hugepagesz=2MB hugepagesz=2MB hugepages=512 isolcpus=1-3 bportals=s0 qportals=s0 iommu.passthrough=1&lt;/P&gt;&lt;P&gt;2 The FMC is executed and the dpaa is configured using the default file：&lt;BR /&gt;fmc -c usdpaa_config_ls1043.xml -p usdpaa_policy_hash_ipv4_1queue.xml -a&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DPDK's ethtool failed to run&lt;/P&gt;&lt;P&gt;[anaconda &lt;A href="mailto:root@localhost"&gt;root@localhost&lt;/A&gt; tmp]# ./ethtool&lt;BR /&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: 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,Make sure to use DPDK supported FMC scripts only.&lt;BR /&gt;PMD: net: dpaa: fm1-mac1: 00:04:9f:05:aa:e0&lt;BR /&gt;PMD: net: dpaa: fm1-mac2: 00:04:9f:05:aa:e1&lt;BR /&gt;PMD: net: dpaa: fm1-mac3: 00:04:9f:05:aa:e2&lt;BR /&gt;PMD: net: dpaa: fm1-mac4: 00:04:9f:05:aa:e3&lt;BR /&gt;PMD: net: dpaa: fm1-mac5: 00:04:9f:05:aa:e4&lt;BR /&gt;PMD: net: dpaa: fm1-mac6: 00:04:9f:05:aa:e5&lt;BR /&gt;Number of NICs: 6&lt;BR /&gt;Init port 0..&lt;BR /&gt;dpaa_eth_dev_configure(): Rx offloads non configurable - requested 0x0 ignored 0x4e&lt;BR /&gt;dpaa_eth_dev_configure(): Tx offloads non configurable - requested 0x0 ignored 0x1c09e&lt;BR /&gt;EAL: Error - exiting with code: 1&lt;BR /&gt;&amp;nbsp; Cause: rte_pktmbuf_pool_create failed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please&amp;nbsp;check what caused the error, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2020 01:04:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012395#M5433</guid>
      <dc:creator>jack_huang1</dc:creator>
      <dc:date>2020-01-15T01:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A DPDK RUN FAIL PROBLEM</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012396#M5434</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="336054" data-username="黄克祥" href="https://community.nxp.com/people/黄克祥"&gt;克祥 黄&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;On LS2088ARDB/LS1088ARDB/LS1046ARDB, if configuring hugepages memory as the following, ethtool can be set up. However LS1043ARDB memory is too small(only 2 G) to configure hugepages as the following. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10.0pt; "&gt;default_hugepagesz=1024m hugepagesz=1024m hugepages=8&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt; &lt;BR /&gt; Thanks,&lt;BR /&gt; Yiping&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2020 10:04:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012396#M5434</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-01-16T10:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A DPDK RUN FAIL PROBLEM</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012397#M5435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yiping Wang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I'm the real questioner, 克祥 is my friend, I have tried your way, but it looks like can't be set successfully still.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we did these test:&lt;/P&gt;&lt;P&gt;1. 8G:&amp;nbsp;&lt;/P&gt;&lt;P&gt;setenv othbootargs default_hugepagesz=1024m hugepagesz=1024m hugepages=8&lt;/P&gt;&lt;P&gt;cat /sys/devices/system/node/node0/hugepages/hugepages-*/nr_hugepages &lt;SPAN style="color: #da0808;"&gt;//result is 0,&amp;nbsp;failed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. 1G(size=2m):&lt;/P&gt;&lt;P&gt;setenv othbootargs default_hugepagesz=2m hugepagesz=2m hugepages=512&lt;/P&gt;&lt;P&gt;cat /sys/devices/system/node/node0/hugepages/hugepages-*/nr_hugepages //result is 512,&amp;nbsp;success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. 1G(size=4m)&lt;/P&gt;&lt;P&gt;setenv othbootargs default_hugepagesz=4m hugepagesz=4m hugepages=256&lt;/P&gt;&lt;P&gt;cat /sys/devices/system/node/node0/hugepages/hugepages-*/nr_hugepages &lt;SPAN style="color: #f30802;"&gt;//result is 0, &lt;SPAN style="color: #da0808;"&gt;failed&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. 8M(size=1024k)&lt;/P&gt;&lt;P&gt;setenv othbootargs default_hugepagesz=1024k hugepagesz=1024k hugepages=8&lt;/P&gt;&lt;P&gt;cat /sys/devices/system/node/node0/hugepages/hugepages-*/nr_hugepages &lt;SPAN style="color: #f30802;"&gt;//result is 0, &lt;SPAN style="color: #da0808;"&gt;failed&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 06:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012397#M5435</guid>
      <dc:creator>zg_liu</dc:creator>
      <dc:date>2020-01-17T06:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A DPDK RUN FAIL PROBLEM</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012398#M5436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;As I mentioned, ethtool cannot be executed successfully on LS1043ARDB, because LS1043ARDB memory is too small(only 2 G) to configure hugepages as the following. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10.0pt;"&gt;default_hugepagesz=1024m hugepagesz=1024m hugepages=8&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2020 06:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012398#M5436</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2020-01-17T06:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: LS1043A DPDK RUN FAIL PROBLEM</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012399#M5437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Since memory is less, you should use 2m size hugepages.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;so, following is good:&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;setenv othbootargs default_hugepagesz=2m hugepagesz=2m hugepages=512&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;cat /sys/devices/system/node/node0/hugepages/hugepages-*/nr_hugepages //result is 512,&amp;nbsp;success&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also, you can modify the dpdk ethtool to use less memory or don't allocate memory for all ports.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1043A-DPDK-RUN-FAIL-PROBLEM/m-p/1012399#M5437</guid>
      <dc:creator>hemantagrawal</dc:creator>
      <dc:date>2020-01-23T10:22:45Z</dc:date>
    </item>
  </channel>
</rss>

