From: Yuanhan Liu <yuanhan.liu@linux.intel.com>
To: Sankar Chokkalingam <sankarx.chokkalingam@intel.com>
Cc: dev@dpdk.org, cristian.dumitrescu@intel.com,
Guruprasad Rao <guruprasadx.rao@intel.com>
Subject: Re: [PATCH 1/3] lib/librte_table: enabling cuckoo hash into table library
Date: Tue, 13 Sep 2016 12:43:20 +0800 [thread overview]
Message-ID: <20160913044320.GN23158@yliu-dev.sh.intel.com> (raw)
In-Reply-To: <1472256076-145311-1-git-send-email-sankarx.chokkalingam@intel.com>
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 <sankarx.chokkalingam@intel.com>
> Signed-off-by: Guruprasad Rao <guruprasadx.rao@intel.com>
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
next prev parent reply other threads:[~2016-09-13 4:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-27 0:01 [PATCH 1/3] lib/librte_table: enabling cuckoo hash into table library Sankar Chokkalingam
2016-09-13 4:43 ` Yuanhan Liu [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-09-22 10:12 [PATCH 0/3] changes for " Sankar Chokkalingam
2016-09-22 10:12 ` [PATCH 1/3] lib/librte_table: " Sankar Chokkalingam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160913044320.GN23158@yliu-dev.sh.intel.com \
--to=yuanhan.liu@linux.intel.com \
--cc=cristian.dumitrescu@intel.com \
--cc=dev@dpdk.org \
--cc=guruprasadx.rao@intel.com \
--cc=sankarx.chokkalingam@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.