From patchwork Thu Feb 29 09:30:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 137462 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 97F7143C35; Thu, 29 Feb 2024 10:30:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 79A02410FD; Thu, 29 Feb 2024 10:30:22 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by mails.dpdk.org (Postfix) with ESMTP id D9FAC40ED3 for ; Thu, 29 Feb 2024 10:30:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709199019; x=1740735019; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=tq2wMcdUg4P6xp/FcDwAYUBXJmIejcIRAzyeQv2GD0o=; b=HN637O7NKqkppCkr/N6sMY7sVQX+p98NpppgnX6iG0xzP22AkFDy0brO 0Fv0+/+6vcUNmoYlJKp3zqTCZODpcdBEyxB0ZAPkwjhize2HGIl8Fz4Pq I1cpgfPPIas2yq/mD9IFJN1qzsJKiadAoDFSCmtpdWyGbhSuXLPaI/rBf RNlxkSVMhPK3CCppHeYC8cEv6aM30hysZPa2pNA/Gqww53l+xFSie6HFL no1cSmAN4nY+j2jrl0srDFg/0L5dc78FzNIckMlN1Asddk8tXmBpacAMb cFJ2HKGPQATowFxgSiNgrFVQAsYjLceiRxbVzX4mt9Yx5nioVojhUbW+y A==; X-IronPort-AV: E=McAfee;i="6600,9927,10998"; a="21199324" X-IronPort-AV: E=Sophos;i="6.06,192,1705392000"; d="scan'208";a="21199324" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Feb 2024 01:30:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,192,1705392000"; d="scan'208";a="12451405" Received: from silpixa00400308.ir.intel.com ([10.237.214.154]) by orviesa005.jf.intel.com with ESMTP; 29 Feb 2024 01:30:17 -0800 From: Arkadiusz Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, ciara.power@intel.com, Arkadiusz Kusztal Subject: [PATCH v3 3/3] common/qat: fix incorrectly placed legacy flag Date: Thu, 29 Feb 2024 09:30:07 +0000 Message-Id: <20240229093007.32298-3-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240229093007.32298-1-arkadiuszx.kusztal@intel.com> References: <20240223074813.4183-1-arkadiuszx.kusztal@intel.com> <20240229093007.32298-1-arkadiuszx.kusztal@intel.com> 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 This commit fixes a legacy flag, which was placed in a file that may not be included in a building process. Fixes: cffb726b7797 ("crypto/qat: enable insecure algorithms") Signed-off-by: Arkadiusz Kusztal --- drivers/common/qat/qat_device.c | 1 + drivers/crypto/qat/qat_sym.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c index e1cea4d9b2..fcae35c2b5 100644 --- a/drivers/common/qat/qat_device.c +++ b/drivers/common/qat/qat_device.c @@ -31,6 +31,7 @@ struct qat_service qat_service[QAT_MAX_SERVICES]; /* per-process array of device data */ struct qat_device_info qat_pci_devs[RTE_PMD_QAT_MAX_PCI_DEVICES]; static int qat_nb_pci_devices; +int qat_legacy_capa; /* * The set of PCI devices this driver supports diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c index 83254a03c1..6d333447c9 100644 --- a/drivers/crypto/qat/qat_sym.c +++ b/drivers/crypto/qat/qat_sym.c @@ -19,7 +19,6 @@ #include "qat_qp.h" uint8_t qat_sym_driver_id; -int qat_legacy_capa; #define SYM_ENQ_THRESHOLD_NAME "qat_sym_enq_threshold" #define SYM_CIPHER_CRC_ENABLE_NAME "qat_sym_cipher_crc_enable"