From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id A8ACA558C for ; Tue, 13 Sep 2016 06:42:54 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga105.jf.intel.com with ESMTP; 12 Sep 2016 21:42:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,326,1470726000"; d="scan'208";a="7651124" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by fmsmga005.fm.intel.com with ESMTP; 12 Sep 2016 21:42:51 -0700 Date: Tue, 13 Sep 2016 12:43:20 +0800 From: Yuanhan Liu To: Sankar Chokkalingam Cc: dev@dpdk.org, cristian.dumitrescu@intel.com, Guruprasad Rao Message-ID: <20160913044320.GN23158@yliu-dev.sh.intel.com> References: <1472256076-145311-1-git-send-email-sankarx.chokkalingam@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1472256076-145311-1-git-send-email-sankarx.chokkalingam@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH 1/3] lib/librte_table: enabling cuckoo hash into table library 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, 13 Sep 2016 04:42:55 -0000 On Fri, Aug 26, 2016 at 05:01:16PM -0700, Sankar Chokkalingam wrote: > This patch provides table apis for dosig version of cuckoo hash via > rte_table_hash_cuckoo_dosig_ops > > The following apis are implemented for cuckoo hash > rte_table_hash_cuckoo_create > rte_table_hash_cuckoo_free > rte_table_hash_cuckoo_entry_add > rte_table_hash_cuckoo_entry_delete > rte_table_hash_cuckoo_lookup_dosig > rte_table_hash_cuckoo_stats_read > > Signed-off-by: Sankar Chokkalingam > Signed-off-by: Guruprasad Rao Hi, FYI, my robot caught a clang build error (gcc builds fine). --yliu --- x86_64-native-linuxapp-clang: config-all-yes ============================================ lib/librte_table/rte_table_hash_cuckoo.c:304:22: error: cast from 'uint8_t **' (aka 'unsigned char **') to 'const void **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] (const void **) keys, ^ 1 error generated. make[5]: *** [rte_table_hash_cuckoo.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [librte_table] Error 2 make[3]: *** [lib] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 error: build failed