hash: add toeplitz algorithm used by RSS
authorVladimir Medvedkin <medvedkinv@gmail.com>
Tue, 30 Jun 2015 23:40:20 +0000 (19:40 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 1 Jul 2015 21:23:03 +0000 (23:23 +0200)
commit7574c3ef74287a5a2911705c550806914400a1ed
tree6e108e077f07e90d2d94085cc38415d999aa326a
parentc6ea16dc928134acfca62aa4e000934436d17651
hash: add toeplitz algorithm used by RSS

Software implementation of the Toeplitz hash function used by RSS.
Can be used either for packet distribution on single queue NIC
or for simulating of RSS computation on specific NIC (for example
after GRE header decapsulating).

Signed-off-by: Vladimir Medvedkin <medvedkinv@gmail.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_hash/Makefile
lib/librte_hash/rte_thash.h [new file with mode: 0644]