From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 74C2B4404F; Wed, 12 Jun 2024 17:13:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CAF142E60; Wed, 12 Jun 2024 17:05:12 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id 201C0427A0 for ; Wed, 12 Jun 2024 17:05:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718204707; x=1749740707; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=L21j7B+fnCdQkLa92zNthjPpjzv3uC1ksmR3kJpAFKE=; b=Tp0KZkzV5OzQpYEva3IV2mwAeT55CZ3DuerPe2nWaqhgKCaT8pH+32UH 2axOd4XVv0KXiHihKWS1xBW9NOyYWYLn/QDm3BPBzS3JvntxBIkVcLKrK TcXGLzGyPzsOdU2YVMNVqn6mB6DezTa01ZQwdzhhgwRCTliOqhqGhpyKb n/FUgQhrHM4fI3hGSsjBZI3Exx7AlUEBfxgrBu3jShdmaHDT8VwrDWaX8 hn1F8YRH8WqmNCx2c+3KWgVpqlC4naZplqAGju1I2XOKn8mHVtHiELT2p h4IxNffVGQ22IhQN7LSki0b13NBekUtUmD+0M4t2zMNQ/DJM/8hUqDiw7 g==; X-CSE-ConnectionGUID: 813M4RqxRLefoAboTkqNWw== X-CSE-MsgGUID: 00vwPlQLSCSqUGe4JjRvLQ== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="32459556" X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="32459556" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 08:04:54 -0700 X-CSE-ConnectionGUID: xJNOOVzuT8yE/V0injxMRQ== X-CSE-MsgGUID: 9cTGk51jSV6qTO4ndryO7w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,233,1712646000"; d="scan'208";a="39925412" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa009.jf.intel.com with ESMTP; 12 Jun 2024 08:04:52 -0700 From: Anatoly Burakov To: dev@dpdk.org, Jochen Behrens Cc: Ian Stokes , bruce.richardson@intel.com, Fabio Pricoco Subject: [PATCH v2 059/148] net/ice/base: add fw log file Date: Wed, 12 Jun 2024 16:00:53 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: <20240430154014.1026-1-ian.stokes@intel.com> MIME-Version: 1.0 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 From: Ian Stokes Shared code has a fw_log.c file that is used to handle the firmware logging. For DPDK it's empty, but it is added to reduce delta between DPDK and shared code. Signed-off-by: Fabio Pricoco Signed-off-by: Ian Stokes --- drivers/net/ice/base/ice_fwlog.c | 5 +++++ .../{vmxnet3/base/vmware_pack_end.h => ice/base/ice_fwlog.h} | 2 +- drivers/net/ice/base/meson.build | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 drivers/net/ice/base/ice_fwlog.c copy drivers/net/{vmxnet3/base/vmware_pack_end.h => ice/base/ice_fwlog.h} (50%) diff --git a/drivers/net/ice/base/ice_fwlog.c b/drivers/net/ice/base/ice_fwlog.c new file mode 100644 index 0000000000..a285ff3c66 --- /dev/null +++ b/drivers/net/ice/base/ice_fwlog.c @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: BSD-3-Clause + * Copyright(c) 2001-2023 Intel Corporation + */ + +#include "ice_osdep.h" diff --git a/drivers/net/vmxnet3/base/vmware_pack_end.h b/drivers/net/ice/base/ice_fwlog.h similarity index 50% copy from drivers/net/vmxnet3/base/vmware_pack_end.h copy to drivers/net/ice/base/ice_fwlog.h index df22590f82..220da416ec 100644 --- a/drivers/net/vmxnet3/base/vmware_pack_end.h +++ b/drivers/net/ice/base/ice_fwlog.h @@ -1,3 +1,3 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2010-2014 Intel Corporation + * Copyright(c) 2001-2023 Intel Corporation */ diff --git a/drivers/net/ice/base/meson.build b/drivers/net/ice/base/meson.build index 41ed2d96c6..5db5675856 100644 --- a/drivers/net/ice/base/meson.build +++ b/drivers/net/ice/base/meson.build @@ -27,6 +27,7 @@ sources = [ 'ice_xlt_kb.c', 'ice_parser_rt.c', 'ice_ddp.c', + 'ice_fwlog.c', ] error_cflags = [ -- 2.43.0