From patchwork Wed Jul 17 15:49:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Kavanagh X-Patchwork-Id: 142506 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4455945645; Thu, 18 Jul 2024 15:50:44 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C21242F01; Thu, 18 Jul 2024 15:50:39 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id 81D2840272; Wed, 17 Jul 2024 17:49:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721231370; x=1752767370; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qjTdsoAaRtjIUQdZZUDcvwUy5rtqy3FRp/oKaSQ5w1Q=; b=mD1aTbDY/O+BoZjEe+P4baT9G36b0GfSm0KZAc5jVPyNsA4FXkVOLBll /b4LK+POakcGJkh3whWDEtmZvjnOadq9Maw3Q1Pl63csbkxfAhtWZw1Yf KNyADp8ED1iTcHiojp11oiDKaP1S1FAnt65A1IAQMbTAtG1iHCQqOicXZ DY1ValYAlkSlF1LRy7reG8xz0Q5vf3pyVS5XxJ5Eu+VLa+jwD3PJKkRhN mp41KjLLO+sFueykT2yhIJjjxFOICy/GDtua+/tVFQTH2qrtIpElpTQJ4 UxpZ6nCspI3jH8hCE9FJuZPE2TCc+SHIw+9kBollOWQerQwW+Lc62DjA6 g==; X-CSE-ConnectionGUID: UMOKi5UOS0OXLB7lA4frnw== X-CSE-MsgGUID: PJ+3U9j1Qy61g8uWgGZsog== X-IronPort-AV: E=McAfee;i="6700,10204,11136"; a="44167384" X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="44167384" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2024 08:49:29 -0700 X-CSE-ConnectionGUID: bjJd2HlfRFm6Y5PZm64tKQ== X-CSE-MsgGUID: NLwn0xHMT16NxlBGEYye1Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="50322834" Received: from silpixa00400630.ir.intel.com ([10.237.213.150]) by orviesa010.jf.intel.com with ESMTP; 17 Jul 2024 08:49:26 -0700 From: Joel Kavanagh To: Thomas Monjalon , Kai Ji , Pablo de Lara , Ciara Power , Fan Zhang Cc: dev@dpdk.org, stable@dpdk.org, Joel Kavanagh , Brian Dooley Subject: [PATCH v2 1/4] crypto/aesni_mb: fix typo in error message Date: Wed, 17 Jul 2024 15:49:05 +0000 Message-Id: <20240717154908.2281023-2-joel.kavanagh@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240717154908.2281023-1-joel.kavanagh@intel.com> References: <20240711131457.959498-1-joel.kavanagh@intel.com> <20240717154908.2281023-1-joel.kavanagh@intel.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 18 Jul 2024 15:50:37 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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. Fixes: f9dfb59edbcc ("crypto/ipsec_mb: support remaining SGL") Cc: stable@dpdk.org Signed-off-by: Joel Kavanagh Acked-by: Brian Dooley --- 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(-) diff --git a/.mailmap b/.mailmap index 9d0e1380cf..6822c54376 100644 --- a/.mailmap +++ b/.mailmap @@ -678,6 +678,7 @@ Jin Yu Jiri Slaby Job Abraham Jochen Behrens +Joel Kavanagh Joey Xing Johan Faltstrom Johan Källström diff --git a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c index d74946c180..ef4228bd38 100644 --- a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c +++ b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c @@ -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 From patchwork Wed Jul 17 15:49:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Kavanagh X-Patchwork-Id: 142507 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3BBE545645; Thu, 18 Jul 2024 15:50:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 331B442F07; Thu, 18 Jul 2024 15:50:41 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id CC9D74064A; Wed, 17 Jul 2024 17:49:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721231375; x=1752767375; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Hb6AQeAnr2X1DW1LhR0uGWQlF8DehCUKitlOMTpyvrM=; b=eueq4kkl+DXadWPN44ivFEu1wnw9mfppUX4eL++DIIdbvaCAAjy7U7R+ uPFmrA+4Oe8it8PsK4H+6KpYxmJtu710dGnVGQWTjMCoTTWMUpCAw1nde F+1I8KR+spKyhmcPDnou68/Om75obLPzUp9V4srjMqZnGirKfANFAJjHu oSIWl32vh/tKMdEueeoCXTHiW/Ev3n6Rms9p1hybrZFpQBgNqHQ9//2F/ EZGGxUBtrLGCCAy2xqH1V22EKjXzSa/mqj1pR0rTh6Q6txLSY2Ff1+ZMZ YN3wjniCsWfhQMuSTIOj+slTPHsAyjW/MW0WIZFFtMrpRlGUHG/vGOXY5 A==; X-CSE-ConnectionGUID: tPaIPEdWRwmj8LJZkNBFRA== X-CSE-MsgGUID: is7Un0BxT2KnPk/k9ejSgw== X-IronPort-AV: E=McAfee;i="6700,10204,11136"; a="44167398" X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="44167398" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2024 08:49:35 -0700 X-CSE-ConnectionGUID: ICnFFxjSR8GwXmCYeMDAhg== X-CSE-MsgGUID: T0eyvr1PQz6GOhmW8fwf+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="50322886" Received: from silpixa00400630.ir.intel.com ([10.237.213.150]) by orviesa010.jf.intel.com with ESMTP; 17 Jul 2024 08:49:33 -0700 From: Joel Kavanagh To: Akhil Goyal , Fan Zhang , Fiona Trahe , Arkadiusz Kusztal , Nipun Gupta Cc: dev@dpdk.org, stable@dpdk.org, Joel Kavanagh Subject: [PATCH v2 2/4] app/test: fix typo in error message allocation Date: Wed, 17 Jul 2024 15:49:06 +0000 Message-Id: <20240717154908.2281023-3-joel.kavanagh@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240717154908.2281023-1-joel.kavanagh@intel.com> References: <20240711131457.959498-1-joel.kavanagh@intel.com> <20240717154908.2281023-1-joel.kavanagh@intel.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 18 Jul 2024 15:50:37 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This 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. Fixes: f3dbf94be60c ("app/test: check SGL on QAT") Fixes: 43220096d66a ("test/crypto: add PDCP cases for scatter gather") Cc: stable@dpdk.org Signed-off-by: Joel Kavanagh --- app/test/test_cryptodev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 6042db36a4..c846b26ed1 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -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); From patchwork Wed Jul 17 15:49:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Kavanagh X-Patchwork-Id: 142508 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 915A845645; Thu, 18 Jul 2024 15:50:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8660D42F0B; Thu, 18 Jul 2024 15:50:42 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id D13004064A; Wed, 17 Jul 2024 17:49:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721231378; x=1752767378; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=NT7BY7Qo7Bcw/blwF6LKchtn9ak3vY3HZaBo7ngR3t4=; b=fCRg7sWpq+6GjbXfSbQTGpwcpUeeIYrS0M6rKWKdEwHFXFeFB2zuJ6QM DVRQH1WhcYA0uyo9bIRQAdpiYKLY+7gX9M8CJ2N5xhnFZ7bjHbRFc5FZI 655jBhHs5/rmcWp4LVY4NIsMG2NNDc9+dr7Cq4uU67KQv8Tc6/cnHX+VJ S/sTQJp4rMwhifcmU5k+iNpqMBtCOCQAI5CmaRh+1pc4XA51r1sNFJElp BlQhoZzgYeEnO2bcc+shoaVbYO294k6vJy2mnoaEVnZf6ylA9UovG23Ii c3CWj/Pq2Aes4KyDAoMsiWvGV8pHjJGu0zbqDSdk3W2aaH48hSOivdLnM w==; X-CSE-ConnectionGUID: +YZTEyYjRZKktqnof2EZUA== X-CSE-MsgGUID: AyU22znqTxuglLjxMfn4mQ== X-IronPort-AV: E=McAfee;i="6700,10204,11136"; a="44167416" X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="44167416" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2024 08:49:38 -0700 X-CSE-ConnectionGUID: LYp0jTHQSOaRtxi0aHEOWQ== X-CSE-MsgGUID: DgLIV30/ThGkUjxN9NMLtg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="50322915" Received: from silpixa00400630.ir.intel.com ([10.237.213.150]) by orviesa010.jf.intel.com with ESMTP; 17 Jul 2024 08:49:36 -0700 From: Joel Kavanagh To: Kai Ji , Fan Zhang Cc: dev@dpdk.org, stable@dpdk.org, Joel Kavanagh Subject: [PATCH v2 3/4] crypto/qat: fix typo in log message Date: Wed, 17 Jul 2024 15:49:07 +0000 Message-Id: <20240717154908.2281023-4-joel.kavanagh@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240717154908.2281023-1-joel.kavanagh@intel.com> References: <20240711131457.959498-1-joel.kavanagh@intel.com> <20240717154908.2281023-1-joel.kavanagh@intel.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 18 Jul 2024 15:50:37 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This 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. Fixes: fb3b9f492205 ("crypto/qat: rework burst data path") Cc: stable@dpdk.org Signed-off-by: Joel Kavanagh --- drivers/crypto/qat/qat_sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c index b41d1b1def..d979ae6489 100644 --- a/drivers/crypto/qat/qat_sym.c +++ b/drivers/crypto/qat/qat_sym.c @@ -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); } From patchwork Wed Jul 17 15:49:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Kavanagh X-Patchwork-Id: 142509 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 329C945645; Thu, 18 Jul 2024 15:51:07 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32CC542F0F; Thu, 18 Jul 2024 15:50:44 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by mails.dpdk.org (Postfix) with ESMTP id 5DBDA40272; Wed, 17 Jul 2024 17:49:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721231382; x=1752767382; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=f+RKPv3OrhwEqwD+5ijUtue8PJM5OduQhStXF5Viuds=; b=DcQR5a7XxYD7rbcv0hV9tw31snLXxPb9BaXt7Zs+Nm/B/+Ges0ektFOr /hBQiaRWjwqG9du23TPlJyMw0gEBXPamQNqSdixYzts3wNmnJXng5ZDMw Y9Llqa46VFyuMmHIoXNZBBu5Re8bCZkVQzA3OfDQLOivQHDmI1KBDqVSe fZt7xtJQfZHWE9XGP0G/WW66xaHKBJbDFyjzo3dOod3D1n4JmL/XJC0P2 +zHsyEILIloJhaLuFy6jhWHEfcxyf2IkJAjtgLy3CjonFtqQXchHYfrep Y1I2Za2nUNuL/O/Dd8RdMNk3a/CtNghRSAht3FZBmNKpjU5PdjViZKHAF g==; X-CSE-ConnectionGUID: zw2qiNhvQumvR9IQYHwt6A== X-CSE-MsgGUID: fsy3/mDmTkmTmMCV/fb3zw== X-IronPort-AV: E=McAfee;i="6700,10204,11136"; a="44167431" X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="44167431" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2024 08:49:41 -0700 X-CSE-ConnectionGUID: z313hnkORniiS5zxqRkyZw== X-CSE-MsgGUID: hItn6KLMSCuDIRc3WJxm2A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,215,1716274800"; d="scan'208";a="50322938" Received: from silpixa00400630.ir.intel.com ([10.237.213.150]) by orviesa010.jf.intel.com with ESMTP; 17 Jul 2024 08:49:39 -0700 From: Joel Kavanagh To: Herakliusz Lipiec , Marko Kovacevic Cc: dev@dpdk.org, stable@dpdk.org, Joel Kavanagh Subject: [PATCH v2 4/4] doc: fix typo in l2fwd-crypto guide Date: Wed, 17 Jul 2024 15:49:08 +0000 Message-Id: <20240717154908.2281023-5-joel.kavanagh@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240717154908.2281023-1-joel.kavanagh@intel.com> References: <20240711131457.959498-1-joel.kavanagh@intel.com> <20240717154908.2281023-1-joel.kavanagh@intel.com> MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 18 Jul 2024 15:50:37 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch fixes a typo in the l2fwd-crypto documentation where the l2fwd-crypt was changed to l2fwd-crypto. Fixes: 7cacb0565539 ("doc: add generic build instructions for sample apps") Cc: stable@dpdk.org Signed-off-by: Joel Kavanagh --- doc/guides/sample_app_ug/l2_forward_crypto.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/sample_app_ug/l2_forward_crypto.rst b/doc/guides/sample_app_ug/l2_forward_crypto.rst index ce49eab96f..7ff304d05c 100644 --- a/doc/guides/sample_app_ug/l2_forward_crypto.rst +++ b/doc/guides/sample_app_ug/l2_forward_crypto.rst @@ -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 -----------------------