DPDK patches and discussions
 help / color / mirror / Atom feed
From: Pablo de Lara <pablo.de.lara.guarch@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH] doc: fix typos in ring lib
Date: Tue,  9 Dec 2014 12:27:32 +0000	[thread overview]
Message-ID: <1418128052-17208-1-git-send-email-pablo.de.lara.guarch@intel.com> (raw)

Ring library section in PG had a couple of typos,
in the text and in one of the images

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 doc/guides/prog_guide/img/ring-modulo1.svg |    2 +-
 doc/guides/prog_guide/ring_lib.rst         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/prog_guide/img/ring-modulo1.svg b/doc/guides/prog_guide/img/ring-modulo1.svg
index 768318d..614b7bf 100644
--- a/doc/guides/prog_guide/img/ring-modulo1.svg
+++ b/doc/guides/prog_guide/img/ring-modulo1.svg
@@ -785,7 +785,7 @@
          sodipodi:role="line"
          x="78.791893"
          y="528.97369"
-         id="tspan5287">free_entries = (mask + ct - ph) % 65536 = 8383</tspan></text>
+         id="tspan5287">free_entries = (mask + ct - ph) % 65536 = 5383</tspan></text>
     <path
        style="fill:#5a750a;fill-opacity:1;stroke:#fd0004;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#Arrow1Mstart);marker-end:url(#Arrow1Mend)"
        d="m 324.78109,452.09355 20.16896,0"
diff --git a/doc/guides/prog_guide/ring_lib.rst b/doc/guides/prog_guide/ring_lib.rst
index 74f143c..3289d71 100644
--- a/doc/guides/prog_guide/ring_lib.rst
+++ b/doc/guides/prog_guide/ring_lib.rst
@@ -236,7 +236,7 @@ On both cores, *ring->prod_head* and ring->cons_tail are copied in local variabl
 The prod_next local variable points to the next element of the table,
 or several elements after in the case of bulk enqueue.
 
-If there are not enough objects in the ring (this is detected by checking cons_tail), it returns an error.
+If there is not enough room in the ring (this is detected by checking cons_tail), it returns an error.
 
 .. image12_png has been replaced
 
-- 
1.7.4.1

             reply	other threads:[~2014-12-09 13:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-09 12:27 Pablo de Lara [this message]
2014-12-11 10:10 ` Iremonger, Bernard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1418128052-17208-1-git-send-email-pablo.de.lara.guarch@intel.com \
    --to=pablo.de.lara.guarch@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).