Re: [dpdk-dev] [PATCH v2 1/2] ipsec: use hash lookup with hash sigs in sad lookup

2020-04-07 Thread Ananyev, Konstantin
> Change hash function from jhash to crc. > Precalculate hash signatures for a bulk of keys and then > use rte_hash_lookup_with_hash_bulk_data() to speed up sad lookup I think you need to state somewhere that this patch depends on: http://patches.dpdk.org/patch/67210/ Also probably this and nex

[dpdk-dev] [PATCH v2 1/2] ipsec: use hash lookup with hash sigs in sad lookup

2020-03-26 Thread Vladimir Medvedkin
Change hash function from jhash to crc. Precalculate hash signatures for a bulk of keys and then use rte_hash_lookup_with_hash_bulk_data() to speed up sad lookup Signed-off-by: Vladimir Medvedkin --- lib/librte_ipsec/ipsec_sad.c | 38 +- 1 file changed, 29 ins