<?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中的主题 IMX6Q: USB receive packet drop issue</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847239#M129708</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;We are using Imx6q for our custom product where we have USB to Ethernet (SMSC95xx) interface.&lt;/P&gt;&lt;P&gt;While testing using iperf above 20Mbps, and we connect disconnect device (USB cellular modem or Webcam etc) on any other USB ports, we see &lt;STRONG&gt;packet drops on iperf&lt;/STRONG&gt; testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This drops are in incoming iperf flows (USB Rx) only and not on outgoing flow (USB Tx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you advise what can be the issue?&lt;/P&gt;&lt;P&gt;I feel this could be USB interrupts handling issue so I tried to set smp_affinity for USB interrupts to all 4 CPUs but I can set only 1 CPU at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are very near to product launch.&lt;/P&gt;&lt;P&gt;Please advise if any errata (and workaround if any).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2018 11:37:46 GMT</pubDate>
    <dc:creator>hiteshviradiya</dc:creator>
    <dc:date>2018-07-24T11:37:46Z</dc:date>
    <item>
      <title>IMX6Q: USB receive packet drop issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847239#M129708</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;We are using Imx6q for our custom product where we have USB to Ethernet (SMSC95xx) interface.&lt;/P&gt;&lt;P&gt;While testing using iperf above 20Mbps, and we connect disconnect device (USB cellular modem or Webcam etc) on any other USB ports, we see &lt;STRONG&gt;packet drops on iperf&lt;/STRONG&gt; testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This drops are in incoming iperf flows (USB Rx) only and not on outgoing flow (USB Tx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you advise what can be the issue?&lt;/P&gt;&lt;P&gt;I feel this could be USB interrupts handling issue so I tried to set smp_affinity for USB interrupts to all 4 CPUs but I can set only 1 CPU at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are very near to product launch.&lt;/P&gt;&lt;P&gt;Please advise if any errata (and workaround if any).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2018 11:37:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847239#M129708</guid>
      <dc:creator>hiteshviradiya</dc:creator>
      <dc:date>2018-07-24T11:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q: USB receive packet drop issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847240#M129709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hitesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can test with i.MX6Q Sabre reference board to check if issue is caused by hardware,&lt;/P&gt;&lt;P&gt;also one can consider iperf measurements issues as described on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/esnet/iperf/issues/296" title="https://github.com/esnet/iperf/issues/296"&gt;Extremely high packet loss with UDP test · Issue #296 · esnet/iperf · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 24 Jul 2018 23:31:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847240#M129709</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-24T23:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q: USB receive packet drop issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847241#M129710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor for the prompt response!&lt;/P&gt;&lt;P&gt;It's not only ipoerf causes the issue, even our streaming application shows the drops in the packets.&lt;/P&gt;&lt;P&gt;And this is not the case in our old product where we have marvell switch instead of USB to Eth chip. So I believe that here issue might be due to USB Rx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have Sabre board but I will test on Wandboard. But if you know anything relates to our issue please advise us to do some experiments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 04:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847241#M129710</guid>
      <dc:creator>hiteshviradiya</dc:creator>
      <dc:date>2018-07-25T04:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q: USB receive packet drop issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847242#M129711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hitesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you this that reason is nxp usb module or its driver, according to our rules,&lt;/P&gt;&lt;P&gt;issue should be reproduced on nxp reference board with nxp official linux demo images on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW" title="https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6series-i.mx-7series-software-and-development-tool-resources:IMX_SW"&gt;i.MX Software|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 05:18:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847242#M129711</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-25T05:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q: USB receive packet drop issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847243#M129712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will check if we can manage Sabre board and let you know results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 05:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847243#M129712</guid>
      <dc:creator>hiteshviradiya</dc:creator>
      <dc:date>2018-07-25T05:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q: USB receive packet drop issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847244#M129713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I already mentioned in original post, Can you advise on Why I can't distributes USB interrupts (or any other interrupts) over multiple CPUs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned I tried to set smp_affinity for USB interrupts to all 4 CPUs but I can set only 1 CPU at a time. I can move interrupts from CPU0 to CPU3 using "echo 8 &amp;gt; /proc/irq/62/smp_affinity" where 62 is my 2184200.usb interrupts. I also tried using "echo f &amp;gt; /proc/irq/62/smp_affinity" which it supposed to distribute 2184200.usb interrupts over all 4 CPU cores but it doesn't work as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise if I need to fix anything in kernel or DTB to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hitesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2018 06:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-USB-receive-packet-drop-issue/m-p/847244#M129713</guid>
      <dc:creator>hiteshviradiya</dc:creator>
      <dc:date>2018-07-25T06:25:42Z</dc:date>
    </item>
  </channel>
</rss>

