crypto/aesni_mb: fix typo in error message
PATCH 1/1 crypto/aesni_mb: fix typo in error message
This patch fixes a typo in the log message for error allocation. The typo incorrectly spelled 'allocating' as 'allocationg' in the log message for error allocation.
Additionally, this commit updates the .mailmap file to ensure proper attribution and mapping of contributor email addresses.
--- .mailmap | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
.mailmap +1 -0
@@ -681,6 +681,7 @@ Jin Yu <[email protected]> Jiri Slaby <[email protected]> Job Abraham <[email protected]> Jochen Behrens <[email protected]> <[email protected]> +Joel Kavanagh <[email protected]> Joey Xing <[email protected]> Johan Faltstrom <[email protected]> Johan Källström <[email protected]>
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +1 -1
@@ -1534,7 +1534,7 @@ aesni_mb_digest_appended_in_src(struct rte_crypto_op *op, IMB_JOB *job,* * @return * - 0 on success, the IMB_JOB will be filled -* - -1 if invalid session or errors allocationg SGL linear buffer, +* - -1 if invalid session or errors allocating SGL linear buffer, * IMB_JOB will not be filled */ static inline int
Signature · 1 line
2.34.1
Hi Joel,
Quoted 51 lines
-----Original Message-----
From: Joel Kavanagh <[email protected]>
Sent: Thursday, July 11, 2024 2:15 PM
To: Thomas Monjalon <[email protected]>; Ji, Kai <[email protected]>; De Lara Guarch, Pablo <[email protected]>; Fan Zhang <[email protected]>; Ciara Power <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Kavanagh, Joel <[email protected]>
Subject: [PATCH v1]crypto/aesni_mb: fix typo in error messageThis patch fixes a typo in the log message for error allocation.
The typo incorrectly spelled 'allocating' as 'allocationg' in the log message for error allocation.Additionally, this commit updates the .mailmap file to ensure proper attribution and mapping of contributor email addresses.
Fixes f9dfb59 ("crypto/ipsec_mb: support remaining SGL")Signed-off-by Joel Kavanagh <[email protected]>--- .mailmap | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-).mailmap +0
-0@@ -681,6 +681,7 @@ Jin Yu <[email protected]> Jiri Slaby <[email protected]>Job Abraham <[email protected]> Jochen Behrens <[email protected]> <[email protected]> +Joel Kavanagh <[email protected]>
Joey Xing <[email protected]>
Johan Faltstrom <[email protected]> Johan Källström
<[email protected]> diff --gita/drivers/crypto/ipsec_mb/pmd_aesni_mb.cb/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
indexd74946c180..ef4228bd38100644drivers/crypto/ipsec_mb/pmd_aesni_mb.c +1
-1@@ -1534,7 +1534,7 @@ aesni_mb_digest_appended_in_src(structrte_crypto_op *op, IMB_JOB *job, * * @return * - 0 on success, the IMB_JOB will be filled -* - -1 if invalid session or errors allocationg SGL linear buffer, +* - -1 if invalid session or errors allocating SGL linear buffer, * IMB_JOB will not be filled */
Quoted 3 lines
static inline int
--
2.34.1
v2 cover Fix spelling mistakes
In reply to Joel KavanaghFix up crypto spelling mistakes.
v2: Added more typo fixes to patchset
Joel Kavanagh (4):
crypto/aesni_mb: fix typo in error message
app/test: fix typo in error message allocation
crypto/qat: fix typo in log message
doc: fix typo in l2fwd-crypto guide
.mailmap | 1 + app/test/test_cryptodev.c | 6 +++--- doc/guides/sample_app_ug/l2_forward_crypto.rst | 2 +- drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 2 +- drivers/crypto/qat/qat_sym.c | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-)
Signature · 1 line
2.34.1
PATCH v2 1/4 crypto/aesni_mb: fix typo in error message
This patch fixes a typo in the log message for error allocation. The typo incorrectly spelled 'allocating' as 'allocationg' in the log message for error allocation.
---
v2: Added more typo fixes to patchset
--- .mailmap | 1 + drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
.mailmap +1 -0
@@ -678,6 +678,7 @@ Jin Yu <[email protected]> Jiri Slaby <[email protected]> Job Abraham <[email protected]> Jochen Behrens <[email protected]> <[email protected]> +Joel Kavanagh <[email protected]> Joey Xing <[email protected]> Johan Faltstrom <[email protected]> Johan Källström <[email protected]>
drivers/crypto/ipsec_mb/pmd_aesni_mb.c +1 -1
@@ -1534,7 +1534,7 @@ aesni_mb_digest_appended_in_src(struct rte_crypto_op *op, IMB_JOB *job,* * @return * - 0 on success, the IMB_JOB will be filled -* - -1 if invalid session or errors allocationg SGL linear buffer, +* - -1 if invalid session or errors allocating SGL linear buffer, * IMB_JOB will not be filled */ static inline int
Signature · 1 line
2.34.1
Quoted 11 lines
Subject: [EXTERNAL] [PATCH v2 1/4]
crypto/aesni_mb: fix typo in error messageThis patch fixes a typo in the log message for error allocation. The typo incorrectly spelled 'allocating' as 'allocationg' in the log message for error allocation.
Fixes f9dfb59edbcc ("crypto/ipsec_mb: support remaining SGL")Signed-off-by Joel Kavanagh <[email protected]>Acked-by Brian Dooley <[email protected]>
Series Acked-by: Akhil Goyal <[email protected]>
Applied to dpdk-next-crypto
Thanks for the fixes.
PATCH v2 2/4 app/test: fix typo in error message allocation
In reply to Joel KavanaghThis patch fixes a typo in the test_cryptodev.c file where "out-op" was incorrectly used instead of "out-of-place" on three separate occassions.
--- app/test/test_cryptodev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
app/test/test_cryptodev.c +3 -3
@@ -9428,7 +9428,7 @@ static int test_pdcp_proto(int i, int oop, enum rte_crypto_cipher_operation opc,/* Out of place support */ if (oop) {/* -* For out-op-place we need to alloc another mbuf +* For out-of-place we need to alloc another mbuf */ ut_params->obuf =rte_pktmbuf_alloc (ts_params->mbuf_pool);rte_pktmbuf_append (ut_params->obuf, output_vec_len);
@@ -9637,7 +9637,7 @@ test_pdcp_proto_SGL(int i, int oop,/* Out of place support */ if (oop) {/* -* For out-op-place we need to alloc another mbuf +* For out-of-place we need to alloc another mbuf */ ut_params->obuf =rte_pktmbuf_alloc (ts_params->mbuf_pool);rte_pktmbuf_append (ut_params->obuf, frag_size_oop);
@@ -16831,7 +16831,7 @@ test_authenticated_encryption_SGL(const struct aead_test_data *tdata, }/* -* For out-op-place we need to alloc another mbuf +* For out-of-place we need to alloc another mbuf */ if (oop) { ut_params->obuf =rte_pktmbuf_alloc (ts_params->mbuf_pool);
Signature · 1 line
2.34.1
PATCH v2 3/4 crypto/qat: fix typo in log message
In reply to Joel KavanaghThis patch fixes a typo in the log message for rte_security support. The typo incorrectly spelled 'enabled' as 'ensabled' in the log message indicating that rte_security support is enabled.
--- drivers/crypto/qat/qat_sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/qat/qat_sym.c +1 -1
@@ -291,7 +291,7 @@ qat_sym_dev_create(struct qat_pci_device *qat_pci_dev) } cryptodev->feature_flags |=RTE_CRYPTODEV_FF_SECURITY ; -QAT_LOG (INFO ,"Device %s rte_security support ensabled" , name); +QAT_LOG (INFO ,"Device %s rte_security support enabled" , name); }else {QAT_LOG (INFO ,"Device %s rte_security support disabled" , name); }
Signature · 1 line
2.34.1
PATCH v2 4/4 doc: fix typo in l2fwd-crypto guide
In reply to Joel KavanaghThis patch fixes a typo in the l2fwd-crypto documentation where the l2fwd-crypt was changed to l2fwd-crypto.
--- doc/guides/sample_app_ug/l2_forward_crypto.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/guides/sample_app_ug/l2_forward_crypto.rst +1 -1
@@ -30,7 +30,7 @@ Compiling the Application To compile the sample application see :doc:`compiling`. -The application is located in the ``l2fwd-crypt`` sub-directory. +The application is located in the ``l2fwd-crypto`` sub-directory. Running the Application -----------------------
Signature · 1 line
2.34.1