Skip to content

hash: improve multiple places

Yipeng Wang dpdk-dev 4 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest6 patches 1 replyApplied
  2. v36 patches 2 repliesSuperseded
  3. v24 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches7 repliesSuperseded

Changes in v4 from the cover letter

* Fix memory leak in commit 3 (Honnappa)

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/6hash: fix unnecessary pauselib/librte_hash/rte_cuckoo_hash.c+2 -30 replies
2/6test/hash: change multiwriter test to use jhashtest/test/test_hash_multiwriter.c+2 -10 replies
3/6test/hash: test more corner cases in unit testtest/test/test_hash_readwrite.c+26 -60 replies
4/6test/hash: add readwrite test for ext tabletest/test/test_hash_readwrite.c+34 -80 replies
5/6test/hash: remove hash scaling unit testtest/test/Makefile test/test/autotest_data.py test/test/meson.build +1 more+0 -2000 replies
6/6test/hash: fix to add read-write test to autotesttest/test/autotest_data.py test/test/meson.build+7 -00 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchBruce Richardson
1/6A-b
2/6
3/6A-b
4/6A-b
5/6A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/6] hash: improve multiple places

This patch set depends on Honnappa's patch set:
http://patchwork.dpdk.org/cover/47268/

This patch set fixes/improves a couple of places mostly on unit tests:

commit 1: remove unnecessary code in hash library. commit 2: use jhash in multiwriter unit test.
commit 3: cover more test case in unit test.
commit 4: improve readwrite test to consider the extendable table. commit 5: remove scaling unit test.
commit 6: add readwrite test to meson and autotest file.

v3->v4:
* Fix memory leak in commit 3 (Honnappa)

v2->v3:
* Split commit 4 to commit 3 and 4 (Honnappa)
* Remove hard coded macro (Bruce)
* Add commit 6 fix to add readwrite test to autotest files.
* Remove unnecessary header in commit 1 (Mattias)

V1->V2:
* In commit 2 change use_jhash to a macro instead of a hard coded local variable (Bruce).
* Add commit 4 to remove scaling unit test (Bruce).

Yipeng Wang (6):
hash: fix unnecessary pause
test/hash: change multiwriter test to use jhash test/hash: test more corner cases in unit test test/hash: add readwrite test for ext table test/hash: remove hash scaling unit test test/hash: fix to add read-write test to autotest

 lib/librte_hash/rte_cuckoo_hash.c |   5 +-
 test/test/Makefile                |   1 -
 test/test/autotest_data.py        |  12 +--
 test/test/meson.build             |   3 +-
 test/test/test_hash_multiwriter.c |   3 +-
 test/test/test_hash_readwrite.c   |  74 ++++++++++++---
 test/test/test_hash_scaling.c     | 191 --------------------------------------
 7 files changed, 71 insertions(+), 218 deletions(-)
 delete mode 100644 test/test/test_hash_scaling.c
Signature · 1 line
2.7.4