From mboxrd@z Thu Jan 1 00:00:00 1970 From: roy.fan.zhang@intel.com Subject: [PATCH v4 4/7] app/test-pipeline: modify pipeline test Date: Wed, 28 Oct 2015 17:11:19 +0000 Message-ID: <1446052282-22391-5-git-send-email-roy.fan.zhang@intel.com> References: <1446052282-22391-1-git-send-email-roy.fan.zhang@intel.com> To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9D5808E79 for ; Wed, 28 Oct 2015 18:11:35 +0100 (CET) In-Reply-To: <1446052282-22391-1-git-send-email-roy.fan.zhang@intel.com> 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" From: Fan Zhang Test-pipeline has been updated to work on added key_mask parameter for 8-byte key extendible bucket and LRU tables. Signed-off-by: Fan Zhang --- app/test-pipeline/pipeline_hash.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/test-pipeline/pipeline_hash.c b/app/test-pipeline/pipeline_hash.c index 5e4e17f..8b888d7 100644 --- a/app/test-pipeline/pipeline_hash.c +++ b/app/test-pipeline/pipeline_hash.c @@ -216,6 +216,7 @@ app_main_loop_worker_pipeline_hash(void) { .n_entries_ext = 1 << 23, .signature_offset = APP_METADATA_OFFSET(0), .key_offset = APP_METADATA_OFFSET(32), + .key_mask = NULL, .f_hash = test_hash, .seed = 0, }; @@ -240,6 +241,7 @@ app_main_loop_worker_pipeline_hash(void) { .n_entries = 1 << 24, .signature_offset = APP_METADATA_OFFSET(0), .key_offset = APP_METADATA_OFFSET(32), + .key_mask = NULL, .f_hash = test_hash, .seed = 0, }; @@ -267,6 +269,7 @@ app_main_loop_worker_pipeline_hash(void) { .key_offset = APP_METADATA_OFFSET(32), .f_hash = test_hash, .seed = 0, + .key_mask = NULL, }; struct rte_pipeline_table_params table_params = { @@ -291,6 +294,7 @@ app_main_loop_worker_pipeline_hash(void) { .key_offset = APP_METADATA_OFFSET(32), .f_hash = test_hash, .seed = 0, + .key_mask = NULL, }; struct rte_pipeline_table_params table_params = { -- 2.1.0