From patchwork Fri May 3 13:57:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Burakov, Anatoly" X-Patchwork-Id: 139844 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 612E243F76; Fri, 3 May 2024 16:00:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B14040E25; Fri, 3 May 2024 15:58:55 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) by mails.dpdk.org (Postfix) with ESMTP id 768BE40DCD for ; Fri, 3 May 2024 15:58: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=1714744733; x=1746280733; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=+JDnTANmb7BSi2+mcMKT2IA1Nz24R+orURtmZ7wPPo0=; b=ViAiISi+YlSXWmeUPTCHFiC7P2kK1rCPZRUq/PSJI6gzRnNBsT4ybzoN 3ZjNzwIv1MbPuC/gqvj/wBlvm7hj6C9Idnu44S+xg2F7JWRfrBO+Akq/p vBbvsZ48gLLzqNai7WB+lvYL5mum2TVeHLpf5R9GqMfeFCxyNa+TD8wb8 9XTWSxEZme4fCV/FGao+VHZ7CGU6q1EwfBFh9ezsxsVo47NbajRv48Obw XPYdvM+kQgvR8LVQ3r4hiXl+CJrUrmM7Ikqw+AyhLcvHK09tArmUNigGs tA70f7j/5LVRNUQoxM54KsogOGpPZu/+JEYGijW7Cgrk5YR1YM+k0ysJY w==; X-CSE-ConnectionGUID: UGEji5N0Tna78NGcS/G9pQ== X-CSE-MsgGUID: OFosE5XSSb2hTAsyJa77EQ== X-IronPort-AV: E=McAfee;i="6600,9927,11063"; a="10714957" X-IronPort-AV: E=Sophos;i="6.07,251,1708416000"; d="scan'208";a="10714957" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2024 06:58:53 -0700 X-CSE-ConnectionGUID: VXdC0KKpQx2u1Fv3GYk2DQ== X-CSE-MsgGUID: A3gySD8vR8SAt7fksWeUCw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,251,1708416000"; d="scan'208";a="50642029" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by fmviesa002.fm.intel.com with ESMTP; 03 May 2024 06:58:52 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Barbara Skobiej , bruce.richardson@intel.com, vladimir.medvedkin@intel.com Subject: [PATCH v2 16/27] net/ixgbe/base: remove circular header dependency Date: Fri, 3 May 2024 14:57:47 +0100 Message-ID: <8ceeefe4fa28b6cda635292b4770020271b249eb.1714744628.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: 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 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);