member: add AVX for HT mode
authorYipeng Wang <yipeng1.wang@intel.com>
Wed, 4 Oct 2017 03:12:22 +0000 (20:12 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 8 Oct 2017 22:02:45 +0000 (00:02 +0200)
commit703be9531a41e8573b087099299766a811987fc3
tree314eea683bb39bbb0506a28ab7c982a617b6e83e
parent54b8edc07c5572c97124efb4227aff52b66b9a5f
member: add AVX for HT mode

For key search, the signatures of all entries are compared against
the signature of the key that is being looked up. Since all
signatures are contiguously put in a bucket, they can be compared
with vector instructions (AVX2), achieving higher lookup performance.

This patch adds AVX2 implementation in a separate header file.

Signed-off-by: Yipeng Wang <yipeng1.wang@intel.com>
Reviewed-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
lib/librte_member/rte_member.h
lib/librte_member/rte_member_ht.c
lib/librte_member/rte_member_x86.h [new file with mode: 0644]