Re: [PATCH v4 3/5] crypto/openssl: per-qp cipher context clones

2024-07-01 Thread Ji, Kai
Acked-by: Kai Ji From: Jack Bond-Preston Sent: 07 June 2024 13:47 To: Ji, Kai Cc: dev@dpdk.org ; Wathsala Vithanage Subject: [PATCH v4 3/5] crypto/openssl: per-qp cipher context clones Currently EVP_CIPHER_CTXs are allocated, copied to (from openssl_session

[PATCH v4 3/5] crypto/openssl: per-qp cipher context clones

2024-06-07 Thread Jack Bond-Preston
Currently EVP_CIPHER_CTXs are allocated, copied to (from openssl_session), and then freed for every cipher operation (ie. per packet). This is very inefficient, and avoidable. Make each openssl_session hold an array of pointers to per-queue-pair cipher context copies. These are populated on first