From patchwork Mon Feb 2 13:16:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John McNamara X-Patchwork-Id: 2915 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 7A8132A5E; Mon, 2 Feb 2015 14:16:23 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 3FD123775 for ; Mon, 2 Feb 2015 14:16:14 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 02 Feb 2015 05:16:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="448686008" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 02 Feb 2015 05:02:07 -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 t12DG94c005984; Mon, 2 Feb 2015 13:16:10 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t12DG9Zj027127; Mon, 2 Feb 2015 13:16:09 GMT Received: (from jmcnam2x@localhost) by sivswdev02.ir.intel.com with id t12DG9Ed027123; Mon, 2 Feb 2015 13:16:09 GMT From: John McNamara To: dev@dpdk.org Date: Mon, 2 Feb 2015 13:16:07 +0000 Message-Id: <1422882967-27060-5-git-send-email-john.mcnamara@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1422882967-27060-1-git-send-email-john.mcnamara@intel.com> References: <1421255657-19521-1-git-send-email-john.mcnamara@intel.com> <1422882967-27060-1-git-send-email-john.mcnamara@intel.com> Subject: [dpdk-dev] [PATCH v3 4/4] doc: Refactored split cell formatting in one table 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Refactored split cell in test_pipeline table to allow it to convert cleanly to PDF. The Sphinx/Latex converter doesn't handle split cells like the following: +-------------+--------------+ | Header 1 | Header 2 | +=============+==============+ | | | | | | +-------------+ | | | | | | | +-------------+--------------+ Instead the table was refactored to a simpler format: +-------------+--------------+ | Header 1 | Header 2 | +=============+==============+ | | | | | | +-------------+--------------+ | | | | | | +-------------+--------------+ The same information was retained in the table. Signed-off-by: John McNamara --- doc/guides/sample_app_ug/test_pipeline.rst | 32 +++++++++++++++++++-------- 1 files changed, 22 insertions(+), 10 deletions(-) diff --git a/doc/guides/sample_app_ug/test_pipeline.rst b/doc/guides/sample_app_ug/test_pipeline.rst index 867a7a7..a5fed8a 100644 --- a/doc/guides/sample_app_ug/test_pipeline.rst +++ b/doc/guides/sample_app_ug/test_pipeline.rst @@ -137,9 +137,9 @@ For hash tables, the following parameters can be selected: | | | entries. | hash table with the following key format: | | | | | | | | | | [4-byte index, 4 bytes of 0] | -+-------+------------------------+----------------------------------------------------------+ | -| 4 | hash-[spec]-8-ext | Extendible bucket hash table with 8-byte key size | The action configured for all table entries is | -| | | and 16 million entries. | "Sendto output port", with the output port index | +| | | | | +| | | | The action configured for all table entries is | +| | | | "Sendto output port", with the output port index | | | | | uniformly distributed for the range of output ports. | | | | | | | | | | The default table rule (used in the case of a lookup | @@ -152,13 +152,17 @@ For hash tables, the following parameters can be selected: | | | | [destination IPv4 address, 4 bytes of 0] | | | | | | +-------+------------------------+----------------------------------------------------------+-------------------------------------------------------+ +| 4 | hash-[spec]-8-ext | Extendible bucket hash table with 8-byte key size | Same as hash-[spec]-8-lru table entries, above. | +| | | and 16 million entries. | | +| | | | | ++-------+------------------------+----------------------------------------------------------+-------------------------------------------------------+ | 5 | hash-[spec]-16-lru | LRU hash table with 16-byte key size and 16 million | 16 million entries are successfully added to the hash | | | | entries. | table with the following key format: | | | | | | | | | | [4-byte index, 12 bytes of 0] | -+-------+------------------------+----------------------------------------------------------+ | -| 6 | hash-[spec]-ash-16-ext | Extendible bucket hash table with 16-byte key size | The action configured for all table entries is | -| | | and 16 million entries. | "Send to output port", with the output port index | +| | | | | +| | | | The action configured for all table entries is | +| | | | "Send to output port", with the output port index | | | | | uniformly distributed for the range of output ports. | | | | | | | | | | The default table rule (used in the case of a lookup | @@ -171,13 +175,17 @@ For hash tables, the following parameters can be selected: | | | | [destination IPv4 address, 12 bytes of 0] | | | | | | +-------+------------------------+----------------------------------------------------------+-------------------------------------------------------+ +| 6 | hash-[spec]-16-ext | Extendible bucket hash table with 16-byte key size | Same as hash-[spec]-16-lru table entries, above. | +| | | and 16 million entries. | | +| | | | | ++-------+------------------------+----------------------------------------------------------+-------------------------------------------------------+ | 7 | hash-[spec]-32-lru | LRU hash table with 32-byte key size and 16 million | 16 million entries are successfully added to the hash | -| | | entries. | table with the following key format: | +| | | entries. | table with the following key format: | | | | | | | | | | [4-byte index, 28 bytes of 0]. | -+-------+------------------------+----------------------------------------------------------+ | -| 8 | hash-[spec]-32-ext | Extendible bucket hash table with 32-byte key size | The action configured for all table entries is | -| | | and 16 million entries. | "Send to output port", with the output port index | +| | | | | +| | | | The action configured for all table entries is | +| | | | "Send to output port", with the output port index | | | | | uniformly distributed for the range of output ports. | | | | | | | | | | The default table rule (used in the case of a lookup | @@ -190,6 +198,10 @@ For hash tables, the following parameters can be selected: | | | | [destination IPv4 address, 28 bytes of 0] | | | | | | +-------+------------------------+----------------------------------------------------------+-------------------------------------------------------+ +| 8 | hash-[spec]-32-ext | Extendible bucket hash table with 32-byte key size | Same as hash-[spec]-32-lru table entries, above. | +| | | and 16 million entries. | | +| | | | | ++-------+------------------------+----------------------------------------------------------+-------------------------------------------------------+ | 9 | lpm | Longest Prefix Match (LPM) IPv4 table. | In the case of two ports, two routes | | | | | are added to the table: | | | | | |