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

Thomas Monjalon thomas at monjalon.net
Sat Apr 25 15:55:38 CEST 2020


20/04/2020 20:27, 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
> Also use rte_hash_add_key_with_hash and _del_key_with_hash with
> precalculated hash signature for a key in rte_ipsec_sad_add and
> rte_ipsec_sad_del
> 
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> ---
> This patch depends on https://patches.dpdk.org/patch/68700/

The dependency was merged today,
so this patch on IPsec library is applied as well for -rc1, thanks.





More information about the dev mailing list