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

2020-03-26 Thread Medvedkin, Vladimir
Hi Konstantin, On 24/03/2020 19:57, Ananyev, Konstantin wrote: Hi Vladimir, 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 Looks good in general. Few thoughts below, nothing majo

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

2020-03-24 Thread Ananyev, Konstantin
Hi Vladimir, > 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 Looks good in general. Few thoughts below, nothing major. > Signed-off-by: Vladimir Medvedkin > --- > This patch

[dpdk-dev] [PATCH] ipsec: use hash lookup with hash sigs in sad lookup

2020-03-09 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 --- This patch depends on https://patches.dpdk.org/patch/66460/ lib/librte_ipsec/ipsec_sad.c | 38 +