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 6A6FD42B24; Tue, 16 May 2023 17:24:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 80B4042D44; Tue, 16 May 2023 17:24:36 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id A8ECC40689 for ; Tue, 16 May 2023 17:24: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=1684250674; x=1715786674; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5ITM7j6HFfzyx4TNh8l2VJIUh7qbIXRVU5oto1UULM0=; b=PZvE8l8RkNXDjl+umQzrPY+aHZpeCx6XtlqQoarjIiBRfjMrfAx3JrG5 Jzd2azXsmIn+9gHxlVmAnwBsFoh8OyyJ7n2Rrt0wNvnBvAjqXKcub9SHg x4qtYksP35PbIu0A+INE5gSsxvkM5SAjOZlImluKXTn0bVcHmzKtmqnrc 355ELzX8qj6gW/ODPHeei8wNAri0lM8ks8U4RIT7Kq2qNf/JG/OR+efoZ B4/q58C7+k40fkqvHaGioUS/RLGdy7jNJiv00VuhMi70gjRvCT5vYMTCr wuSFVB0gn2vFR72Jipjn7+sSAag+zPFy/VVmoXmMrrN/j9rSKr0f+AOAi Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10712"; a="353789105" X-IronPort-AV: E=Sophos;i="5.99,278,1677571200"; d="scan'208";a="353789105" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 May 2023 08:24:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10712"; a="695500680" X-IronPort-AV: E=Sophos;i="5.99,278,1677571200"; d="scan'208";a="695500680" Received: from silpixa00400355.ir.intel.com (HELO silpixa00400355.ger.corp.intel.com) ([10.237.222.80]) by orsmga007.jf.intel.com with ESMTP; 16 May 2023 08:24:30 -0700 From: Ciara Power To: dev@dpdk.org Cc: kai.ji@intel.com, gakhil@marvell.com, Pablo de Lara Subject: [PATCH v2 4/8] crypto/ipsec_mb: remove unneeded fields in crypto session Date: Tue, 16 May 2023 15:24:18 +0000 Message-Id: <20230516152422.606617-5-ciara.power@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230516152422.606617-1-ciara.power@intel.com> References: <20230421131221.1732314-1-ciara.power@intel.com> <20230516152422.606617-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