Commit 0f455371 authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller
Browse files

Documentation: networking: update the graphical representation



While preparing some slides for a customer presentation, I found the
existing high-level view to be a bit confusing, so I modified it a
little bit.

Signed-off-by: default avatarVladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Reviewed-by: default avatarTobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 52280f60
Loading
Loading
Loading
Loading
+28 −17
Original line number Diff line number Diff line
@@ -172,23 +172,34 @@ Graphical representation
Summarized, this is basically how DSA looks like from a network device
perspective::


                |---------------------------
                | CPU network device (eth0)|
                ----------------------------
                | <tag added by switch     |
                |                          |
                Unaware application
              opens and binds socket
                       |  ^
                       |  |
                |        tag added by CPU> |
        |--------------------------------------------|
        |            Switch driver                   |
        |--------------------------------------------|
                  ||        ||         ||
              |-------|  |-------|  |-------|
              | sw0p0 |  | sw0p1 |  | sw0p2 |
              |-------|  |-------|  |-------|


           +-----------v--|--------------------+
           |+------+ +------+ +------+ +------+|
           || swp0 | | swp1 | | swp2 | | swp3 ||
           |+------+-+------+-+------+-+------+|
           |          DSA switch driver        |
           +-----------------------------------+
                         |        ^
            Tag added by |        | Tag consumed by
           switch driver |        | switch driver
                         v        |
           +-----------------------------------+
           | Unmodified host interface driver  | Software
   --------+-----------------------------------+------------
           |       Host interface (eth0)       | Hardware
           +-----------------------------------+
                         |        ^
         Tag consumed by |        | Tag added by
         switch hardware |        | switch hardware
                         v        |
           +-----------------------------------+
           |               Switch              |
           |+------+ +------+ +------+ +------+|
           || swp0 | | swp1 | | swp2 | | swp3 ||
           ++------+-+------+-+------+-+------++

Slave MDIO bus
--------------