From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 18194429AC; Fri, 21 Apr 2023 12:13:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A77B7410FB; Fri, 21 Apr 2023 12:13:17 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id AB392410F3 for ; Fri, 21 Apr 2023 12:13:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682071995; x=1713607995; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sOHayWKypRJ14ybepRywOfvIP6P5ZAsJaEVbXqeQsC8=; b=cnCW4B5EKMMSN1JViBh5fNqr7Nx6NmjEYTw0LMY5xBmZluqO2bgxYs1v HVtqGF+T0va0/8ZO6P2XmA6puLv6JwkZ0HvqEir3P0huDKbUnI4+iH/EJ r9ugXw2o4gh0ZATB44Z8qheo+5pzM4TJcYuAnT+v9B2VCruluQqiUh8VF bQtjmZRgYxtzgAlFCy16agbe7q6AItjyL10y4jplctkdIlgQUWLE7UOtG 4QIFO0DAmbRAtdYfKghM0uxRgnzIqsvzyuku4DB8ks58+dpUTOf/km937 rlhwjfbfSRKHeAbaM6+FcCp8DsGa8SqLEmoFadHuBc3WIdStMtOkydgI3 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="348755757" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="348755757" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 03:13:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="756853730" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="756853730" Received: from silpixa00400883.ir.intel.com ([10.243.22.146]) by fmsmga008.fm.intel.com with ESMTP; 21 Apr 2023 03:13:13 -0700 From: Brian Dooley To: Kai Ji , Pablo de Lara Cc: dev@dpdk.org, gakhil@marvell.com, Brian Dooley Subject: [PATCH v1] crypto/ipsec_mb: add digest encrypted feature in AESNI_MB Date: Fri, 21 Apr 2023 10:13:10 +0000 Message-Id: <20230421101310.420593-1-brian.dooley@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 AESNI_MB PMD does not support Digest Encrypted. This patch adds partial support for this feature. Signed-off-by: Brian Dooley --- Some out-of-place tests are still failing. Only some in-place tests are passing. Working on adding support for this feature in v2. --- app/test/1.diff | 0 drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 app/test/1.diff diff --git a/app/test/1.diff b/app/test/1.diff new file mode 100644 index 0000000000..e69de29bb2 diff --git a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c index ac20d01937..fbb556af87 100644 --- a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c +++ b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c @@ -2335,7 +2335,8 @@ RTE_INIT(ipsec_mb_register_aesni_mb) RTE_CRYPTODEV_FF_IN_PLACE_SGL | RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT | RTE_CRYPTODEV_FF_OOP_LB_IN_SGL_OUT | - RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT; + RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT | + RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED; aesni_mb_data->internals_priv_size = 0; aesni_mb_data->ops = &aesni_mb_pmd_ops; -- 2.25.1