From: Radu Nicolau <radu.nicolau@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: <dev@dpdk.org>, <nkaithakadan@marvell.com>, <kai.ji@intel.com>,
<anoobj@marvell.com>, Akhil Goyal <gakhil@marvell.com>,
Fan Zhang <fanzhang.oss@gmail.com>
Subject: Re: [PATCH v5 1/2] cryptodev: add support for 256-NxA4/5/6 algorithms
Date: Fri, 23 Jan 2026 10:44:56 +0000 [thread overview]
Message-ID: <8cb11577-9401-4b76-8f56-e19144376159@intel.com> (raw)
In-Reply-To: <20260122162310.5a1e1320@phoenix.local>
Hi,
I will try to improve based on this, also some comments inline.
On 23-Jan-26 12:23 AM, Stephen Hemminger wrote:
> On Thu, 22 Jan 2026 10:25:33 +0000
> Radu Nicolau <radu.nicolau@intel.com> wrote:
>
>> Add support for
>>
>> NEA4, NIA4, NCA4: Snow 5G confidentiality, integrity and AEAD modes
>> NEA5, NIA5, NCA5: AES 256 confidentiality, integrity and AEAD modes
>> NEA6, NIA6, NCA6: ZUC 256 confidentiality, integrity and AEAD modes
>>
>> Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
> Working on AI based patch review and used this pair as a test case.
> The results showed some things (mostly documentation) that could be
> fixed and also some false positives like recommending adding __rte_experimental
> to enum.
>
> <snip>
> ## COMPLIANCE SUMMARY
>
> ### ✅ Correct
>
> 1. **License Headers:** All new files have proper SPDX license identifiers
> 2. **Copyright:** Intel copyright notices present and properly formatted
> 3. **C Style:** Code follows DPDK style guidelines (indentation, braces, naming)
> 4. **Commit Format:** Signed-off-by present, reasonable subject line length
> 5. **Test Infrastructure:** Proper use of `unit_test_suite_runner` framework
> 6. **Code Patterns:** No forbidden tokens, no unnecessary casts
>
> ### ❌ Must Fix (Errors)
>
> 1. Missing release notes update
I have looked prior to send the patches, in the past the additions to
the crypto lib algorithms enums were not captured in the release notes.
> 2. Missing API stability documentation
The documentation is consistent with all other entries
> 3. Insufficient commit message detail
Will add technical specifications numbers
>
> ### ⚠️ Should Fix (Warnings)
>
> 1. Inconsistent algorithm naming
> 2. Incomplete API documentation
> 3. Test helper error handling issues
> 4. Missing cleanup on error paths
> 5. Magic numbers without constants
> 6. Memory leak potential in tests
Will review and fix if needed.
>
> ### 💡 Consider (Info)
>
> 1. Reducing code repetition with macros
> 2. Improving test vector organization
> 3. Adding more descriptive error messages
> 4. Using constants for magic numbers
>
> ---
>
> ## RECOMMENDATION
>
> **Status:** CHANGES REQUESTED
>
> The patch implements the core functionality correctly and follows most DPDK conventions. However, it requires:
>
> 1. **Mandatory:** Add release notes entry
> 2. **Mandatory:** Expand commit message with context
> 3. **Strongly Recommended:** Fix memory leak potential in test helpers
> 4. **Recommended:** Add comprehensive API documentation
next prev parent reply other threads:[~2026-01-23 10:45 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 10:56 [PATCH 1/2] cryptodev: add support for 256-NxA4/5/6 algorithms Radu Nicolau
2026-01-07 10:56 ` [PATCH 2/2] test/crypto: add tests " Radu Nicolau
2026-01-19 8:12 ` [EXTERNAL] " Nithinsen Kaithakadan
2026-01-19 11:28 ` [PATCH v2 1/2] cryptodev: add support " Radu Nicolau
2026-01-19 11:28 ` [PATCH v2 2/2] test/crypto: add tests " Radu Nicolau
2026-01-19 17:05 ` Stephen Hemminger
2026-01-21 10:18 ` [PATCH v3 1/2] cryptodev: add support " Radu Nicolau
2026-01-21 10:18 ` [PATCH v3 2/2] test/crypto: add tests " Radu Nicolau
2026-01-21 15:15 ` [PATCH v4 1/2] cryptodev: add support " Radu Nicolau
2026-01-21 15:15 ` [PATCH v4 2/2] test/crypto: add tests " Radu Nicolau
2026-01-22 7:02 ` [EXTERNAL] " Nithinsen Kaithakadan
2026-01-22 10:25 ` [PATCH v5 1/2] cryptodev: add support " Radu Nicolau
2026-01-22 10:25 ` [PATCH v5 2/2] test/crypto: add tests " Radu Nicolau
2026-01-23 0:23 ` [PATCH v5 1/2] cryptodev: add support " Stephen Hemminger
2026-01-23 10:44 ` Radu Nicolau [this message]
2026-01-23 12:48 ` [PATCH v6 " Radu Nicolau
2026-01-23 12:48 ` [PATCH v6 2/2] test/crypto: add tests " Radu Nicolau
2026-01-29 4:29 ` [EXTERNAL] " Nithinsen Kaithakadan
2026-01-29 11:59 ` [PATCH v7 1/2] cryptodev: add support " Radu Nicolau
2026-01-29 11:59 ` [PATCH v7 2/2] test/crypto: add tests " Radu Nicolau
2026-01-30 11:12 ` [EXTERNAL] " Nithinsen Kaithakadan
2026-02-03 11:21 ` Radu Nicolau
2026-02-03 11:13 ` [PATCH v8 1/2] cryptodev: add support " Radu Nicolau
2026-02-03 11:13 ` [PATCH v8 2/2] test/crypto: add tests " Radu Nicolau
2026-02-03 14:00 ` [EXTERNAL] " Nithinsen Kaithakadan
2026-02-03 13:59 ` [EXTERNAL] [PATCH v8 1/2] cryptodev: add support " Nithinsen Kaithakadan
2026-02-06 19:48 ` Akhil Goyal
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=8cb11577-9401-4b76-8f56-e19144376159@intel.com \
--to=radu.nicolau@intel.com \
--cc=anoobj@marvell.com \
--cc=dev@dpdk.org \
--cc=fanzhang.oss@gmail.com \
--cc=gakhil@marvell.com \
--cc=kai.ji@intel.com \
--cc=nkaithakadan@marvell.com \
--cc=stephen@networkplumber.org \
/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