From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 520C7C61DB9 for ; Tue, 25 Aug 2026 15:16:27 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F29B40697; Tue, 25 Aug 2026 17:16:07 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mails.dpdk.org (Postfix) with ESMTP id 6BB12402D6 for ; Tue, 25 Aug 2026 17:16:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1787670962; x=1819206962; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=ODYhggnHcbBDdlLL8ZmiuyvCEIEn7bPs/1bqOMTSUYk=; b=gSwtFklYztCQ6PSM04zFzLRi6xSGnrVMeCIwOBCWdoTMnpNjcai6JOfE 81pUcDMO7YdX1w8uIRFPwnylmBJWvVmNqko/aqwzPL8DuPDkFK3cL1IZB yVYIKMaAfDCG1BSScwnZU5WDchfYbwu0krr0wKYMVE76cebE7x8NxfZqO u6sSjguLwTSaQY5hXmaalK5D113fk1xnvMZHLfiyzoyrZ/JNg7I+kdZMU lcf+UbJULQMz/4ZkzYAyWfZg3e5vZAR3q74CDr+3ohpD9OdkhNEGyMMJQ OyitOWi4PNc3PAau2DNiyNP32eiLvUD4GRJDaFvS50lYuf8+cQiMLAi9w g==; X-CSE-ConnectionGUID: 54eNMpU0SvW/iIWcl7c48g== X-CSE-MsgGUID: SjnjexIsR6CbKB87t/EJmA== X-IronPort-AV: E=McAfee;i="6800,10657,11885"; a="88270700" X-IronPort-AV: E=Sophos;i="6.25,242,1779174000"; d="scan'208";a="88270700" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2026 08:15:45 -0700 X-CSE-ConnectionGUID: vEGxX56jRECFZb0xTZ8kpA== X-CSE-MsgGUID: NyTjVDGZQaizrlTDKhUJjQ== X-ExtLoop1: 1 Received: from silpixa00401385.ir.intel.com ([10.20.224.226]) by fmviesa003.fm.intel.com with ESMTP; 25 Aug 2026 08:15:43 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson , Anatoly Burakov Subject: [PATCH v2 4/8] net/iavf: move editable files out of base folder Date: Tue, 25 Aug 2026 16:15:19 +0100 Message-ID: <20260825151533.535102-5-bruce.richardson@intel.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260825151533.535102-1-bruce.richardson@intel.com> References: <20260814153755.940302-1-bruce.richardson@intel.com> <20260825151533.535102-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 The osdep header and iavf_impl.c file contain the macros and other definitions needed to allow the base code to compile as part of DPDK. Although they are stored in the base code folder, but are an exception in that they can be modified by regular DPDK patches, and not just as part of a base code snapshot update. Therefore, we can simplify the rules around base code by moving these files into the main driver folder, leaving the base code C files all as uneditable except via snapshot update. Signed-off-by: Bruce Richardson Acked-by: Anatoly Burakov --- drivers/net/intel/iavf/base/README | 8 -------- drivers/net/intel/iavf/{base/iavf_impl.c => iavf_osdep.c} | 0 drivers/net/intel/iavf/{base => }/iavf_osdep.h | 2 ++ drivers/net/intel/iavf/meson.build | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) rename drivers/net/intel/iavf/{base/iavf_impl.c => iavf_osdep.c} (100%) rename drivers/net/intel/iavf/{base => }/iavf_osdep.h (98%) diff --git a/drivers/net/intel/iavf/base/README b/drivers/net/intel/iavf/base/README index 61bcf0ef0e..d6a1dfbc96 100644 --- a/drivers/net/intel/iavf/base/README +++ b/drivers/net/intel/iavf/base/README @@ -7,11 +7,3 @@ IntelĀ® IAVF driver This directory contains a snapshot of the iavf shared, or base, driver code. The snapshot was generated on 2024.09.17. - -Updating the driver -=================== - -NOTE: The source code in this directory should not be modified apart from the following files: - - iavf_osdep.h - iavf_impl.c diff --git a/drivers/net/intel/iavf/base/iavf_impl.c b/drivers/net/intel/iavf/iavf_osdep.c similarity index 100% rename from drivers/net/intel/iavf/base/iavf_impl.c rename to drivers/net/intel/iavf/iavf_osdep.c diff --git a/drivers/net/intel/iavf/base/iavf_osdep.h b/drivers/net/intel/iavf/iavf_osdep.h similarity index 98% rename from drivers/net/intel/iavf/base/iavf_osdep.h rename to drivers/net/intel/iavf/iavf_osdep.h index cb95b848b6..dc2145b8c2 100644 --- a/drivers/net/intel/iavf/base/iavf_osdep.h +++ b/drivers/net/intel/iavf/iavf_osdep.h @@ -5,6 +5,8 @@ #ifndef _IAVF_OSDEP_H_ #define _IAVF_OSDEP_H_ +/* File containing OS dependencies for base code */ + #include #include #include diff --git a/drivers/net/intel/iavf/meson.build b/drivers/net/intel/iavf/meson.build index 50630a88c8..9b071a3a4b 100644 --- a/drivers/net/intel/iavf/meson.build +++ b/drivers/net/intel/iavf/meson.build @@ -12,7 +12,6 @@ deps += ['security', 'cryptodev'] sources = files( 'base/iavf_adminq.c', 'base/iavf_common.c', - 'base/iavf_impl.c', 'iavf_base_symbols.c', 'iavf_ethdev.c', @@ -21,6 +20,7 @@ sources = files( 'iavf_generic_flow.c', 'iavf_fdir.c', 'iavf_hash.c', + 'iavf_osdep.c', 'iavf_tm.c', 'iavf_ipsec_crypto.c', 'iavf_fsub.c', -- 2.53.0