Commit 51513748 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller

Documentation: networking: fix ASCII art in switchdev.txt

Fix ASCII art in Documentation/networking/switchdev.txt:

Change non-ASCII "spaces" to ASCII spaces.

Change 2 erroneous '+' characters in ASCII art to '-' (at the '*'
characters below):

line 32:
                     +--+----+----+----+-*--+----+---+  +-----+-----+
line 41:
                     +--------------+---*------------+
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3ff4cbec
...@@ -13,42 +13,42 @@ an example setup using a data-center-class switch ASIC chip. Other setups ...@@ -13,42 +13,42 @@ an example setup using a data-center-class switch ASIC chip. Other setups
with SR-IOV or soft switches, such as OVS, are possible. with SR-IOV or soft switches, such as OVS, are possible.
                             User-space tools User-space tools
       user space                   | user space |
      +-------------------------------------------------------------------+ +-------------------------------------------------------------------+
       kernel                       | Netlink kernel | Netlink
                                    | |
                     +--------------+-------------------------------+ +--------------+-------------------------------+
                     |         Network stack                        | | Network stack |
                     |           (Linux)                            | | (Linux) |
                     |                                              | | |
                     +----------------------------------------------+ +----------------------------------------------+
sw1p2 sw1p4 sw1p6 sw1p2 sw1p4 sw1p6
                      sw1p1  + sw1p3 +  sw1p5 +         eth1 sw1p1 + sw1p3 + sw1p5 + eth1
                        +    |    +    |    +    |            + + | + | + | +
                        |    |    |    |    |    |            | | | | | | | |
                     +--+----+----+----+-+--+----+---+  +-----+-----+ +--+----+----+----+----+----+---+ +-----+-----+
                     |         Switch driver         |  |    mgmt   | | Switch driver | | mgmt |
                     |        (this document)        |  |   driver  | | (this document) | | driver |
                     |                               |  |           | | | | |
                     +--------------+----------------+  +-----------+ +--------------+----------------+ +-----------+
                                    | |
       kernel                       | HW bus (eg PCI) kernel | HW bus (eg PCI)
      +-------------------------------------------------------------------+ +-------------------------------------------------------------------+
       hardware                     | hardware |
                     +--------------+---+------------+ +--------------+----------------+
                     |         Switch device (sw1)   | | Switch device (sw1) |
                     |  +----+                       +--------+ | +----+ +--------+
                     |  |    v offloaded data path   | mgmt port | | v offloaded data path | mgmt port
                     |  |    |                       | | | | |
                     +--|----|----+----+----+----+---+ +--|----|----+----+----+----+---+
                        |    |    |    |    |    | | | | | | |
                        +    +    +    +    +    + + + + + + +
                       p1   p2   p3   p4   p5   p6 p1 p2 p3 p4 p5 p6
                             front-panel ports front-panel ports
Fig 1. Fig 1.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment