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: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Randy Dunlap 2017-09-16 13:10:06 -07:00 committed by David S. Miller
parent 3ff4cbec87
commit 51513748dd
1 changed files with 32 additions and 32 deletions

View File

@ -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-spacetools User-space tools
userspace| user space |
+-------------------------------------------------------------------+ +-------------------------------------------------------------------+
kernel|Netlink kernel | Netlink
| |
+--------------+-------------------------------+ +--------------+-------------------------------+
|Networkstack| | Network stack |
|(Linux)| | (Linux) |
|| | |
+----------------------------------------------+ +----------------------------------------------+
sw1p2 sw1p4 sw1p6 sw1p2 sw1p4 sw1p6
sw1p1 + sw1p3 + sw1p5 + eth1 sw1p1 + sw1p3 + sw1p5 + eth1
+|+|+|+ + | + | + | +
||||||| | | | | | | |
+--+----+----+----+-+--+----+---++-----+-----+ +--+----+----+----+----+----+---+ +-----+-----+
|Switchdriver||mgmt| | Switch driver | | mgmt |
|(thisdocument)||driver| | (this document) | | driver |
|||| | | | |
+--------------+----------------++-----------+ +--------------+----------------+ +-----------+
| |
kernel|HWbus(egPCI) kernel | HW bus (eg PCI)
+-------------------------------------------------------------------+ +-------------------------------------------------------------------+
hardware| hardware |
+--------------+---+------------+ +--------------+----------------+
|Switchdevice (sw1)| | Switch device (sw1) |
|+----++--------+ | +----+ +--------+
||voffloadeddatapath|mgmtport | | v offloaded data path | mgmt port
|||| | | | |
+--|----|----+----+----+----+---+ +--|----|----+----+----+----+---+
|||||| | | | | | |
++++++ + + + + + +
p1p2p3p4p5p6 p1 p2 p3 p4 p5 p6
front-panelports front-panel ports
Fig 1. Fig 1.