DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Radu Nicolau <radu.nicolau@intel.com>
To: Kevin Traynor <ktraynor@redhat.com>, <dev@dpdk.org>,
	Kai Ji <kai.ji@intel.com>
Cc: <marcel.d.cornu@intel.com>,
	Pablo de Lara <pablo.de.lara.guarch@intel.com>,
	David Marchand <david.marchand@redhat.com>,
	 Thomas Monjalon <thomas@monjalon.net>,
	Luca Boccassi <luca.boccassi@gmail.com>
Subject: Re: [PATCH v5 1/4] crypto/ipsec_mb: add support for IPsecMB 3.0
Date: Thu, 3 Dec 2026 13:18:57 +0000	[thread overview]
Message-ID: <6dd3ebca-3eb4-485b-b879-61ddd540e4a4@intel.com> (raw)
In-Reply-To: <dca3e74b-f070-4e62-8e0b-5d61ce6ba6fa@redhat.com>


On 03-Dec-26 11:23 AM, Kevin Traynor wrote:
> 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<radu.nicolau@intel.com>
>>>> Acked-by: Kai Ji<kai.ji@intel.com>
>>>> ---
>>>>   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
I ack-ed the patch.
>
> 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.
Yes, QAT is not affected.
>
>> Regards,
>> Radu
>

  reply	other threads:[~2026-12-03 13:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-15 14:13 [PATCH v5 0/4] crypto/ipsec_mb: add support for IPsecMB 3.0 Radu Nicolau
2026-10-15 14:13 ` [PATCH v5 1/4] " Radu Nicolau
2026-11-03 18:24   ` Wathsala Vithanage
2026-11-09 19:43   ` [EXTERNAL] " Akhil Goyal
2026-12-02 20:19   ` Kevin Traynor
2026-12-03 10:03     ` Radu Nicolau
2026-12-03 11:23       ` Kevin Traynor
2026-12-03 13:18         ` Radu Nicolau [this message]
2026-10-15 14:13 ` [PATCH v5 2/4] crypto/ipsec_mb: add support for 256-NxA4/5/6 algorithms Radu Nicolau
2026-11-03 18:26   ` Wathsala Vithanage
2026-10-15 14:13 ` [PATCH v5 3/4] crypto/ipsec_mb: add support for ML-KEM and ML-DSA Radu Nicolau
2026-10-15 14:13 ` [PATCH v5 4/4] test/crypto: add asym test suite for AESNI_MB Radu Nicolau
2026-11-03 18:28   ` Wathsala Vithanage

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6dd3ebca-3eb4-485b-b879-61ddd540e4a4@intel.com \
    --to=radu.nicolau@intel.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=kai.ji@intel.com \
    --cc=ktraynor@redhat.com \
    --cc=luca.boccassi@gmail.com \
    --cc=marcel.d.cornu@intel.com \
    --cc=pablo.de.lara.guarch@intel.com \
    --cc=thomas@monjalon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox