<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Raymond P. Burkholder - Things I Do - QoS</title>
    <link>http://blog.raymond.burkholder.net/</link>
    <description>In And Around Technology and The Arts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7.2 - http://www.s9y.org/</generator>
    <pubDate>Sun, 15 Jul 2018 22:47:58 GMT</pubDate>

    <image>
        <url>http://blog.raymond.burkholder.net/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Raymond P. Burkholder - Things I Do - QoS - In And Around Technology and The Arts</title>
        <link>http://blog.raymond.burkholder.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Linux TC</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/682-Linux-TC.html</link>
            <category>QoS</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/682-Linux-TC.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=682</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=682</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;Linux has a number of traffic classifiers and filters for it&#039;s Traffic Control (TC) command.   I have been collecting links from various places so I could try to aggregate the information in one place.  Here are some links.  I will need to summarize at some point in time.

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1f211a1b929c804100e138c5d3d656992cfd5622&quot; target=_blank&gt;  net: sched: add clsact qdisc&lt;/a&gt;: (adds a generalization of the ingress qdisc as a qdisc holding only classifiers)
  &lt;li&gt;&lt;a href=&quot;http://patchwork.ozlabs.org/patch/512949/&quot; target=_blank&gt;net: qdisc: add op to run filters/actions before enqueue&lt;/a&gt;Add a new -&gt;preclassify() op to allow multiqueue queuing disciplines to call tc_classify() or perform other work before dev_pick_tx().
  &lt;li&gt;&lt;a href=&quot;http://www.spinics.net/lists/netdev/msg357761.html&quot; target=_blank&gt;Add tcindex to conntrack and add netfilter target/matches&lt;/a&gt;: support for setting/matching the skb-&gt;tc_index field from Xtables, as well as allowing it to be saved/restored using connection tracking
  &lt;li&gt;&lt;a href=&quot;https://www.phoronix.com/scan.php?page=news_item&amp;px=CAKE-Qdisc-Linux-4.19&quot; target=_blank&gt;Networking CAKE Is Ready For Tasting With Linux 4.19&lt;/a&gt; (2018/07/15)
  &lt;/ul&gt; 
    </content:encoded>

    <pubDate>Mon, 03 Oct 2016 19:28:17 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/682-guid.html</guid>
    
</item>
<item>
    <title>ToS/DSCP Cheat Sheet</title>
    <link>http://blog.raymond.burkholder.net/index.php?/archives/525-ToSDSCP-Cheat-Sheet.html</link>
            <category>QoS</category>
    
    <comments>http://blog.raymond.burkholder.net/index.php?/archives/525-ToSDSCP-Cheat-Sheet.html#comments</comments>
    <wfw:comment>http://blog.raymond.burkholder.net/wfwcomment.php?cid=525</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.raymond.burkholder.net/rss.php?version=2.0&amp;type=comments&amp;cid=525</wfw:commentRss>
    

    <author>nospam@example.com (Raymond P. Burkholder)</author>
    <content:encoded>
    &lt;p&gt;On the Flow-Tools email list, Craig Weinhold published a cheat sheet for how to treat IP Packet ToS (Type of Service) bits:

&lt;blockquote&gt;&lt;pre&gt;
**** Pre-1998

The IPv4 ToS byte was part of the original 1981 definition of Internet Protocol 
in RFC 791, which specified a 3-bit precedence value and 3-bits of ToS attributes. 
In the tables below, &quot;tos&quot; values refer to the entire byte. 
In 1992, RFC 1349 added a fourth ToS attribute. 

  0x80  0x40  0x20  0x10  0x08  0x04  0x02  0x01
+-----+-----+-----+-----+-----+-----+-----+-----+
|     PRECEDENCE  |    TOS attributes     |  -  |
+-----+-----+-----+-----+-----+-----+-----+-----+

         PRECEDENCE                     TOS attributes

name            dec tos bin     name              dec tos bin
network           7 224 111     min-delay           8  16 1000
internet          6 192 110     max-throughput      4   8 0100
critical          5 160 101     max-reliability     2   4 0010
flash-override    4 128 100     min-monetary-cost   1   2 0001
flash             3  96 011     normal              0   0 0000
immediate         2  64 010
priority          1  32 001
routine           0   0 000


**** Post-1998 

RFC 2474 reworked the ToS as a 6-bit Differentiated Services Code Point (DSCP) 
and, soon after, RFC 3168 allocated the lowest two bits for 
Error Congestion Notification (ECN, 
an IP analogy of frame-relay FECN and ATM EFCI). 

  0x80  0x40  0x20  0x10  0x08  0x04  0x02  0x01
+-----+-----+-----+-----+-----+-----+-----+-----+
|                DSCP               |    ECN    |
+-----+-----+-----+-----+-----+-----+-----+-----+

                        DSCP

name    dec tos binary      name    dec  tos binary
AF11    10   40 001010      CS1       8   32 001000
AF12    12   48 001100      CS2      16   64 010000
AF13    14   56 001110      CS3      24   96 011000
AF21    18   72 010010      CS4      32  128 100000
AF22    20   80 010100      CS5      40  160 101000
AF23    22   88 010110      CS6      48  192 110000
AF31    26  104 011010      CS7      56  224 111000 
AF32    28  112 011100      EF       46  184 101110
AF33    30  120 011110      default   0    0 000000
AF41    34  136 100010      
AF42    36  144 100100      AF = assured forwarding
AF43    38  152 100110      EF = expedited forwarding
                            CS = class selector

   ECN (unrelated to QoS)
   00   Not-ECT  Not ECN-Capable Transport
   01   ECT(0)   ECN-Capable Transport 
   10   ECT(1)   ECN-Capable Transport 
   11   CE       Congestion Experienced

&lt;/pre&gt;&lt;/blockquote&gt;
 &lt;br /&gt;&lt;a href=&quot;http://blog.raymond.burkholder.net/index.php?/archives/525-ToSDSCP-Cheat-Sheet.html#extended&quot;&gt;Continue reading &quot;ToS/DSCP Cheat Sheet&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 06 Dec 2009 15:11:11 +0000</pubDate>
    <guid isPermaLink="false">http://blog.raymond.burkholder.net/index.php?/archives/525-guid.html</guid>
    
</item>

</channel>
</rss>
