Re: [dpdk-dev] [PATCH v5 4/4] hash: use partial-key hashing

2018-10-02 Thread Wang, Yipeng1
>; dev@dpdk.org; >Honnappa Nagarahalli ; Gobriel, Sameh > >Subject: Re: [dpdk-dev] [PATCH v5 4/4] hash: use partial-key hashing > >I am attempting to test the patch on an Arm machine, but it failed to apply. > >I’m getting the following error: > >error: patch faile

Re: [dpdk-dev] [PATCH v5 4/4] hash: use partial-key hashing

2018-10-02 Thread Dharmik Thakkar
I am attempting to test the patch on an Arm machine, but it failed to apply. I’m getting the following error: error: patch failed: test/test/test_hash_perf.c:18 error: test/test/test_hash_perf.c: patch does not apply Patch failed at 0003 test/hash: implement extendable bucket hash test > On Oct

[dpdk-dev] [PATCH v5 4/4] hash: use partial-key hashing

2018-10-01 Thread Yipeng Wang
This commit changes the hashing mechanism to "partial-key hashing" to calculate bucket index and signature of key. This is proposed in Bin Fan, et al's paper "MemC3: Compact and Concurrent MemCache with Dumber Caching and Smarter Hashing". Bascially the idea is to use "xor" to derive alternative