From nobody Fri Sep 20 03:24:20 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X8yRS4sB3z5WfMt; Fri, 20 Sep 2024 03:24:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X8yRS3wFMz4LZx; Fri, 20 Sep 2024 03:24:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726802660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RYiHMpCYWnMOF64zKhJhaesWZJFd13rkKYpiqX6XWW8=; b=uMIF+yE1vxofwywKAs17nt/BIv1v/OZRn9y+saSgzk1+Fv//R5Lc7IVLd/m6+tNL8Tpb1w QoV5eKKYf7dE0iav8wFHnqOkxECCrAnp5T/4fiXnby0BtStuEOJJMUEc9vXwneLWIeHnHW H48kGm9SwEWbSrzYBw18q7kp/2bNS4MI8AKIJZX+KlpxtFcm9dxRX5Ie4WbrA3hVJ4VCKQ WruxHY9E0Wl4GCZMmJgwja2ynGRFQpPTs4bqekSG3HvB9l/yWK+0cqVmk1nuJy+3RLC9To wpkfA+VquMAQKpCEGZt5kvCkOOg23td5fPd39SMUhp8tJJeDyLQdHnKhtEKv/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726802660; a=rsa-sha256; cv=none; b=uFopIFAKgIkl91iWUutLvxfEhg6W8OhFiPATWg8xDM1i/uNsZp+zDU2AS3934LbrwFIUOd ecAZTq4wioJkw1qNbf8i7gDbwVo0NLmvGRhP8dFeMT7uyJ7yuwjhw3hey0fBW7az+wj9KD 6mbkbSSz2IEJ6F9jNkpVa+xUjVDDSppL6zBff+N4tGRuKwbnPgA3URETaiahtSs83KgLaV zB5Z+9SYWu6JJ841Rjj4rVcuL7Ao4yctmnhFSj9F5hIg6r7/DB72pzrqsJIwJ3Z2IMhnEr nOvvJ7+mI9nFUIFb1SL+wbE4okuCk4SzTwl8ZjI4Jr3SKxATXly77QjqaIqUfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726802660; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RYiHMpCYWnMOF64zKhJhaesWZJFd13rkKYpiqX6XWW8=; b=RVwyhslwnmEwEdV1L4S7HFJPlEE1QeNqez0qms+od/EYUMntYS6zTu2C2OsLb/YHgYTtWY Ph4XjxYbeoyQ5mZy8hFhJSezlU08+MC+4FASpwLpWt9YlEHclan4PJAMww5Fa630daPijj 02ITYaRYz2IjgrfDLlVXKauuP91RBt647yputzvlV6CBvl3N095vGcE9uLWZKjncmxjZpa h93It0fGtLL2wMORo+YsLhse87UVljJOO0UzAQR/V7Z8ootzdlxBZnvYzXJAqiIsmZdDr2 RV4FM7X+d5D1KEyR405w7GbSUqQxkFStAir6t4iWsjs9GH0eeIXhf9ZK971Oyw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X8yRS3WLrzYTp; Fri, 20 Sep 2024 03:24:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48K3OKCM068676; Fri, 20 Sep 2024 03:24:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48K3OKZD068673; Fri, 20 Sep 2024 03:24:20 GMT (envelope-from git) Date: Fri, 20 Sep 2024 03:24:20 GMT Message-Id: <202409200324.48K3OKZD068673@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 3167854b9d21 - main - ixgbe: remove circular dependency in ixgbe_mbx.h List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3167854b9d2188c4039239f741870e044b7507ac Auto-Submitted: auto-generated The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=3167854b9d2188c4039239f741870e044b7507ac commit 3167854b9d2188c4039239f741870e044b7507ac Author: Barbara Skobiej AuthorDate: 2024-09-20 03:22:35 +0000 Commit: Kevin Bowling CommitDate: 2024-09-20 03:22:35 +0000 ixgbe: remove circular dependency in ixgbe_mbx.h DPDK commit message net/ixgbe/base: remove circular header dependency 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 Obtained from: DPDK (0bc2af5) MFC after: 1 week --- sys/dev/ixgbe/ixgbe_mbx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ixgbe/ixgbe_mbx.h b/sys/dev/ixgbe/ixgbe_mbx.h index 7a982ce89f93..3a9bd34a137f 100644 --- a/sys/dev/ixgbe/ixgbe_mbx.h +++ b/sys/dev/ixgbe/ixgbe_mbx.h @@ -35,7 +35,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);