<?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: Packet drops in l2fwd example code</title>
    <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1696540#M12985</link>
    <description>&lt;P&gt;Please deploy a SD card with LSDK 21.08 pre-built image&lt;/P&gt;
&lt;P&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer&lt;/A&gt; &amp;amp;&amp;amp; chmod +x flex-installer &amp;amp;&amp;amp; sudo&lt;BR /&gt;mv flex-installer /usr/bin&lt;/P&gt;
&lt;P&gt;$ flex-installer -i pf -d &amp;lt;device&amp;gt;&lt;/P&gt;
&lt;P&gt;$ flex-installer -i auto -m ls1046ardb -d &amp;lt;device&amp;gt;&lt;/P&gt;
&lt;P&gt;Then boot from SD card and check whether this problem persists.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Aug 2023 08:42:55 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2023-08-01T08:42:55Z</dc:date>
    <item>
      <title>Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1692114#M12929</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I am using DPDK l2fwd application in the LS1046ARDB kit. I have used spirent to generate traffic on one port and receive on other port. When I send the traffic from spirent, the tx and rx count is not matching, but the l2fwd port statistics showing the same count as spirent sent. For ex, spirent sent n pkts, the Ls1040 port statisitics showing received = n and sent =n, but the spirent receive port is showing less than n pkts. For reference I have attached the spirent and LS1046 statistics screen shot. Where this loss is happening in LS1046.&lt;/P&gt;&lt;P&gt;Same application is run in Intel server, but there are no packet losses.&lt;/P&gt;&lt;P&gt;Please help us in resolving the problem.&lt;/P&gt;&lt;P&gt;Thanks--&lt;/P&gt;&lt;P&gt;Nagurvali Sayyad.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 08:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1692114#M12929</guid>
      <dc:creator>nagurvalisayyad</dc:creator>
      <dc:date>2023-07-25T08:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1692668#M12940</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have taken the counts of qmi and bmi registers. Please find the attachment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Total packets sent by spirent&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 201945 = 0x314D9&lt;/P&gt;&lt;P&gt;Total packets received by spirent = 201622 = 0x31396&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 04:59:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1692668#M12940</guid>
      <dc:creator>nagurvalisayyad</dc:creator>
      <dc:date>2023-07-26T04:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1694823#M12963</link>
      <description>&lt;P&gt;&lt;SPAN&gt;If TX of LS is different from RX of&amp;nbsp;spirent , please check whether there is error packets on TX of LS, and whether there is error packets on RX of&amp;nbsp;spirent.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jul 2023 07:57:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1694823#M12963</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-07-28T07:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1695305#M12966</link>
      <description>&lt;P&gt;Hi yipingwang,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; There are no error packets in RX of spirent. The RX count shown by spirent is&amp;nbsp;201622 without any FCS, PRBS errors, etc(Actually TX by spirent is 201945).&lt;/P&gt;&lt;P&gt;How to see the error packets on TX of LS?&lt;/P&gt;&lt;P&gt;In the last post, I have attached the qmi and bmi port registers dump. Is it gives any information about error packets at LS side.&lt;/P&gt;&lt;P&gt;Thanks--&lt;/P&gt;&lt;P&gt;Nagurvali Sayyad.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2023 05:51:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1695305#M12966</guid>
      <dc:creator>nagurvalisayyad</dc:creator>
      <dc:date>2023-07-29T05:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1695429#M12969</link>
      <description>&lt;P&gt;Please refer to the following update from the AE team.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As the logs, the packets statistics on rx/tx side of FMAN are same.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That's mean the packets already sent by Tx in MAC, the issue is occurred duration the MAC to Spirent TC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I didn't reproduce the issue on LS1046ARDB, the counter of Tx is same as Rx of Spirent TC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So, could customer try to send the lower traffic load rate? if possible, try it again with another LS1046ARDB.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 02:41:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1695429#M12969</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-07-31T02:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1695510#M12975</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I have tried with multiple rates(Ex: 100Kbps to 400Mbps), but facing the same issue. I am compiling the DPDK l2fwd application in Ubuntu host and transferring the executables to the LS kit and running in the home directory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it creates any problem?&lt;/P&gt;&lt;P&gt;I have observed that the LS kit is not generating any packets for some random durations of 100ms to 150ms. So, if the rate is high, the difference between the TX and RX count is high and if the rate is less, the difference is low.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jul 2023 05:08:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1695510#M12975</guid>
      <dc:creator>nagurvalisayyad</dc:creator>
      <dc:date>2023-07-31T05:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1696540#M12985</link>
      <description>&lt;P&gt;Please deploy a SD card with LSDK 21.08 pre-built image&lt;/P&gt;
