<?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: Does Imx6Q FEC has hardware checksum function</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390937#M56909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MX6QD  RM  p.1108.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51667i6D0EFD4137A4F085/image-size/large?v=v2&amp;amp;px=999" role="button" title="MX6QD  RM  p.1108.jpg" alt="MX6QD  RM  p.1108.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Mar 2015 15:37:10 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2015-03-19T15:37:10Z</dc:date>
    <item>
      <title>Does Imx6Q FEC has hardware checksum function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390934#M56906</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; there is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 14px; background-color: #eff5f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt; &lt;STRONG&gt;/* Controller has hardware checksum support */&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #define FEC_QUIRK_HAS_CSUM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1 &amp;lt;&amp;lt; 5)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in linux 3.10.17/53&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 14px; background-color: #eff5f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt; .name = "imx6q-fec",&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 14px; background-color: #eff5f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .driver_data = FEC_QUIRK_ENET_MAC | FEC_QUIRK_HAS_GBIT |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 14px; background-color: #eff5f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 14px; background-color: #eff5f9; font-family: Tahoma, 'Microsoft Yahei', Simsun;"&gt; FEC_QUIRK_HAS_BUFDESC_EX |&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN style="font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 14px; background-color: #eff5f9;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;FEC_QUIRK_HAS_CSUM&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 14px; background-color: #eff5f9; font-family: Tahoma, 'Microsoft Yahei', Simsun;"&gt;|&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 14px; background-color: #eff5f9;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FEC_QUIRK_HAS_VLAN | FEC_QUIRK_ERR006358 |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 14px; background-color: #eff5f9; font-family: Tahoma, 'Microsoft Yahei', Simsun;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FEC_QUIRK_BUG_WAITMODE,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 14px; background-color: #eff5f9; font-family: Tahoma, 'Microsoft Yahei', Simsun;"&gt;that is the FEC can do hardware checksum,but it does not work!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Tahoma, 'Microsoft Yahei', Simsun; font-size: 14px; background-color: #eff5f9;"&gt;which register control this ? and How can I set the register ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 14px; background-color: #eff5f9; font-family: Tahoma, 'Microsoft Yahei', Simsun;"&gt;&lt;SPAN style="color: #000000;"&gt;thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 14px; background-color: #eff5f9; font-family: Tahoma, 'Microsoft Yahei', Simsun;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 02:03:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390934#M56906</guid>
      <dc:creator>antzhao</dc:creator>
      <dc:date>2015-03-18T02:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Does Imx6Q FEC has hardware checksum function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390935#M56907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes i.MX6 ENET (FEC) can do hardware checksum, for example refer to&lt;/P&gt;&lt;P&gt;sect.23.5.9 Receive Control Register (ENET_RCR) &lt;A href="http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf"&gt;IMX6DQRM&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2015 04:43:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390935#M56907</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-03-18T04:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Does Imx6Q FEC has hardware checksum function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390936#M56908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But are&amp;nbsp; &lt;SPAN style="font-family: HelveticaLTStd-Bold; font-size: 16pt; color: #000000;"&gt;&lt;STRONG&gt;ENET_RACC and ENET_TACC about hardware checksum.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Kernel,there ard some codes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* set RX checksum */&lt;/P&gt;&lt;P&gt;&amp;nbsp; val = readl(fep-&amp;gt;hwp + FEC_RACC);&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (fep-&amp;gt;csum_flags &amp;amp; FLAG_RX_CSUM_ENABLED)&lt;/P&gt;&lt;P&gt;&amp;nbsp; val |= FEC_RACC_OPTIONS;&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;/P&gt;&lt;P&gt;&amp;nbsp; val &amp;amp;= ~FEC_RACC_OPTIONS;&lt;/P&gt;&lt;P&gt;&amp;nbsp; writel(val, fep-&amp;gt;hwp + FEC_RACC);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Tahoma, 'Microsoft Yahei', Simsun; color: #ff0000; background-color: #eff5f9;"&gt; .driver_data = &lt;/SPAN&gt;&lt;SPAN style="line-height: 1.5em; font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Tahoma, 'Microsoft Yahei', Simsun; color: #ff0000; background-color: #eff5f9;"&gt; |&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Tahoma, 'Microsoft Yahei', Simsun; background-color: #eff5f9;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;FEC_QUIRK_HAS_CSUM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Rx will do checksum,But The kernel does not do checksum for Tx.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;there are not any codes about TACC.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;So if I want do hard checksum for Tx ,What should I do?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;I set TACC[PROCHK] and TACC[IPCHK] to 1,But it does not work.&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: inherit; font-size: 10pt; line-height: 1.5em; font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Thanks again! &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 01:50:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390936#M56908</guid>
      <dc:creator>antzhao</dc:creator>
      <dc:date>2015-03-19T01:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Does Imx6Q FEC has hardware checksum function</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390937#M56909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MX6QD  RM  p.1108.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/51667i6D0EFD4137A4F085/image-size/large?v=v2&amp;amp;px=999" role="button" title="MX6QD  RM  p.1108.jpg" alt="MX6QD  RM  p.1108.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 15:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Does-Imx6Q-FEC-has-hardware-checksum-function/m-p/390937#M56909</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-03-19T15:37:10Z</dc:date>
    </item>
  </channel>
</rss>

