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 17CF74410E; Thu, 30 May 2024 13:16:27 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87EB3427D9; Thu, 30 May 2024 13:15:02 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 7692F4113C for ; Thu, 30 May 2024 13:14:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1717067694; x=1748603694; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+JDnTANmb7BSi2+mcMKT2IA1Nz24R+orURtmZ7wPPo0=; b=MkflOoE8PsjWeyOJbqbdZL0Yfn2DLjPPR8ND/f6uKoTR+ExwfBgIWY+E +WsLDgynFBuALhRq63WG8V2GTM/nnQuVke4ZuBYIeF5zCNrXABmzVJ/9q QewOZPqLpcfQFVJztKFePREb25oeVJYuKwOHgyyQnNqzZGfq53FS5WWcz IjyQ6FAez5OaB3dEgRnPL8CCR9d356fRMZmWDUdBvOeEhBQ1am8Pz1K6Y qOVI+mjjfbYD9eiQ7RiqLfWazD48aaJjjJVxdN1cWajAS0k/dgt8LhcTN 4E/OK62KYJb24K5IzZKWYq/f1/rKTntFTF+YXoUdixG8h7ZdqaZcoYBPT w==; X-CSE-ConnectionGUID: uVTk7rWjQqy2TuDjPWS5hA== X-CSE-MsgGUID: 2rMstvyRSG+mdswKti82PA== X-IronPort-AV: E=McAfee;i="6600,9927,11087"; a="36063834" X-IronPort-AV: E=Sophos;i="6.08,201,1712646000"; d="scan'208";a="36063834" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2024 04:14:53 -0700 X-CSE-ConnectionGUID: u5KvHm9/SxqIuspikzjYgg== X-CSE-MsgGUID: F9vZQiK2RD68awJ5fTj8cQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,201,1712646000"; d="scan'208";a="36419428" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by orviesa007.jf.intel.com with ESMTP; 30 May 2024 04:14:51 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Barbara Skobiej , vladimir.medvedkin@intel.com, bruce.richardson@intel.com Subject: [PATCH v3 15/30] net/ixgbe/base: remove circular header dependency Date: Thu, 30 May 2024 12:13:48 +0100 Message-ID: <8cfb305f69e8d6c4e5bbffbcb21afb0cb708d664.1717067519.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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: Barbara Skobiej Including one header file in second header file should be avoided, so fix it by forward declaring the struct instead. Signed-off-by: Barbara Skobiej --- drivers/net/ixgbe/base/ixgbe_mbx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/base/ixgbe_mbx.h b/drivers/net/ixgbe/base/ixgbe_mbx.h index f368b1d745..56ab435286 100644 --- a/drivers/net/ixgbe/base/ixgbe_mbx.h +++ b/drivers/net/ixgbe/base/ixgbe_mbx.h @@ -5,7 +5,7 @@ #ifndef _IXGBE_MBX_H_ #define _IXGBE_MBX_H_ -#include "ixgbe_type.h" +struct ixgbe_hw; struct ixgbe_mbx_operations { void (*init_params)(struct ixgbe_hw *hw); -- 2.43.0