From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <fanzhan2@ecsmtp.ir.intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id 83E898E70
 for <dev@dpdk.org>; Sat, 26 Sep 2015 00:33:19 +0200 (CEST)
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by orsmga103.jf.intel.com with ESMTP; 25 Sep 2015 15:33:17 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.17,589,1437462000"; d="scan'208";a="568613162"
Received: from irvmail001.ir.intel.com ([163.33.26.43])
 by FMSMGA003.fm.intel.com with ESMTP; 25 Sep 2015 15:33:17 -0700
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
 t8PMXF5q015205; Fri, 25 Sep 2015 23:33:15 +0100
Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1])
 by sivswdev02.ir.intel.com with ESMTP id t8PMXFlO013689;
 Fri, 25 Sep 2015 23:33:15 +0100
Received: (from fanzhan2@localhost)
 by sivswdev02.ir.intel.com with  id t8PMXFwP013682;
 Fri, 25 Sep 2015 23:33:15 +0100
From: roy.fan.zhang@intel.com
To: dev@dpdk.org
Date: Fri, 25 Sep 2015 23:33:09 +0100
Message-Id: <1443220392-13434-6-git-send-email-roy.fan.zhang@intel.com>
X-Mailer: git-send-email 1.7.4.1
In-Reply-To: <1443220392-13434-1-git-send-email-roy.fan.zhang@intel.com>
References: <1443220392-13434-1-git-send-email-roy.fan.zhang@intel.com>
Subject: [dpdk-dev] [PATCH 5/8] app/test-pipeline: modify pipeline test
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Sep 2015 22:33:20 -0000

From: Fan Zhang <roy.fan.zhang@intel.com>

Test-pipeline have been updated to work on added key_mask parameter for
8-byte key extendible bucket and LRU tables.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
---
 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 548615f..dda0d4d 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 = 0,
 			.key_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 = 0,
 			.key_offset = 32,
+			.key_mask = NULL,
 			.f_hash = test_hash,
 			.seed = 0,
 		};
@@ -267,6 +269,7 @@ app_main_loop_worker_pipeline_hash(void) {
 			.key_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 = 32,
 			.f_hash = test_hash,
 			.seed = 0,
+			.key_mask = NULL
 		};
 
 		struct rte_pipeline_table_params table_params = {
-- 
2.1.0