&lt;P&gt;$ wget &lt;A href="https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer" target="_blank"&gt;https://www.nxp.com/lgfiles/sdk/lsdk2108/flex-installer&lt;/A&gt; &amp;amp;&amp;amp; chmod +x flex-installer &amp;amp;&amp;amp; sudo&lt;BR /&gt;mv flex-installer /usr/bin&lt;/P&gt;
&lt;P&gt;$ flex-installer -i pf -d &amp;lt;device&amp;gt;&lt;/P&gt;
&lt;P&gt;$ flex-installer -i auto -m ls1046ardb -d &amp;lt;device&amp;gt;&lt;/P&gt;
&lt;P&gt;Then boot from SD card and check whether this problem persists.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 08:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1696540#M12985</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-08-01T08:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1698260#M12997</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;After&amp;nbsp;&lt;SPAN&gt;deploying a SD card with LSDK 21.08 pre-built image, the following commands are executed. Please check, if any mistakes are there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step 1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cd /boot/&lt;BR /&gt;cp fsl-ls1046a-rdb-sdk.dtb fsl-ls1046a-rdb-sdk_org.dtb // Take backup of original SDK dtb file&lt;BR /&gt;cp fsl-ls1046a-rdb-usdpaa.dtb fsl-ls1046a-rdb-sdk.dtb // Copy USDPAA as default DTB file&lt;BR /&gt;reboot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Step 2:&lt;/P&gt;&lt;P&gt;mkdir -p /dev/hugetlbfs&lt;BR /&gt;mount -t hugetlbfs hugetlbfs /dev/hugetlbfs/&lt;BR /&gt;echo 448 &amp;gt; /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages&lt;BR /&gt;&lt;BR /&gt;fmc -x&lt;BR /&gt;fmc -c /usr/local/dpdk/dpaa/usdpaa_config_ls1046.xml -p /usr/local/dpdk/dpaa/usdpaa_policy_hash_ipv4_1queue.xml -a&lt;BR /&gt;&lt;BR /&gt;dpdk-l2fwd -c 0xc -n 4 -- -p 0x3 -q 8 -T 2&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 04:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1698260#M12997</guid>
      <dc:creator>nagurvalisayyad</dc:creator>
      <dc:date>2023-08-03T04:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1698331#M13000</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;After installing the downloaded images also getting the same error. The Spirent TX and RX count mismatch is there on RGMII1 and RGMII2 ports.&lt;/P&gt;&lt;P&gt;If I use the SGMII1 and SGMII2 ports, then there are no drops and spirent TX and RX count is matching.&lt;/P&gt;&lt;P&gt;In our recompiled and loaded SD card, we have changed the dts file of USDPAA containing only RGMII ports, so that both SGMII ports will be in control of Linux. Because of that, we could not test the DPDK l2fwd application with SGMII ports.&lt;/P&gt;&lt;P&gt;Now it's clear that DPDK loopback with SGMII ports is fine, but why packet drops if we use the RGMII ports?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 09:35:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1698331#M13000</guid>
      <dc:creator>nagurvalisayyad</dc:creator>
      <dc:date>2023-08-03T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Packet drops in l2fwd example code</title>
      <link>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1700122#M13023</link>
      <description>&lt;P&gt;Would you please try normal IP forwarding in Linux Kernel?&lt;/P&gt;
&lt;P&gt;Please boot up the target board with normal DTS without USDPAA.&lt;/P&gt;
&lt;P&gt;~# echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 09:51:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Packet-drops-in-l2fwd-example-code/m-p/1700122#M13023</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-08-07T09:51:45Z</dc:date>
    </item>
  </channel>
</rss>

