<?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>QorIQ中的主题 Re: eTSEC (P1020 &amp; P2020) stops receiving</title>
    <link>https://community.nxp.com/t5/QorIQ/eTSEC-P1020-P2020-stops-receiving/m-p/849635#M7402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The observations described here are typical for problems with the interface&lt;BR /&gt;clocks. If the controller sees an irregularity on an input clock and takes&lt;BR /&gt;it as a false edge, the FIFO may lock. There is no way to detect&amp;nbsp; this &lt;BR /&gt;situation by reading registers because the hardware "trusts" the clocks&lt;BR /&gt;and has no means to detect deviations from the expected waveforms.&lt;BR /&gt;Another reason for Rx lockups can be improper&amp;nbsp; behaviour of Rx_DV,&lt;BR /&gt;e.g. spikes, incorrect transition timing, etc. The suggestion is&lt;BR /&gt;to make sure all MAC/PHY interface signals fully satisfy the requirements&lt;BR /&gt;of the processor Hardware Specification and the specification of the&lt;BR /&gt;MAC/PHY interface and are free of any irregularities.&lt;/P&gt;&lt;P&gt;&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: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 06:42:56 GMT</pubDate>
    <dc:creator>bpe</dc:creator>
    <dc:date>2018-09-25T06:42:56Z</dc:date>
    <item>
      <title>eTSEC (P1020 &amp; P2020) stops receiving</title>
      <link>https://community.nxp.com/t5/QorIQ/eTSEC-P1020-P2020-stops-receiving/m-p/849634#M7401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I&amp;nbsp; have a problem with the eTSEC controller(on both P1020 and P2020) that under heavy load with malformed packets&amp;nbsp; (mostly CRC errors but also short frame errors), it stops receiving and doesn’t recover even when the malformed packets stop coming. No more interrupts are generated and the &lt;SPAN class=""&gt;RBPTR0&lt;/SPAN&gt; register (RxBD ring 0 pointer) will not be updated anymore. I am using the Linux "gianfar" driver that configures 2 Rx queues for P1020 (as it has support&amp;nbsp; for 2 groups, one group per core) and only one Rx queue for P2020. However, the problem occurs on both eTSEC versions.&lt;BR style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;The only way to recover RX functionality is to stop RX DMA ( MACCFG1[Rx_EN] = 0) and start it again (MACCFG1[Rx_EN] = 1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;All these investigations were triggered by some customer issues when it is Tx that stops under heavy load with malformed packets. I was not able to reproduce this TX stop but we can easily reproduce the Rx stop.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;A possible hint to the actual root cause of the problem may be &amp;nbsp;RSTAT bit 6 that eTSEC sets just before the error condition to occur (The RSTAT has the 0x0&lt;/SPAN&gt;&lt;SPAN style="color: red; font-size: 14.0pt;"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;000080 value when the problem occurs).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;That bit &amp;nbsp;is not documented and I would be very interested what that bit may mean when set by the HW . It is a w1c bit as I can reset it by just writing 1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Looking at the HW counters implemented in eTSEC, I can see that both RPKT and RDRP packets get incremented (with the same amount !) which to me it looks like the MAC is still receiving frames but it is dropping them as the DMA RX hangs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I couldn't find a documented&amp;nbsp; errata for this behavior. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I need a way to recover Rx functionality without manual intervention. Of course, performance degradation is expected when packets are malformed (due to collisions) but our customers expect RX functionality to work well when no more malformed packets are coming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;As RX is asynchronous, I don't see a way for the driver to restart the interface. No Rx error is triggered when such condition occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Any help is appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Vilian&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2018 11:34:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/eTSEC-P1020-P2020-stops-receiving/m-p/849634#M7401</guid>
      <dc:creator>pvilian</dc:creator>
      <dc:date>2018-09-20T11:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: eTSEC (P1020 &amp; P2020) stops receiving</title>
      <link>https://community.nxp.com/t5/QorIQ/eTSEC-P1020-P2020-stops-receiving/m-p/849635#M7402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The observations described here are typical for problems with the interface&lt;BR /&gt;clocks. If the controller sees an irregularity on an input clock and takes&lt;BR /&gt;it as a false edge, the FIFO may lock. There is no way to detect&amp;nbsp; this &lt;BR /&gt;situation by reading registers because the hardware "trusts" the clocks&lt;BR /&gt;and has no means to detect deviations from the expected waveforms.&lt;BR /&gt;Another reason for Rx lockups can be improper&amp;nbsp; behaviour of Rx_DV,&lt;BR /&gt;e.g. spikes, incorrect transition timing, etc. The suggestion is&lt;BR /&gt;to make sure all MAC/PHY interface signals fully satisfy the requirements&lt;BR /&gt;of the processor Hardware Specification and the specification of the&lt;BR /&gt;MAC/PHY interface and are free of any irregularities.&lt;/P&gt;&lt;P&gt;&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: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 06:42:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/eTSEC-P1020-P2020-stops-receiving/m-p/849635#M7402</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2018-09-25T06:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: eTSEC (P1020 &amp; P2020) stops receiving</title>
      <link>https://community.nxp.com/t5/QorIQ/eTSEC-P1020-P2020-stops-receiving/m-p/1834909#M11944</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Vilian,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm FAE of distributor for NXP products in Japan. I hope you find this messasge.&lt;/P&gt;&lt;P&gt;We are facing unexpected Rx stop issue on P2020 and we are interested in the issue you reported in this thread.&lt;/P&gt;&lt;P&gt;If possible, could you explain us more detail about your test conditions and actual malformed packets you used?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Norihiro Michigami&lt;/P&gt;&lt;P&gt;AVNET&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 23:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/QorIQ/eTSEC-P1020-P2020-stops-receiving/m-p/1834909#M11944</guid>
      <dc:creator>Norihiro</dc:creator>
      <dc:date>2024-03-25T23:22:00Z</dc:date>
    </item>
  </channel>
</rss>

