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: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Vladimir Oltean 2021-03-16 13:24:08 +02:00 committed by David S. Miller
parent 52280f60c9
commit 0f45537105
1 changed files with 28 additions and 17 deletions

View File

@ -172,23 +172,34 @@ Graphical representation
Summarized, this is basically how DSA looks like from a network device Summarized, this is basically how DSA looks like from a network device
perspective:: perspective::
Unaware application
|--------------------------- opens and binds socket
| CPU network device (eth0)| | ^
---------------------------- | |
| <tag added by switch | +-----------v--|--------------------+
| | |+------+ +------+ +------+ +------+|
| | || swp0 | | swp1 | | swp2 | | swp3 ||
| tag added by CPU> | |+------+-+------+-+------+-+------+|
|--------------------------------------------| | DSA switch driver |
| Switch driver | +-----------------------------------+
|--------------------------------------------| | ^
|| || || Tag added by | | Tag consumed by
|-------| |-------| |-------| switch driver | | switch driver
| sw0p0 | | sw0p1 | | sw0p2 | 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 Slave MDIO bus
-------------- --------------