doc: reformat net-stack-arch doc for PDF output

While the two-column layout looked OK in the HTML output, it totally
broke the PDF version of the documentation.  So, this change puts the
picture before the text instead of using embedded raw html tags to
create a two-column look. (And fixes the PDF generated output.)

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2019-09-18 12:32:48 -07:00 committed by Anas Nashif
commit 99e935e2ba

View file

@ -16,7 +16,6 @@ High level overview of the network stack
****************************************
.. figure:: zephyr_netstack_overview.svg
:align: left
:alt: Overview of the network stack architecture
:figclass: align-center
@ -63,11 +62,6 @@ The network stack is layered and consists of the following parts:
* **Network Device Drivers.** The actual low-level device drivers handle the
physical sending or receiving of network packets.
.. raw:: html
<br style="clear:both;" />
Network data flow
*****************
@ -76,12 +70,7 @@ that execute the application logic. When using the
:ref:`BSD socket API <bsd_sockets_interface>`, the following things will
happen.
.. raw:: html
<br style="clear:both;" />
.. figure:: zephyr_netstack_overview-rx_sequence.svg
:align: left
:alt: Network RX data flow
:figclass: align-center
@ -122,12 +111,8 @@ Data receiving (RX)
:ref:`BSD socket API <bsd_sockets_interface>` to create a socket
that will receive the data.
.. raw:: html
<br style="clear:both;" />
.. figure:: zephyr_netstack_overview-tx_sequence.svg
:align: left
:alt: Network TX data flow
:figclass: align-center
@ -165,10 +150,6 @@ Data sending (TX)
7. The device driver will send the packet to the network.
.. raw:: html
<br style="clear:both;" />
Note that in both the TX and RX data paths, the queues
(:ref:`k_fifo's <fifos_v2>`) form separation points where data is passed from
one :ref:`thread <threads_v2>` to another.