From patchwork Fri Mar 1 15:52:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 137681 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 D5EBD43C0C; Fri, 1 Mar 2024 16:53:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F9324355F; Fri, 1 Mar 2024 16:53:02 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.18]) by mails.dpdk.org (Postfix) with ESMTP id CCE5642DC0 for ; Fri, 1 Mar 2024 16:52:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709308380; x=1740844380; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=y63TFum/cyrFcrcEY7RtHefRpwt0+xGPp/bq/syarjg=; b=IGx1J7lJulY+040YQC4DT9rsjimwLi6ZFIB8+EleyZxUTFvnhP6QUgpq OMua8n2C9aSyWWwiT5v5/L8b93/JhzaEnuy4qvILaKqwG9UPrLR8DA1vD 03K/Wue72gIRgyXe5UDLC4M9MQmK7r7jnTILmyL+iHvaZ9IzWK6eKU8pC 41z0rqjQKNuVsa7biyp+YyltEtgow3WptcC5XY2oFWT0nfv7LY8gZCEbo yu5H8JNu8R3ByM0HSRNhPUd1v/zX13xhP8PaNF8peJQrA+MzDxVNbhZaG JMxqrXf5ihJk5VcTmBwnJzERqwofVY683xwx1T5EVEp0qp2sJufr7QqSe w==; X-IronPort-AV: E=McAfee;i="6600,9927,11000"; a="3715400" X-IronPort-AV: E=Sophos;i="6.06,196,1705392000"; d="scan'208";a="3715400" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa112.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2024 07:52:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,196,1705392000"; d="scan'208";a="8128208" Received: from silpixa00400308.ir.intel.com ([10.237.214.154]) by fmviesa007.fm.intel.com with ESMTP; 01 Mar 2024 07:52:58 -0800 From: Arkadiusz Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, ciara.power@intel.com, Arkadiusz Kusztal Subject: [PATCH v5 3/3] common/qat: fix incorrectly placed legacy flag Date: Fri, 1 Mar 2024 15:52:51 +0000 Message-Id: <20240301155251.5101-3-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240301155251.5101-1-arkadiuszx.kusztal@intel.com> References: <20240229191427.1267-1-arkadiuszx.kusztal@intel.com> <20240301155251.5101-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 Acked-by: Brian Dooley --- 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 a27252ea4d..500ca0f308 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 efca8f3ba1..6c7b1724ef 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"