On 12/3/26 10:03, Radu Nicolau wrote:
On 02-Dec-26 8:19 PM, Kevin Traynor wrote:
On 10/15/26 15:13, Radu Nicolau wrote:
Add support for IPsecMB release 3.0
- removed all _BITLEN enums, all lengths are in bytes
- removed feature flag
- use non const IMB_MGR
- use IMB API instead of function pointers in the GCM PMD
- remove ZUC 256 support
Signed-off-by: Radu Nicolau<[email protected]>
Acked-by: Kai Ji<[email protected]>
---
doc/guides/cryptodevs/aesni_gcm.rst | 4 +-
doc/guides/cryptodevs/aesni_mb.rst | 11 +-
doc/guides/cryptodevs/features/aesni_mb.ini | 2 +-
doc/guides/rel_notes/release_26_11.rst | 4 +
drivers/crypto/ipsec_mb/pmd_aesni_gcm.c | 267 +++++++++++++++----
drivers/crypto/ipsec_mb/pmd_aesni_gcm_priv.h | 31 +--
drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 107 +++++---
drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h | 53 +++-
8 files changed, 356 insertions(+), 123 deletions(-)
Hi Kai/Radu,
I have a question about 25.11 branch. 25.11 branch was released with
IPsecMB 2.0 support and we shouldn't remove that support or any features.
However, IPsecMB 3.0 is the latest on any of the supported Fedora
versions since F42 was EoL. If IPsecMB 3.0 is installed it causes a
build failure e.g. [0] which is not good. If I downgrade IPsecMB to
2.0 or remove it the build works.
If I backport this patch (ignoring it removes functionality) there are
still build errors.
So the options for 25.11 would be to:
1. add support for IPsecMB 3.0 while maintaining support for IPsecMB
2. add version check on IPsecMB and only build ipsec_mb if version 2.0
is detected
3. document that IPsecMB 2.0 must be used on Fedora and let build
break if someone has IPsecMB 3.0 package installed on Fedora
I would be happy with option 1. if it's not too intrusive, or option
2. I don't really like option 3. having a broken build on all
supported Fedoras.
What do you think ?
[0] https://github.com/kevintraynor/dpdk-stable/actions/
runs/46484286815/job/142080239593#step:12:2399
Hi Kevin,
IPsec MB version 3.0.0 or newer will break any DPDK build for versions
25.11 or older, on any platform. If you have version 3.0.0 installed you
need to build DPDK 26.11 or newer, there is no way around it, this is
because the 3.0.0 release introduced changes that aren't backwards
compatible.
This behavior is documented in the PMD documentation, where depending on
DPDK version you have a range of minimum and maximum versions for
supported IPsec MB library - and for 25.11 that range is 1.4 - 1.5.
Regarding your proposals:
1. It could be done, I have to look into it. Probably not the right
approach considering that we always had a min-max range of supported
versions.
2. We currently have a version check only for the min version, maybe we
should add one for max as well, especially on older LTS releases.
3. Already documented, as per above.
I would recommend 2.
ok, thanks Radu. I sent a patch for 2. here:
https://mails.dpdk.org/archives/stable/2026-December/061961.html
fyi - there is a similar check in qat with a fallback to openssl, but it
is not causing any build issues with IPsec MB 3.0.1, so I didn't update.
Regards,
Radu