<?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>Layerscape中的主题 Qbv not working (does not distinguish between traffic classes)</title>
    <link>https://community.nxp.com/t5/Layerscape/Qbv-not-working-does-not-distinguish-between-traffic-classes/m-p/921486#M4422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am struggling to get Qbv working as expected on bsp 0.3.&lt;/P&gt;&lt;P&gt;I have connected eno0 ("MAC0") of two LS1028A ARDB's and a linux PC together in a LAN (with a dumb switch), and established a VLAN 1 on all such that:&lt;/P&gt;&lt;P&gt;LS1028ARDB #1: eno0.1 has ip 195.168.1.1/24&lt;/P&gt;&lt;P&gt;LS1028ARDB #2: eno0.1 has ip 195.168.1.2/24&lt;/P&gt;&lt;P&gt;PC: eth0.1 has ip 195.168.1.3/24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vconfig set egress_map and vconfig_set_ingress_map has been run all all such that all traffic on the VLAN ends up with a VLAN priority of 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pinging the PC from either LS1028ARDB confirms in wireshark on the PC that the ICMP request and reply packets do indeed have the correct VLAN ID and priority. Similarly tcpdump run on both LS1028ARDB's show that ICMP requests arrive with the correct VLAN ID and priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition all the above equipment can ping each other on a 10.0.1.0 net (no VLAN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A qbv.txt file has been created with the following contents:&lt;/P&gt;&lt;P&gt;t0 &amp;nbsp;&amp;nbsp; &amp;nbsp;00000000b &amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&lt;BR /&gt;t1 &amp;nbsp;&amp;nbsp; &amp;nbsp;10111110b &amp;nbsp;&amp;nbsp; &amp;nbsp;1000000000&lt;/P&gt;&lt;P&gt;This has been entered into tsntool as such:&lt;/P&gt;&lt;P&gt;tsntool&amp;gt;qbvset --device eno0 --entryfile /qbv.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tsntool&amp;gt;qbvget --device eno0 confirms that setup has been set&lt;/P&gt;&lt;P&gt;(btw: doesn't work on switch ports).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above setup no traffic flows whatsoever. I would expect traffic to flow on my VLAN 1 with priority 4.&lt;/P&gt;&lt;P&gt;If it is changed to:&lt;/P&gt;&lt;P&gt;t0 &amp;nbsp;&amp;nbsp; &amp;nbsp;00000001b &amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&lt;BR /&gt;t1 &amp;nbsp;&amp;nbsp; &amp;nbsp;10111110b &amp;nbsp;&amp;nbsp; &amp;nbsp;1000000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then traffic on all traffic classes flow - all with the same LOW bandwidth. I would expect VLAN 1 with priority 4 to have a much better bandwidth than traffic class 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is changed to:&lt;/P&gt;&lt;P&gt;t0 &amp;nbsp;&amp;nbsp; &amp;nbsp;00000001b &amp;nbsp;&amp;nbsp;&amp;nbsp; 1000000000&lt;BR /&gt;t1 &amp;nbsp;&amp;nbsp; &amp;nbsp;10111110b &amp;nbsp;&amp;nbsp; &amp;nbsp;100000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then traffic on all traffic classes flow - all with the same HIGH bandwidth. I would expect VLAN 1 with priority 4 to have a much lower bandwidth than on traffic class 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All experimentation show far show that the switch does not distinguish between traffic classes at all. It behaves as if gate bit 0 and period in the qbv.txt file are the only values that matter. Gates bit 1-7 are don't-care.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing ?&lt;/P&gt;&lt;P&gt;Extremely grateful for any help ... please ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2019 14:16:16 GMT</pubDate>
    <dc:creator>ZippZapp</dc:creator>
    <dc:date>2019-08-29T14:16:16Z</dc:date>
    <item>
      <title>Qbv not working (does not distinguish between traffic classes)</title>
      <link>https://community.nxp.com/t5/Layerscape/Qbv-not-working-does-not-distinguish-between-traffic-classes/m-p/921486#M4422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am struggling to get Qbv working as expected on bsp 0.3.&lt;/P&gt;&lt;P&gt;I have connected eno0 ("MAC0") of two LS1028A ARDB's and a linux PC together in a LAN (with a dumb switch), and established a VLAN 1 on all such that:&lt;/P&gt;&lt;P&gt;LS1028ARDB #1: eno0.1 has ip 195.168.1.1/24&lt;/P&gt;&lt;P&gt;LS1028ARDB #2: eno0.1 has ip 195.168.1.2/24&lt;/P&gt;&lt;P&gt;PC: eth0.1 has ip 195.168.1.3/24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vconfig set egress_map and vconfig_set_ingress_map has been run all all such that all traffic on the VLAN ends up with a VLAN priority of 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pinging the PC from either LS1028ARDB confirms in wireshark on the PC that the ICMP request and reply packets do indeed have the correct VLAN ID and priority. Similarly tcpdump run on both LS1028ARDB's show that ICMP requests arrive with the correct VLAN ID and priority.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition all the above equipment can ping each other on a 10.0.1.0 net (no VLAN).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A qbv.txt file has been created with the following contents:&lt;/P&gt;&lt;P&gt;t0 &amp;nbsp;&amp;nbsp; &amp;nbsp;00000000b &amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&lt;BR /&gt;t1 &amp;nbsp;&amp;nbsp; &amp;nbsp;10111110b &amp;nbsp;&amp;nbsp; &amp;nbsp;1000000000&lt;/P&gt;&lt;P&gt;This has been entered into tsntool as such:&lt;/P&gt;&lt;P&gt;tsntool&amp;gt;qbvset --device eno0 --entryfile /qbv.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tsntool&amp;gt;qbvget --device eno0 confirms that setup has been set&lt;/P&gt;&lt;P&gt;(btw: doesn't work on switch ports).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above setup no traffic flows whatsoever. I would expect traffic to flow on my VLAN 1 with priority 4.&lt;/P&gt;&lt;P&gt;If it is changed to:&lt;/P&gt;&lt;P&gt;t0 &amp;nbsp;&amp;nbsp; &amp;nbsp;00000001b &amp;nbsp;&amp;nbsp;&amp;nbsp; 100000&lt;BR /&gt;t1 &amp;nbsp;&amp;nbsp; &amp;nbsp;10111110b &amp;nbsp;&amp;nbsp; &amp;nbsp;1000000000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then traffic on all traffic classes flow - all with the same LOW bandwidth. I would expect VLAN 1 with priority 4 to have a much better bandwidth than traffic class 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is changed to:&lt;/P&gt;&lt;P&gt;t0 &amp;nbsp;&amp;nbsp; &amp;nbsp;00000001b &amp;nbsp;&amp;nbsp;&amp;nbsp; 1000000000&lt;BR /&gt;t1 &amp;nbsp;&amp;nbsp; &amp;nbsp;10111110b &amp;nbsp;&amp;nbsp; &amp;nbsp;100000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then traffic on all traffic classes flow - all with the same HIGH bandwidth. I would expect VLAN 1 with priority 4 to have a much lower bandwidth than on traffic class 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All experimentation show far show that the switch does not distinguish between traffic classes at all. It behaves as if gate bit 0 and period in the qbv.txt file are the only values that matter. Gates bit 1-7 are don't-care.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing ?&lt;/P&gt;&lt;P&gt;Extremely grateful for any help ... please ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:16:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/Qbv-not-working-does-not-distinguish-between-traffic-classes/m-p/921486#M4422</guid>
      <dc:creator>ZippZapp</dc:creator>
      <dc:date>2019-08-29T14:16:16Z</dc:date>
    </item>
  </channel>
</rss>

