From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 2A7C42A9 for ; Tue, 9 Dec 2014 14:45:38 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 09 Dec 2014 05:45:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,545,1413270000"; d="scan'208";a="650930265" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 09 Dec 2014 05:45:35 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id sB9DjYWx029736; Tue, 9 Dec 2014 13:45:34 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id sB9DjUid020810; Tue, 9 Dec 2014 13:45:30 GMT Received: (from pdelarax@localhost) by sivswdev02.ir.intel.com with id sB9DjUww020806; Tue, 9 Dec 2014 13:45:30 GMT From: Pablo de Lara To: dev@dpdk.org Date: Tue, 9 Dec 2014 12:27:32 +0000 Message-Id: <1418128052-17208-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH] doc: fix typos in ring lib X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2014 13:45:38 -0000 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 --- 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 + id="tspan5287">free_entries = (mask + ct - ph) % 65536 = 5383 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