<?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 Question about QMan portals and interrupts in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/Question-about-QMan-portals-and-interrupts/m-p/707216#M2862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on LS1043 which have four cores, and boot the system with the argument "bportals=s0-2 qportals=s0-2", which meant we have three QMan portals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# cat /proc/interrupts&lt;BR /&gt;CPU0 CPU1 CPU2 CPU3&lt;/P&gt;&lt;P&gt;43: 0 0 54 0 GIC 216 Level QMan portal 2&lt;BR /&gt;44: 0 52 0 0 GIC 218 Level QMan portal 1&lt;BR /&gt;45: 51 0 0 0 GIC 220 Level QMan portal 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the DTS file, I configure fm1-mac5 and fm1-mac6 works on Linux, and leave the rest for USDPAA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, connect my laptop to fm1-mac5, set the IP address, and ping my laptop from LS1043.&lt;/P&gt;&lt;P&gt;Through command "cat /proc/interrupts", I saw that all the interrupts counters of three QMan portals increased&amp;nbsp;simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few questions here,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I think these&amp;nbsp;portals has directions, what the directions here?&lt;/LI&gt;&lt;LI&gt;What's the relationship between software portals and the core? I found that no matter how I configure the boot arguments, there is always channel 0 there, the left is related to boot arguments, what's this about?&lt;/LI&gt;&lt;LI&gt;Why are all QMan portals interrupted simultaneously? I think one FMan&amp;nbsp;MAC should be dedicated to one core, does this means that LS1043 use pool channel for the packets from FMan?&lt;/LI&gt;&lt;LI&gt;If two cores share the same QMan portal, what is the scheduling strategy? 50-50 ?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yipingwang"&gt;yipingwang&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Aug 2017 03:04:09 GMT</pubDate>
    <dc:creator>michaelchen_nsb</dc:creator>
    <dc:date>2017-08-25T03:04:09Z</dc:date>
    <item>
      <title>Question about QMan portals and interrupts</title>
      <link>https://community.nxp.com/t5/Layerscape/Question-about-QMan-portals-and-interrupts/m-p/707216#M2862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on LS1043 which have four cores, and boot the system with the argument "bportals=s0-2 qportals=s0-2", which meant we have three QMan portals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@ls1043ardb:~# cat /proc/interrupts&lt;BR /&gt;CPU0 CPU1 CPU2 CPU3&lt;/P&gt;&lt;P&gt;43: 0 0 54 0 GIC 216 Level QMan portal 2&lt;BR /&gt;44: 0 52 0 0 GIC 218 Level QMan portal 1&lt;BR /&gt;45: 51 0 0 0 GIC 220 Level QMan portal 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the DTS file, I configure fm1-mac5 and fm1-mac6 works on Linux, and leave the rest for USDPAA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, connect my laptop to fm1-mac5, set the IP address, and ping my laptop from LS1043.&lt;/P&gt;&lt;P&gt;Through command "cat /proc/interrupts", I saw that all the interrupts counters of three QMan portals increased&amp;nbsp;simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few questions here,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I think these&amp;nbsp;portals has directions, what the directions here?&lt;/LI&gt;&lt;LI&gt;What's the relationship between software portals and the core? I found that no matter how I configure the boot arguments, there is always channel 0 there, the left is related to boot arguments, what's this about?&lt;/LI&gt;&lt;LI&gt;Why are all QMan portals interrupted simultaneously? I think one FMan&amp;nbsp;MAC should be dedicated to one core, does this means that LS1043 use pool channel for the packets from FMan?&lt;/LI&gt;&lt;LI&gt;If two cores share the same QMan portal, what is the scheduling strategy? 50-50 ?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/yipingwang"&gt;yipingwang&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 03:04:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Question-about-QMan-portals-and-interrupts/m-p/707216#M2862</guid>
      <dc:creator>michaelchen_nsb</dc:creator>
      <dc:date>2017-08-25T03:04:09Z</dc:date>
    </item>
  </channel>
</rss>

