<?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: How to insert Inter Packet Idles in XFI transimit in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035462#M5794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your mEMAC is properly set for reacting to non-PFC pause frames, which&lt;BR /&gt;means it does handle them as appropriate. There is no errata that afffects&lt;BR /&gt;this mechanism. Counter grows indicate that pause frames do arrive at the&lt;BR /&gt;MAC level. However, there is no way to establish where they are generated,&lt;BR /&gt;at the local PHY or at the far end. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Platon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2020 11:56:53 GMT</pubDate>
    <dc:creator>bpe</dc:creator>
    <dc:date>2020-04-10T11:56:53Z</dc:date>
    <item>
      <title>How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035456#M5788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;On our LS1046A board, we use a 5G copper PHY connect with XFI, the PHY is support 5G/2.5G BASE-T over XFI. But it&amp;nbsp;&lt;STRONG&gt;expects to receive packets with sufficient Inter Packet Idles from the MAC (switch/controller) for the 5G or 2.5G rate effectively transfer over the XFI interface in 10GBASE-R mode&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Now we have a issue, when LS1046A&amp;nbsp; transmit files to PC using FTP, the speed will up to 200MB/s，but the&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;transition will blocked down after few seconds. And we need turn down and up the net on board to recover the net.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But when we change MTU from 1500 to 800, or use tc tools, the net will not down, but the speed will degrade fast from 200MB/s to 100MB/s, specially transmit 2 or more file at same time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So we think it may be&amp;nbsp; MAC transmit&amp;nbsp;packets too fast to make PHY receiver buffer overflow.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can XFI insert&amp;nbsp;Inter Packet Idles according to cooper speed? We try to modify&amp;nbsp;Transmit Inter-Packet Gap Length Register, But the problem still there.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2020 01:27:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035456#M5788</guid>
      <dc:creator>文炳项</dc:creator>
      <dc:date>2020-03-31T01:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035457#M5789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;XFI is a single data rate mode interface. If your line rate is significantly&lt;BR /&gt;different from 10Gbps and your PHY device performs rate adaptation,&lt;BR /&gt;there are two ways to match the actually accepted data rate on egress:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Check if the PHY can send PAUSE frames towards the local MAC. If&lt;BR /&gt;&amp;nbsp;&amp;nbsp; it can, enable PAUSE frame recognition at the MAC:&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;A href="https://docs.nxp.com/bundle/GUID-555A0F6D-3FBC-4128-BA29-A220DC5DD74D/page/GUID-F20C6D9D-7A92-4EE8-B24A-D06B78C65E0B.html" target="test_blank"&gt;https://docs.nxp.com/bundle/GUID-555A0F6D-3FBC-4128-BA29-A220DC5DD74D/page/GUID-F20C6D9D-7A92-4EE8-B24A-D06B78C65E0B.html&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Refer to your PHY documentation on how to enable it in your PHY.&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;2. Use DPAA Egress Scheduler:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;A href="https://docs.nxp.com/bundle/GUID-555A0F6D-3FBC-4128-BA29-A220DC5DD74D/page/GUID-BC7B6AA1-C724-4905-A49F-753CCB8F640E.html" target="test_blank"&gt;https://docs.nxp.com/bundle/GUID-555A0F6D-3FBC-4128-BA29-A220DC5DD74D/page/GUID-BC7B6AA1-C724-4905-A49F-753CCB8F640E.html&lt;/A&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Platon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2020 07:11:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035457#M5789</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2020-04-01T07:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035458#M5790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bpe&lt;/P&gt;&lt;P&gt;For Pause frame， I turn on PHY enable. According to the mac_rx_stats, we can see rxpf_l number increased, but the transmitting&amp;nbsp; congestion still occurs. I have few confusion about the PAUSE FRAME.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104643iA78BD137D6786A17/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In DPAA RM, 5.3.18,&amp;nbsp; the pause frame in defined in 802.1Qbb，we search this, it said the pause frame is flow control between two MAC.&lt;/P&gt;&lt;P&gt;Am I right?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94829i657455D325FF5780/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I try to capture the pause frame on LS1046 with tcpdump, and use wireshark on PC side. But no pause frame find either.&lt;/P&gt;&lt;P&gt;Are&amp;nbsp;the pause frame you mentioned is the same thing in&amp;nbsp;5.3.18? How can we find the evidence, that LS1046 really received the pause frame from PHY?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 11:29:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035458#M5790</guid>
      <dc:creator>文炳项</dc:creator>
      <dc:date>2020-04-07T11:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035459#M5791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bpe&amp;nbsp;&lt;/P&gt;&lt;P&gt;this picture is ethtool show of eth10, I saw the pause parameter of eth10 is both enable on RX and TX.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/104601i8AD0503C2AFE40B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2020 12:32:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035459#M5791</guid>
      <dc:creator>文炳项</dc:creator>
      <dc:date>2020-04-07T12:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035460#M5792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you scan and provide the value of COMMAND_CONFIG register of the&lt;BR /&gt;MAC connected to the problematic link after you&lt;BR /&gt;set the appropriate pause parameters with ethtool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are my comments to some of your inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tcpdump running on the target cannot see flow control frames because&lt;BR /&gt;they are not shown by DPAA to the application. A properly configured&lt;BR /&gt;mEMAC discards received plain pause frames after setting up the pause&lt;BR /&gt;timer. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFC mechanism discussed in Section 5.3.18 of LS1046ARM is a separate&lt;BR /&gt;flow control mechanism using different format pause frames. It is&lt;BR /&gt;supported by the LSDK kernel, but configured in a different way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.nxp.com/bundle/GUID-555A0F6D-3FBC-4128-BA29-A220DC5DD74D/page/GUID-2282F768-EEE8-4A00-BE6B-82E48D128B54.html" target="test_blank"&gt;https://docs.nxp.com/bundle/GUID-555A0F6D-3FBC-4128-BA29-A220DC5DD74D/page/GUID-2282F768-EEE8-4A00-BE6B-82E48D128B54.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not think it is required in your case, but you can check with &lt;BR /&gt;your PHY documentation what kind of pause frames it sends towards&lt;BR /&gt;the local MAC.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 07:45:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035460#M5792</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2020-04-08T07:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035461#M5793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bpe,&lt;/P&gt;&lt;P&gt;the&amp;nbsp;&lt;SPAN lang="EN-US" style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;command_config is&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;0x20843, which i read from sys&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/105870i7AE4FF83940FFBEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;We check with PHY vendor, they said their pause frame is XOFF.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;But we find a strange phenomena， no matter enable or disable PHY's PAUSE FRAME MODE, LS1046A's MAC can received pause frame when the network block(the number of rxpf increased). So we hope to find out what's the pause frame the MAC received.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; background-color: #ffffff; font-weight: normal; font-size: 10.5pt;"&gt;&lt;SPAN lang="EN-US"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 01:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035461#M5793</guid>
      <dc:creator>文炳项</dc:creator>
      <dc:date>2020-04-10T01:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035462#M5794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your mEMAC is properly set for reacting to non-PFC pause frames, which&lt;BR /&gt;means it does handle them as appropriate. There is no errata that afffects&lt;BR /&gt;this mechanism. Counter grows indicate that pause frames do arrive at the&lt;BR /&gt;MAC level. However, there is no way to establish where they are generated,&lt;BR /&gt;at the local PHY or at the far end. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Platon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2020 11:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035462#M5794</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2020-04-10T11:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035463#M5795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bpe&lt;/P&gt;&lt;P&gt;thanks for your reply. From the mEA's configuration, LS1046 is working properly for pause frame.But the network still block，do you have other&amp;nbsp;suggestion to find the reason?&lt;/P&gt;&lt;P&gt;BTW, dose the Transmit Inter-Packet Gap Length Register can be usefully in my problem? If yes, how to use this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;TKS.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106285i94C778C03B07E334/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2020 00:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035463#M5795</guid>
      <dc:creator>文炳项</dc:creator>
      <dc:date>2020-04-14T00:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to insert Inter Packet Idles in XFI transimit</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035464#M5796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manipulating IFG is not a valid method to throttle the transmission because:&lt;BR /&gt;(a) the resulting reduction rate will obviously depend on the frame size;&lt;BR /&gt;(b) the valid range of IFG duration values is insufficient to reduce the transmission&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rate to the next standardized level even on shortest frames.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;Summarizing, the valid methods of matching the data rate with the&lt;BR /&gt;level acceptable by the other of the communication are described in&lt;BR /&gt;the post I made on Apr 1. There are no other recommendations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Platon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2020 07:47:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-insert-Inter-Packet-Idles-in-XFI-transimit/m-p/1035464#M5796</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2020-04-28T07:47:13Z</dc:date>
    </item>
  </channel>
</rss>

