From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6B55EA0597; Wed, 8 Apr 2020 16:04:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 370D11BFEB; Wed, 8 Apr 2020 16:04:41 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 60FED1BF57 for ; Wed, 8 Apr 2020 16:04:39 +0200 (CEST) IronPort-SDR: /6QLmwvPDUVtROEWcLdNQNUInd623vlrNYChV3/aYwHPnITnmf5yW+7jL5/ouDWuPIqIk5FikH pFf8gC0Zi6+A== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2020 07:04:38 -0700 IronPort-SDR: YKdh/OOd5ocqMfjN9qTx1/HzulGteUiCZ+SzSL0+Q/BW+mAOpIaJzQvHPWfJr430wU2pJpjiej klzlQpGMhgGg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,358,1580803200"; d="scan'208";a="297242308" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 08 Apr 2020 07:04:36 -0700 Received: from sivswdev08.ir.intel.com (sivswdev08.ir.intel.com [10.237.217.47]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 038E4ZQk015493; Wed, 8 Apr 2020 15:04:35 +0100 Received: from sivswdev08.ir.intel.com (localhost [127.0.0.1]) by sivswdev08.ir.intel.com with ESMTP id 038E4Ynx026062; Wed, 8 Apr 2020 15:04:34 +0100 Received: (from moloings@localhost) by sivswdev08.ir.intel.com with LOCAL id 038E4YPO026046; Wed, 8 Apr 2020 15:04:34 +0100 From: Mairtin o Loingsigh To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, Mairtin o Loingsigh Date: Wed, 8 Apr 2020 15:04:31 +0100 Message-Id: <1586354671-25703-1-git-send-email-mairtin.oloingsigh@intel.com> X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH v3] crypto/aesni_mb: support DOCSIS AES-256 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch adds support for DOCSIS AES-256 when using AESNI-MB Signed-off-by: Mairtin o Loingsigh Acked-by: Pablo de Lara --- doc/guides/rel_notes/release_20_05.rst | 5 +++++ drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/doc/guides/rel_notes/release_20_05.rst b/doc/guides/rel_notes/release_20_05.rst index 6b1a7c58c..72d2f6c27 100644 --- a/doc/guides/rel_notes/release_20_05.rst +++ b/doc/guides/rel_notes/release_20_05.rst @@ -81,6 +81,11 @@ New Features by making use of the event device capabilities. The event mode currently supports only inline IPsec protocol offload. +* **Updated the AESNI MB PMD.** + + Updated the AESNI PMD with additional DOCSIS algorithm + + * Added support for AES-256 DOCSIS Removed Items ------------- diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c index 845661174..0d555ec29 100644 --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c @@ -319,8 +319,14 @@ static const struct rte_cryptodev_capabilities aesni_mb_pmd_capabilities[] = { }, .iv_size = { .min = 16, +#if IMB_VERSION_NUM >= IMB_VERSION(0, 53, 3) + .max = 32, + .increment = 16 +#else .max = 16, .increment = 0 +#endif + } }, } }, } -- 2.17.1