From patchwork Wed Apr 24 13:21:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatoly Burakov X-Patchwork-Id: 139661 X-Patchwork-Delegate: bruce.richardson@intel.com 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 DD96743EAD; Wed, 24 Apr 2024 15:24:09 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A65E1434D8; Wed, 24 Apr 2024 15:22:53 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by mails.dpdk.org (Postfix) with ESMTP id A84BB434A6 for ; Wed, 24 Apr 2024 15:22:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1713964972; x=1745500972; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=LxoC1/O3OLBPIcvjUPSpq7QKGPDzQgjZHaA0HCdQUtM=; b=cwWbFJ20Vw4LnM9I00FpNWpzeuXeWG4msqSa6tucawgClvdZ6UDojDsq y783TLpNNC4noilI1/ZpC+WFaqo5IoQMaUZs/gO4r+5+u2t+C3GuGQFnv E3HasXHpH1Td/c/m8DKE+R1ZoX8Gw/R9SxAvEZGHnvHcBIoHHABtB7ICF fH2+4gm3vEn0cYpYnhQX5CSVPEwAF3y6EMchCeluY7/003wpp3GtrQaUK BJWMPEU1fv+ors6h7tdACn5F6NodoXtYERYuljgy5FFnO0S1osqFXNU/8 i4MnU9p6y9LbYUCXIFxF4nPjFOTj5M7nMU9QAjSsJv1umuVP+RlFKcXRR g==; X-CSE-ConnectionGUID: ZfERqNV4Q62+AM5Vh6Wh9A== X-CSE-MsgGUID: n9YZrl5uQYeJdhJiG/8G0Q== X-IronPort-AV: E=McAfee;i="6600,9927,11054"; a="20289279" X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="20289279" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2024 06:22:51 -0700 X-CSE-ConnectionGUID: nn8LN18lSjq+1TTgNWiwLQ== X-CSE-MsgGUID: 5m1DHYUYQZKNpAwR2R7joQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,226,1708416000"; d="scan'208";a="24749480" Received: from silpixa00401119.ir.intel.com ([10.55.129.167]) by fmviesa006.fm.intel.com with ESMTP; 24 Apr 2024 06:22:50 -0700 From: Anatoly Burakov To: dev@dpdk.org Cc: Barbara Skobiej , vladimir.medvedkin@intel.com, bruce.richardson@intel.com Subject: [PATCH v1 16/22] net/ixgbe/base: remove circular header dependency Date: Wed, 24 Apr 2024 14:21:50 +0100 Message-ID: <26a8437e36cf6ce07ed35f693b59bb14155c44b8.1713964708.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 barbara.skobiej@intel.com --- 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);