X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fprog_guide%2Fmbuf_lib.rst;h=8e616826c9b9c82767727f6943060598428cd5db;hb=ab09e04d2c3fa1f39d40307c599ed73d4a620d49;hp=338f7dae4098218cc0d7890efcdc2ac02543a9a3;hpb=fea1d908d39989a27890b29b5c0ec94c85c8257b;p=dpdk.git diff --git a/doc/guides/prog_guide/mbuf_lib.rst b/doc/guides/prog_guide/mbuf_lib.rst index 338f7dae40..8e616826c9 100644 --- a/doc/guides/prog_guide/mbuf_lib.rst +++ b/doc/guides/prog_guide/mbuf_lib.rst @@ -71,23 +71,21 @@ Message buffers may be used to carry control information, packets, events, and so on between different entities in the system. Message buffers may also use their buffer pointers to point to other message buffer data sections or other structures. -Figure 8 and Figure 9 show some of these scenarios. +:numref:`figure_mbuf1` and :numref:`figure_mbuf2` show some of these scenarios. -.. _pg_figure_8: +.. _figure_mbuf1: -**Figure 8. An mbuf with One Segment** +.. figure:: img/mbuf1.* -.. image22_png has been replaced + An mbuf with One Segment -|mbuf1| -.. _pg_figure_9: +.. _figure_mbuf2: -**Figure 9. An mbuf with Three Segments** +.. figure:: img/mbuf2.* -.. image23_png has been replaced + An mbuf with Three Segments -|mbuf2| The Buffer Manager implements a fairly standard set of buffer access functions to manipulate network packets. @@ -237,6 +235,8 @@ The list of flags and their precise meaning is described in the mbuf API documentation (rte_mbuf.h). Also refer to the testpmd source code (specifically the csumonly.c file) for details. +.. _direct_indirect_buffer: + Direct and Indirect Buffers --------------------------- @@ -277,7 +277,3 @@ Use Cases --------- All networking application should use mbufs to transport network packets. - -.. |mbuf1| image:: img/mbuf1.* - -.. |mbuf2| image:: img/mbuf2.*