Re: [lng-odp] [API-NEXT PATCH 1/3] api: add cuckoo hash api

2016-04-07 Thread he peng
Perhaps a generic hash table APIs (not cuckoo hash) could be put in the main APIs? > 在 2016年4月6日,下午10:18,Ru Jia 写道: > > Last year, there was a discussion about cuckoo hash. I saw the last reply > (https://lists.linaro.org/pipermail/lng-odp/2015-December/017921.html >

[lng-odp] [API-NEXT RFC PATCH] cuckoo hash on buffer/pool

2015-12-17 Thread Peng
--- helper/Makefile.am | 2 + helper/cuckoo_hash.c| 728 ++ helper/include/odp/helper/cuckoo_hash.h | 434 ++ helper/include/odp/helper/ring.h| 43 ++ helper/ring.c | 28 ++

[lng-odp] [API-NEXT PATCH v2] helper: add cuckoo hash implementation

2015-11-25 Thread Peng
Signed-off-by: Peng <xnhp0...@icloud.com> --- helper/Makefile.am |2 + helper/cuckoo_hash.c| 1117 +++ helper/include/odp/helper/cuckoo_hash.h | 435 helper/include/odp/helper/ring.h| 43 ++

[lng-odp] [API-NEXT PATCH v2] helper: add cuckoo hash implementation

2015-11-25 Thread Peng
Signed-off-by: Peng <xnhp0...@icloud.com> --- helper/Makefile.am |2 + helper/cuckoo_hash.c| 1117 +++ helper/include/odp/helper/cuckoo_hash.h | 435 helper/include/odp/helper/ring.h| 43 ++

[lng-odp] [PATCH] [API-NEXT PATCH v6] api: hash: Added crc32 and crc32c hash functions

2015-10-25 Thread Peng
From: Peng <hep...@ict.ac.cn> Signed-off-by: Peng <hep...@ict.ac.cn> --- v2: Add copyright license. v3: APIs: crc32c, crc32 and generic CRC hash impl linux-generic: add impl for crc32c. v4: linux-generic: change odp_crc32c_1word to crc32c_u32, change odp_crc32c_2words t

[lng-odp] [PATCH] [API-NEXT PATCH v4] api: hash: Added crc32 and crc32c hash functions

2015-10-15 Thread Peng
From: Peng <hep...@ict.ac.cn> v2: Add copyright license. v3: APIs: crc32c, crc32 and generic CRC hash impl linux-generic: add impl for crc32c. v4: linux-generic: change odp_crc32c_1word to crc32c_u32, change odp_crc32c_2words to crc32c_u64, drop inline dec

[lng-odp] [PATCH] [API-NEXT PATCH v5] api: hash: Added crc32 and crc32c hash functions

2015-10-15 Thread Peng
From: Peng <hep...@ict.ac.cn> v2: Add copyright license. v3: APIs: crc32c, crc32 and generic CRC hash impl linux-generic: add impl for crc32c. v4: linux-generic: change odp_crc32c_1word to crc32c_u32, change odp_crc32c_2words to crc32c_u64, drop inline dec

[lng-odp] [PATCH] [API-NEXT PATCH v3] api: hash: Added crc32 and crc32c hash functions

2015-10-14 Thread Peng
From: Peng <hep...@ict.ac.cn> v2: Add copyright license. v3: APIs: crc32c, crc32 and generic CRC hash impl linux-generic: add impl for crc32c. Signed-off-by: Peng <hep...@ict.ac.cn> --- include/odp.h | 1 + include/odp/api/hash.h

[lng-odp] [PATCH] Add CRC as an odp api, and a SW implementation in linux-generic.

2015-10-13 Thread Peng
From: Peng <hep...@ict.ac.cn> Signed-off-by: Peng <hep...@ict.ac.cn> --- include/odp.h | 1 + include/odp/api/hash.h| 73 + platform/linux-generic/Makefile.am| 3 + platform/linux-generic/include/odp/hash.h | 34 +

[lng-odp] [PATCH v2] Add CRC as an odp api, and a SW implementation in linux-generic. Add copyright license.

2015-10-13 Thread Peng
From: Peng <hep...@ict.ac.cn> Signed-off-by: Peng <hep...@ict.ac.cn> --- include/odp.h | 1 + include/odp/api/hash.h| 73 + platform/linux-generic/Makefile.am| 3 + platform/linux-generic/include/odp/hash.h | 34 +