<?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: ls1046a XFI Signal Stability in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1644129#M12384</link>
    <description>&lt;P&gt;&lt;SPAN&gt;[Q1] Is there a retimer in the XFI path? It is recommend to use a retimer with XFI on our SoCs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That being said, the retimer is usually with the connection being a SFP cage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only the LX2160A has been deemed to not use a retimer because it can meet SFI electrical specifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't use a retimer in the XFI when we don't need XFI-toSFI electrical conversion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence, you will see a direct connection to the AQR PHYs because they support XFI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Q2] Does the L2SW support XFI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, did the IBIS modeling for the interconnect highlight any issues?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AN12750 is related to 10GBASE-KR but it highlights the registers for TX equalization settings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aside from the possible HW issues. How is the SW configured for the link. For Linux, it should be defined as "fixed".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll research the details for the SW changes.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 May 2023 02:11:12 GMT</pubDate>
    <dc:creator>yipingwang</dc:creator>
    <dc:date>2023-05-04T02:11:12Z</dc:date>
    <item>
      <title>ls1046a XFI Signal Stability</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1641562#M12351</link>
      <description>&lt;P&gt;I am developing a board using LS1046A, and I am using MAC.9 as XFI and directly connecting it to L2SW. I have created serval development boards, but I have noticed that the XFI signal does not seem to be very stable.&lt;/P&gt;&lt;P&gt;80% of the boards can use ping and tftp in U-boot, but cannot ping in Linux.&lt;BR /&gt;&lt;SPAN&gt;10% of the boards can use the network in both U-boot and Linux, but the iperf speed is only around 1Mb/s in Linux.&lt;BR /&gt;10% of the boards cannot use the network in either U-boot or Linux.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I suspect that it is an issue with the XFI signal. Please advise me on how to modify the register to adjust the signal strength.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 12:05:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1641562#M12351</guid>
      <dc:creator>__OTL__</dc:creator>
      <dc:date>2023-04-27T12:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046a XFI Signal Stability</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1644129#M12384</link>
      <description>&lt;P&gt;&lt;SPAN&gt;[Q1] Is there a retimer in the XFI path? It is recommend to use a retimer with XFI on our SoCs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That being said, the retimer is usually with the connection being a SFP cage.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Only the LX2160A has been deemed to not use a retimer because it can meet SFI electrical specifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't use a retimer in the XFI when we don't need XFI-toSFI electrical conversion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence, you will see a direct connection to the AQR PHYs because they support XFI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[Q2] Does the L2SW support XFI?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, did the IBIS modeling for the interconnect highlight any issues?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AN12750 is related to 10GBASE-KR but it highlights the registers for TX equalization settings.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Aside from the possible HW issues. How is the SW configured for the link. For Linux, it should be defined as "fixed".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll research the details for the SW changes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 02:11:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1644129#M12384</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-05-04T02:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046a XFI Signal Stability</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1648392#M12444</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;To answer your question:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;No, there is no retimer. That was my mistake.&lt;/LI&gt;&lt;LI&gt;Yes, the L2SW supports XFI.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I confirmed the signal waveform using a high-speed oscilloscope and found no issues. Additionally, the L2SW did not receive any badOctects, so it doesn't seem to be a signal quality problem as I initially thought. I apologize for the confusion.&lt;/P&gt;&lt;P&gt;After updating the settings of the L2SW to force XFI connection, all boards (100%) were able to establish a stable XFI connection and successful pings were observed. However, the network performance remains unstable.&lt;/P&gt;&lt;P&gt;Currently, I am encountering the following issues:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;In U-Boot and Linux, I can use commands like ping and tftp. However, after continuously transmitting tftp for a while, the network on some boards stops working. In such cases, I can bring the XFI MAC down using ifconfig and then bring it up again to restore functionality.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;During iperf testing in Linux, I observed the following problems:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;TCP operates at near maximum speed.&lt;/LI&gt;&lt;LI&gt;UDP speed is extremely slow, approximately 1 Mb/s.&lt;BR /&gt;I referred to the following forum post: &lt;A href="https://community.nxp.com/t5/Layerscape/LS1021A-TWR-UDP-packet-loss/td-p/1093227" target="_blank"&gt;LS1021A-TWR UDP packet loss - NXP Community&lt;/A&gt;&lt;BR /&gt;I tried disabling CONFIG_NETFILTER and CONFIG_CPU_FREQ as suggested, but it did not improve the situation.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;For the fman firmware, I only used fsl_fman_ucode_ls1046_r1.0_108_4_9.bin. Is this firmware not sufficient, or am I using it incorrectly?&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 11 May 2023 06:56:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1648392#M12444</guid>
      <dc:creator>__OTL__</dc:creator>
      <dc:date>2023-05-11T06:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: ls1046a XFI Signal Stability</title>
      <link>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1651611#M12493</link>
      <description>&lt;P&gt;Please refer to the update from the AE team.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://www.nxp.com/docs/en/application-note/AN4760.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN4760.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tell the customer to :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;— CONFIG_NETFILER&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;— CONFIG_CPU_FREQ&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;— CONFIG_USB_SUPPORT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;— CONFIG_MMC&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The boot argument used were:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kernel command line: root=/dev/nfs rw nfsroot=10.171.81.48:/work/rootfs-ls1043-siemens,vers=3 ip=192.168.2.160:192.168.1.1:192.168.1.4:255.255.248.0:ls10406:eth7:off console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 pci=pcie_bus_perf iommu.passthrough=1 default_hugepagesz=2m hugepagesz=2m hugepages=512&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;apply the fmc&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fmc -c config_file -p pcd_file -a&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then try iperf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;maxflows=$ncpu&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ncpu=$(nproc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the above instructions, revert them&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for i in $(seq 1 $ncpu); do&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; taskset --cpu-list $(($i-1)) iperf -c 1.1.1.$(($i+1)) -u -b 10000M -t 3 -P 1 -l 1400B&amp;amp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;done&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OR&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;iperf -c 1.1.1.2 -u -b 10000M -t 3 -P 16 -l 1000B&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If TCP works then UDP overhead must be related to some config problems&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TCP is controlled while UDP isn't. UDP should work at line rate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;they can do in loopback with iperf without depending on a server&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if loopback works at linerate then the problem is the xfi connection with the other end&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but if tcp worked then it should work with udp as well. contradictory info means that they have some config issues in udp case&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 02:14:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/ls1046a-XFI-Signal-Stability/m-p/1651611#M12493</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2023-05-17T02:14:31Z</dc:date>
    </item>
  </channel>
</rss>

