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 2B379429AD; Fri, 21 Apr 2023 15:12:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0792D42D33; Fri, 21 Apr 2023 15:12:38 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 668A44114B for ; Fri, 21 Apr 2023 15:12: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=1682082754; x=1713618754; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5ITM7j6HFfzyx4TNh8l2VJIUh7qbIXRVU5oto1UULM0=; b=TTcLPVnbkP/UsjjK2il1RYKFkqlBDXNXiGKpky6crNbU6OeKrk6OSD9T pITfLoN+U6g1G2H2RdiUfur3zAjKe2eimPsJ8z9hcB2x/YlMkh7gDZT91 4i5tSgWqB+m+UqTrMizq/Syjz7s4N+cKwB8Tjnx3fG6XxI/EJlD3A6/IY XMiLDSha1n/9KgW40MrDqa8t3uG/UIFKvI/xO05tg/j43lOfZTotJDnNg WgoTqBYfOQPPAmC6c3UsKYx50uc9rOVScCCXvnun++Fv/kVCwjEOxYWHb VUxiwF1jPbHchd+1jQ8MLRmEEKluhGrUf0VqKQI8qMh5j4hjvoUVOoytL g==; X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="408927710" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="408927710" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2023 06:12:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="724817362" X-IronPort-AV: E=Sophos;i="5.99,214,1677571200"; d="scan'208";a="724817362" Received: from silpixa00400355.ir.intel.com (HELO silpixa00400355.ger.corp.intel.com) ([10.237.222.80]) by orsmga001.jf.intel.com with ESMTP; 21 Apr 2023 06:12:33 -0700 From: Ciara Power To: dev@dpdk.org Cc: kai.ji@intel.com, Pablo de Lara Subject: [PATCH 4/8] crypto/ipsec_mb: remove unneeded fields in crypto session Date: Fri, 21 Apr 2023 13:12:16 +0000 Message-Id: <20230421131221.1732314-5-ciara.power@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230421131221.1732314-1-ciara.power@intel.com> References: <20230421131221.1732314-1-ciara.power@intel.com> 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 From: Pablo de Lara Cipher direction, cipher mode and hash algorithm are duplicated in crypto session. Signed-off-by: Pablo de Lara --- drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h b/drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h index e17b53e4fe..3cf44f8bc4 100644 --- a/drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h +++ b/drivers/crypto/ipsec_mb/pmd_aesni_mb_priv.h @@ -852,9 +852,6 @@ get_digest_byte_length(IMB_HASH_ALG algo) /** AES-NI multi-buffer private session structure */ struct aesni_mb_session { - IMB_CIPHER_MODE cipher_mode; - IMB_CIPHER_DIRECTION cipher_direction; - IMB_HASH_ALG hash_alg; IMB_CHAIN_ORDER chain_order; /* common job fields */ struct { -- 2.25.1