<?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>i.MX Processors中的主题 Re: How to enable pause frames in imx6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-pause-frames-in-imx6/m-p/392146#M57208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The patch that you mention it is for the Errata of the i.MX6 this made the pauses in the Ethernet to avoid the FIFO overruns, but I believe you are trying to implement iEE1588 Pauses which are completely different story.&lt;/P&gt;&lt;P&gt;This patch will cause compatibility problems with some switches. It should be possible to control their use manually or through autonegotiation (if the medium&lt;/P&gt;&lt;P&gt;supports that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should:&lt;/P&gt;&lt;P&gt;1. Implement the ethtool get_pauseparam and set_pauseparam operations.&lt;/P&gt;&lt;P&gt;If the medium supports autoneog, use mii_advertise_flowctrl() in&lt;/P&gt;&lt;P&gt;set_pauseparam to update pause frame advertising and then restart&lt;/P&gt;&lt;P&gt;autoneg.&lt;/P&gt;&lt;P&gt;2. Allow pause frame advertising to be changed through set_settings (I&lt;/P&gt;&lt;P&gt;think phylib covers this for you).&lt;/P&gt;&lt;P&gt;3. Program the MAC according to the the parameters set with&lt;/P&gt;&lt;P&gt;set_pauseparam or (if pause autoneg was enabled) the result of autoneg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 14:19:07 GMT</pubDate>
    <dc:creator>jamesbone</dc:creator>
    <dc:date>2015-09-14T14:19:07Z</dc:date>
    <item>
      <title>How to enable pause frames in imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-pause-frames-in-imx6/m-p/392145#M57207</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;&lt;/P&gt;&lt;P&gt;I am using IMX6 custom board and latest yocto BSP from freescale. In our code we applied the IMX6 pause frame patches (&lt;A href="http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/140114.html" title="http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/140114.html"&gt;http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/140114.html&lt;/A&gt; ) &lt;/P&gt;&lt;P&gt;But i observed that the functions and code never called. Please let me know if anything i need to do for enabling the pause frame. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to set the pause from ethtool. I got the following error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@lec-imx6:~# ethtool -A eth0 rx on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fec 2188000.ethernet eth0: hardware only support enable/disable both tx and rx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cannot set device pause parameters: Invalid argument&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;P.Ashok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 13:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-pause-frames-in-imx6/m-p/392145#M57207</guid>
      <dc:creator>ashokp</dc:creator>
      <dc:date>2015-08-24T13:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable pause frames in imx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-pause-frames-in-imx6/m-p/392146#M57208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ashok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The patch that you mention it is for the Errata of the i.MX6 this made the pauses in the Ethernet to avoid the FIFO overruns, but I believe you are trying to implement iEE1588 Pauses which are completely different story.&lt;/P&gt;&lt;P&gt;This patch will cause compatibility problems with some switches. It should be possible to control their use manually or through autonegotiation (if the medium&lt;/P&gt;&lt;P&gt;supports that).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should:&lt;/P&gt;&lt;P&gt;1. Implement the ethtool get_pauseparam and set_pauseparam operations.&lt;/P&gt;&lt;P&gt;If the medium supports autoneog, use mii_advertise_flowctrl() in&lt;/P&gt;&lt;P&gt;set_pauseparam to update pause frame advertising and then restart&lt;/P&gt;&lt;P&gt;autoneg.&lt;/P&gt;&lt;P&gt;2. Allow pause frame advertising to be changed through set_settings (I&lt;/P&gt;&lt;P&gt;think phylib covers this for you).&lt;/P&gt;&lt;P&gt;3. Program the MAC according to the the parameters set with&lt;/P&gt;&lt;P&gt;set_pauseparam or (if pause autoneg was enabled) the result of autoneg.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 14:19:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-enable-pause-frames-in-imx6/m-p/392146#M57208</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2015-09-14T14:19:07Z</dc:date>
    </item>
  </channel>
</rss>

