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 D9D96A059F; Fri, 10 Apr 2020 17:04:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3B2D1D127; Fri, 10 Apr 2020 17:04:36 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 24F081C2BC for ; Fri, 10 Apr 2020 17:04:34 +0200 (CEST) IronPort-SDR: DSiTfqClAKWOcVudxiKdt7hsqv5RG56IqqM7Kv2XgxwwIBNvW7lXkdD3A/rFtv6lO9qfxlii+C vRoKc4cXrYcA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Apr 2020 08:04:34 -0700 IronPort-SDR: M9fxPZADHvP77M2Gc/QCJeatdon6iElCWWMTSQ0MjMrWifPU2WrTUwcmLLwc9F+h8AK5p8pR1s Wg3W8BRuwXKQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,367,1580803200"; d="scan'208";a="297822300" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by FMSMGA003.fm.intel.com with ESMTP; 10 Apr 2020 08:04:33 -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 03AF4WKD000667; Fri, 10 Apr 2020 16:04:32 +0100 Received: from sivswdev08.ir.intel.com (localhost [127.0.0.1]) by sivswdev08.ir.intel.com with ESMTP id 03AF4WQn000551; Fri, 10 Apr 2020 16:04:32 +0100 Received: (from moloings@localhost) by sivswdev08.ir.intel.com with LOCAL id 03AF4V4Z000547; Fri, 10 Apr 2020 16:04:31 +0100 From: Mairtin o Loingsigh To: pablo.de.lara.guarch@intel.com Cc: dev@dpdk.org, Mairtin o Loingsigh Date: Fri, 10 Apr 2020 16:03:29 +0100 Message-Id: <1586531010-32279-1-git-send-email-mairtin.oloingsigh@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1586354671-25703-1-git-send-email-mairtin.oloingsigh@intel.com> References: <1586354671-25703-1-git-send-email-mairtin.oloingsigh@intel.com> Subject: [dpdk-dev] [PATCH v4 1/2] 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 --- v2: Added IPSec MB version check v3: Added doc update v4: Added missing patch --- 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.12.3