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 41898A04B5; Wed, 30 Sep 2020 19:35:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 79DD41D576; Wed, 30 Sep 2020 19:34:31 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 0E5F21D561 for ; Wed, 30 Sep 2020 19:34:26 +0200 (CEST) IronPort-SDR: UZSyyBvXhDdf7/cStEE//hZRrf/1iV1fiRuaeALn6HjmQvJA1TYfm0LPwRLX5E0j9keMca/Tyd oAi30MUzbRew== X-IronPort-AV: E=McAfee;i="6000,8403,9760"; a="159886524" X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="159886524" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Sep 2020 10:34:26 -0700 IronPort-SDR: BzcjV8FQudgVIJjp615gyKdacC6drCDmgJTaqBufkRtyxGhx2kMN2YCb/wyNhexkSufXENdVKQ MUtL+Vu4NFQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,322,1596524400"; d="scan'208";a="325109794" Received: from unknown (HELO akusztax-MOBL1.ger.corp.intel.com) ([10.104.113.124]) by orsmga002.jf.intel.com with ESMTP; 30 Sep 2020 10:34:24 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: akhil.goyal@nxp.com, fiona.trahe@intel.com, ruifeng.wang@arm.com, michaelsh@marvell.com, Arek Kusztal Date: Wed, 30 Sep 2020 19:32:23 +0200 Message-Id: <20200930173226.770-3-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20200930173226.770-1-arkadiuszx.kusztal@intel.com> References: <20200930173226.770-1-arkadiuszx.kusztal@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 2/5] crypto/qat: remove asym list end references 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 removes LIST_END enumerators references from Intel QuickAssist Technology asymmetric crypto PMD. Signed-off-by: Arek Kusztal --- drivers/crypto/qat/qat_asym.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/crypto/qat/qat_asym.c b/drivers/crypto/qat/qat_asym.c index 85973812a..9157151d9 100644 --- a/drivers/crypto/qat/qat_asym.c +++ b/drivers/crypto/qat/qat_asym.c @@ -742,11 +742,6 @@ qat_asym_session_configure(struct rte_cryptodev *dev, err = -EINVAL; goto error; } - } else if (xform->xform_type >= RTE_CRYPTO_ASYM_XFORM_TYPE_LIST_END - || xform->xform_type <= RTE_CRYPTO_ASYM_XFORM_NONE) { - QAT_LOG(ERR, "Invalid asymmetric crypto xform"); - err = -EINVAL; - goto error; } else { QAT_LOG(ERR, "Asymmetric crypto xform not implemented"); err = -EINVAL; -- 2.17.1