[PATCH 25.11] crypto/ipsec_mb: limit IPsec MB to versions below 3.0.0
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 12:19:56 CET 2026
IPsec MB 3.0.0 is not compatible with DPDK 25.11, but meson
only checked for a minimum version. That meant with the latest
IPsec MB 3.0.1 on some distros it was found and used but broke the
build.
Add a maximum version check so that 3.0.0 and later is not used.
If it is present, the crypto/ipsec_mb driver will be disabled.
e.g. now with F44 and intel-ipsec-mb-devel-3.0.1-2.fc44.x86_64:
crypto/ipsec_mb: IPSec_MB version < 3.0.0 is required, found version 3.0.1
Also rename IMB_required_ver to IMB_min_required_version to make
it clear it is the minimum version.
Signed-off-by: Kevin Traynor <ktraynor at redhat.com>
---
drivers/crypto/ipsec_mb/meson.build | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/crypto/ipsec_mb/meson.build b/drivers/crypto/ipsec_mb/meson.build
index 5fcff5b04b..e52fcba7b2 100644
--- a/drivers/crypto/ipsec_mb/meson.build
+++ b/drivers/crypto/ipsec_mb/meson.build
@@ -10,5 +10,6 @@ endif
cflags += no_wvla_cflag
-IMB_required_ver = '1.4.0'
+IMB_min_required_version = '1.4.0'
+IMB_unsupported_ver = '3.0.0'
IMB_header = '#include<intel-ipsec-mb.h>'
if arch_subdir == 'arm'
@@ -31,7 +32,11 @@ else
prefix : IMB_header).split('"')[1]
- if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_required_ver))
+ if (imb_ver == '') or (imb_ver.version_compare('<' + IMB_min_required_version))
reason = 'IPSec_MB version >= @0@ is required, found version @1@'.format(
- IMB_required_ver, imb_ver)
+ IMB_min_required_version, imb_ver)
+ build = false
+ elif imb_ver.version_compare('>=' + IMB_unsupported_ver)
+ reason = 'IPSec_MB version < @0@ is required, found version @1@'.format(
+ IMB_unsupported_ver, imb_ver)
build = false
endif
--
2.56.1
More information about the stable
mailing list