From patchwork Thu Jun 23 13:49:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bruce Richardson X-Patchwork-Id: 113344 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 8028BA0093; Thu, 23 Jun 2022 15:49:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2322640146; Thu, 23 Jun 2022 15:49:41 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 118AF40042 for ; Thu, 23 Jun 2022 15:49:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655992179; x=1687528179; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=+RRYAlwGI+GULf4ZgR75mfndzMow0412URjKY1Dm4vA=; b=GjESmLiJOgzPDv5hQ4jDM4Cetju4KR2RSFuB3u8XzoG1hMKGlOnm0laO wVmxgkLbLhKLFkCnnnJ1enAZmyEQQMDjrj2j1y/1ckxKa7qjhg//Xpwkm R1pPZo0RS3l+B1USlBNBiZ7JU0YbPpznzWx8rq7XYBkXI5G0zX/fAtKLB SI3V/QdqTyzCC0iKPMVCwtUW8kl2/AhYyUG/jGYRUf1Xn4weWc0ugdzFF HXGG/GUjSxfKTm/9pxFIDBAbeISGjNTUYVFaFNV+914vmEvEZNULRWIcX l4FYLzD2WC+oaJl5s/PvrB5O41l3RFjXwYHJ6ZFOoqb38/LOEnJNmkymD w==; X-IronPort-AV: E=McAfee;i="6400,9594,10386"; a="367043228" X-IronPort-AV: E=Sophos;i="5.92,216,1650956400"; d="scan'208";a="367043228" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2022 06:49:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,216,1650956400"; d="scan'208";a="678065734" Received: from silpixa00401385.ir.intel.com (HELO silpixa00401385.ger.corp.intel.com.) ([10.237.223.125]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jun 2022 06:49:37 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH 0/3] fix misc dma driver build errors Date: Thu, 23 Jun 2022 14:49:30 +0100 Message-Id: <20220623134933.469240-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 The use of function attributes to enable AVX2 on idxd builds is not supported by older compilers, so we need additional checks in the dma/idxd driver to disable that in cases where it is not buildable. This fix revealed further issues with the older rawdev driver, which only gets build when the dma driver is disabled. Bruce Richardson (3): raw/ioat: fix build error for missing rte_errno raw/ioat: fix build when ioat dmadev enabled dma/idxd: fix non-AVX builds with older compilers drivers/dma/idxd/meson.build | 11 +++++++++++ drivers/raw/ioat/ioat_common.c | 2 ++ drivers/raw/ioat/ioat_private.h | 4 ++-- drivers/raw/ioat/ioat_rawdev.c | 2 -- drivers/raw/ioat/rte_idxd_rawdev_fns.h | 1 + 5 files changed, 16 insertions(+), 4 deletions(-) --- 2.34.1