<?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: IP Forwarding performance on LS2088/LX2160 in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1580698#M11653</link>
    <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411" target="_self"&gt;&lt;SPAN class=""&gt;yipingwang&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;In dpaa and dpaa1 single flow traffic can be distributed to all cores . So dpaa2 is not backward compatible with dpaa1.&lt;/P&gt;&lt;P&gt;Out of order of frames is not a issue for us, we only need to get at least 9Gbps with a single flow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it is not possible to distribute single flow traffic to all cores with software(driver) changes.&lt;/P&gt;&lt;P&gt;Is there any way to downgrade dpaa2 and use it with the features of dpaa1? I&lt;/P&gt;&lt;P&gt;If there is no any way to find a solution with dpaa2 , we have to change the cpu and our custom board and find a new cpu which we can get 9Gbps performance for a single flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 09:00:53 GMT</pubDate>
    <dc:creator>sedat_altun</dc:creator>
    <dc:date>2023-01-11T09:00:53Z</dc:date>
    <item>
      <title>IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1577034#M11592</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to measure IP Forwarding performance of LS2088 and Lx2160 cpus on LSDK linux.&lt;/P&gt;&lt;P&gt;But during the test the ingress traffic with single source and destination ip address is processed only by a single core.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I am measuring only&amp;nbsp; the single core performance . Even though the single core is %100 busy the other cores are not involved in packet processing.&lt;/P&gt;&lt;P&gt;Is there any way to distribute the traffic with single source and single port address among all cores.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 09:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1577034#M11592</guid>
      <dc:creator>sedat_altun</dc:creator>
      <dc:date>2023-01-04T09:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1577783#M11612</link>
      <description>&lt;P&gt;&lt;SPAN&gt;DPAA2 platform can support flow steering, and the multi flows will be distributed to each core.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is a example script for LX2160ARDB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#!/bin/bash&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mac_list="dpmac.5 dpmac.6"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for mac in $mac_list&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ls-addni --options=DPNI_OPT_HAS_KEY_MASKING $mac&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;done&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;echo ===== show dpmac and dpni ====&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ls-listmac&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# please check interface name which connect to dpmac5 and dpmac6!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eth_list=(eth2 eth3)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo "===== eth list is $eth_list ==="&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# mac/ip address configuration on eth2 and eth3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for i in $(seq 0 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ifconfig ${eth_list[$i]} hw ether 00:E0:0C:00:77:0$(($i + 1))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ifconfig ${eth_list[$i]} 192.85.$(($i + 1)).1/24 up&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;done&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# arp bind and flow steering configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for i in $(seq 2 17)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; arp -s 192.85.1.$i 00:10:94:00:00:01&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; arp -s 192.85.2.$i 00:10:94:00:00:02&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ethtool -N ${eth_list[0]} flow-type ip4 dst-ip 192.85.2.$i action $(($i - 2))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ethtool -N ${eth_list[1]} flow-type ip4 dst-ip 192.85.1.$i action $(($i - 2))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;done&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ifconfig&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# disable gro and pause frame on eth2 and eth3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for eth in ${eth_list[@]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;do&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ethtool -K $eth gro off&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ethtool -A $eth tx off&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 07:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1577783#M11612</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-01-05T07:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1578855#M11631</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411" target="_self"&gt;&lt;SPAN class=""&gt;yipingwang&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you very much for your reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;But you misunderstood me. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I don't want to steer specific frames (source, destination IP) to a dedicated core, I want to distribute the frames with a specific source, destination IP address between all the cores of Lx2160. But by default, on Lx2160 the traffic with a specific source, destination IP address is processed by a single core. And the single core Ip forwarding performance is near 6Gbps, but I want to get at least 9Gbps forwarding performance by using all the cores.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;My test setup is depicted at the below figure. The sender PC-1 has IP address 1.1.1.1 and the receiver PC-2 has ip address 2.2.2.2, the RDB has 2 ip addresses 1.1.1.2 for rx and 2.2.2.3 for tx.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I am measuring the ip forwarding performance between PC-1 and PC-2, but I observe that a single core is only involved processing the frames by reading /proc/softirqs file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;How can a let the ingress frames from PC-1 to PC-2 to be processed by all cores of LX160?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sedat_altun_0-1673198141904.png" style="width: 564px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206384i59AB39E5F245AB69/image-dimensions/564x317?v=v2" width="564" height="317" role="button" title="sedat_altun_0-1673198141904.png" alt="sedat_altun_0-1673198141904.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Figure -1 Test setup&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 17:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1578855#M11631</guid>
      <dc:creator>sedat_altun</dc:creator>
      <dc:date>2023-01-08T17:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1580672#M11652</link>
      <description>&lt;P&gt;&lt;SPAN&gt;For single flow, the traffic will be distributed to single core on dpaa2 platform, it doesn't support single flow traffic distributed to all cores in software. Also, it will cause frames out of order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you want to the performance achieved 9Gbps, you can use flow-steering, as LX2160ARDB's performance of IPFWD, the performance data can achieve around 50Gbps above 1024B packet size.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 08:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1580672#M11652</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-01-11T08:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1580698#M11653</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411" target="_self"&gt;&lt;SPAN class=""&gt;yipingwang&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;In dpaa and dpaa1 single flow traffic can be distributed to all cores . So dpaa2 is not backward compatible with dpaa1.&lt;/P&gt;&lt;P&gt;Out of order of frames is not a issue for us, we only need to get at least 9Gbps with a single flow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it is not possible to distribute single flow traffic to all cores with software(driver) changes.&lt;/P&gt;&lt;P&gt;Is there any way to downgrade dpaa2 and use it with the features of dpaa1? I&lt;/P&gt;&lt;P&gt;If there is no any way to find a solution with dpaa2 , we have to change the cpu and our custom board and find a new cpu which we can get 9Gbps performance for a single flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 09:00:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1580698#M11653</guid>
      <dc:creator>sedat_altun</dc:creator>
      <dc:date>2023-01-11T09:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1582310#M11683</link>
      <description>&lt;P&gt;&lt;SPAN&gt;DPAA2 is different from DPAA1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You could raise paid service requirement to support the single flow distributed all cores in software.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 08:42:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1582310#M11683</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-01-13T08:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1587711#M11757</link>
      <description>&lt;P&gt;If it is possible to distribute single flow traffic among cores we can apply to paid service.&lt;/P&gt;&lt;P&gt;How can we apply? Could you please inform us about the procedure.&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 15:23:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1587711#M11757</guid>
      <dc:creator>sedat_altun</dc:creator>
      <dc:date>2023-01-25T15:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: IP Forwarding performance on LS2088/LX2160</title>
      <link>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1594484#M11808</link>
      <description>&lt;P&gt;I have sent email to you.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 07:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/IP-Forwarding-performance-on-LS2088-LX2160/m-p/1594484#M11808</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-02-07T07:39:22Z</dc:date>
    </item>
  </channel>
</rss>

