<?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 Network Throughput measure in LS1046ARDB using DPDK in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Network-Throughput-measure-in-LS1046ARDB-using-DPDK/m-p/1423715#M10169</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am working with LS1046ARDB Evaluation Board to develop a network based application. I have posted a few queries in previous post&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Layerscape/DPDK-App-build-through-Codewarrior-IDE/td-p/1409289?emcs_t=S2h8ZW1haWx8c29sdXRpb25fdG9fcXVlc3Rpb258TDA5TDUyOFJGMU9aMkl8MTQxMjI4MnxBQ0NFUFRFRF9TT0xVVElPTlN8aEs" target="_blank" rel="noopener"&gt;Solved: DPDK App build through Codewarrior IDE - NXP Community.&lt;/A&gt;&amp;nbsp;Thank you for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I am able to do build and debug the l2fwd application. Then i need to test the l2fwd application to analyze the throughput of the network. I have configured the LS1046ARDB board according to&amp;nbsp;LSDK 20.12 User Guide are mentioned below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;In U-BOOT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;BR /&gt;default_hugepagesz=1024m hugepagesz=1024m hugepages=4 isolcpus=1-3 bportals=s0 qportals=s0&lt;BR /&gt;iommu.passthrough=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;setenv dtb fsl-ls1046a-rdb-usdpaa.dtb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have configured the u-boot environment variable for hugepages, cpu's and device-tree.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kernel Config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Core0, SGMII 1 &amp;amp; SGMII 2 - I have used for linux kernel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DPDK config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RGMII 1 &amp;amp; RGMII 2 with rest cores are used for DPDK userspace.&lt;/P&gt;&lt;P&gt;After kernel booting, i have verified the hugepages, ethernet interfaces are properly assigned or not, it's properly assigned. Then i ran the l2fwd application with few arguments mentioned below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#sudo ./l2fwd -c 0x3 -n 1 -- -p 0x3 -q 1 -T 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have few queries about l2fwd application are mentioned below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1: l2fwd application is running successfully, when i am sending ARP type packet to port 0(RGMII 1) means it will forward the packet to port 1(RGMII 2). When I am sending IPv4 packets, l2fwd app does not forward the packet to corresponding port. Can you suggest me to forward the IPv4 packets in layer 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2: Next i have to analyze the throughput of network through the ARP type packet. I have 2 evaluation board(LS1046ARDB) named as EB1 and EB2. I made EB2 as a DUT(l2fwd) and EB1 for running packet generation application. I have used the&amp;nbsp;&lt;STRONG&gt;pktgen_dpdk&amp;nbsp;&lt;/STRONG&gt;tool to generate the traffic with ARP type in EB1. I have connected EB1 RGMII 1 to EB2 RGMII 1 and&amp;nbsp;EB1 RGMII 2 to EB2 RGMII 2. Then i start traffic on EB1 RGMII 1, then it will send to EB2 RGMII 1(l2fwd running here), so it will forward the traffic to EB2 RGMII 2. Then i was able to receive and capture the forward&amp;nbsp;data in EB1 RGMII 2. Can you suggest me how to calculate the network throughput&amp;nbsp;in&amp;nbsp;pktgen_dpdk? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know about how to test the l2fwd app with jperf&amp;nbsp;tool also. I need to analyze the throughput through software instead of spirent test center.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3: Suggest me to run the l2fwd application with the arguments to achieve the maximum performance in the packet processing. EAL arguments-&amp;gt; Core, Memory channel. App arguments -&amp;gt; Queue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks is advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2022 03:58:05 GMT</pubDate>
    <dc:creator>Sakthi</dc:creator>
    <dc:date>2022-07-27T03:58:05Z</dc:date>
    <item>
      <title>Network Throughput measure in LS1046ARDB using DPDK</title>
      <link>https://community.nxp.com/t5/Layerscape/Network-Throughput-measure-in-LS1046ARDB-using-DPDK/m-p/1423715#M10169</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am working with LS1046ARDB Evaluation Board to develop a network based application. I have posted a few queries in previous post&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Layerscape/DPDK-App-build-through-Codewarrior-IDE/td-p/1409289?emcs_t=S2h8ZW1haWx8c29sdXRpb25fdG9fcXVlc3Rpb258TDA5TDUyOFJGMU9aMkl8MTQxMjI4MnxBQ0NFUFRFRF9TT0xVVElPTlN8aEs" target="_blank" rel="noopener"&gt;Solved: DPDK App build through Codewarrior IDE - NXP Community.&lt;/A&gt;&amp;nbsp;Thank you for your response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I am able to do build and debug the l2fwd application. Then i need to test the l2fwd application to analyze the throughput of the network. I have configured the LS1046ARDB board according to&amp;nbsp;LSDK 20.12 User Guide are mentioned below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;In U-BOOT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;BR /&gt;default_hugepagesz=1024m hugepagesz=1024m hugepages=4 isolcpus=1-3 bportals=s0 qportals=s0&lt;BR /&gt;iommu.passthrough=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;setenv dtb fsl-ls1046a-rdb-usdpaa.dtb&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have configured the u-boot environment variable for hugepages, cpu's and device-tree.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kernel Config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Core0, SGMII 1 &amp;amp; SGMII 2 - I have used for linux kernel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DPDK config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;RGMII 1 &amp;amp; RGMII 2 with rest cores are used for DPDK userspace.&lt;/P&gt;&lt;P&gt;After kernel booting, i have verified the hugepages, ethernet interfaces are properly assigned or not, it's properly assigned. Then i ran the l2fwd application with few arguments mentioned below.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;#sudo ./l2fwd -c 0x3 -n 1 -- -p 0x3 -q 1 -T 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I have few queries about l2fwd application are mentioned below:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q1: l2fwd application is running successfully, when i am sending ARP type packet to port 0(RGMII 1) means it will forward the packet to port 1(RGMII 2). When I am sending IPv4 packets, l2fwd app does not forward the packet to corresponding port. Can you suggest me to forward the IPv4 packets in layer 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q2: Next i have to analyze the throughput of network through the ARP type packet. I have 2 evaluation board(LS1046ARDB) named as EB1 and EB2. I made EB2 as a DUT(l2fwd) and EB1 for running packet generation application. I have used the&amp;nbsp;&lt;STRONG&gt;pktgen_dpdk&amp;nbsp;&lt;/STRONG&gt;tool to generate the traffic with ARP type in EB1. I have connected EB1 RGMII 1 to EB2 RGMII 1 and&amp;nbsp;EB1 RGMII 2 to EB2 RGMII 2. Then i start traffic on EB1 RGMII 1, then it will send to EB2 RGMII 1(l2fwd running here), so it will forward the traffic to EB2 RGMII 2. Then i was able to receive and capture the forward&amp;nbsp;data in EB1 RGMII 2. Can you suggest me how to calculate the network throughput&amp;nbsp;in&amp;nbsp;pktgen_dpdk? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Let me know about how to test the l2fwd app with jperf&amp;nbsp;tool also. I need to analyze the throughput through software instead of spirent test center.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q3: Suggest me to run the l2fwd application with the arguments to achieve the maximum performance in the packet processing. EAL arguments-&amp;gt; Core, Memory channel. App arguments -&amp;gt; Queue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks is advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2022 03:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Network-Throughput-measure-in-LS1046ARDB-using-DPDK/m-p/1423715#M10169</guid>
      <dc:creator>Sakthi</dc:creator>
      <dc:date>2022-07-27T03:58:05Z</dc:date>
    </item>
  </channel>
</rss>

