Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2024 15:47:00 +0900 (JST)
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        vishwin@freebsd.org
Cc:        kbowling@FreeBSD.org, src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: 10746040820e - main - ixgbe: rename VF message type macros
Message-ID:  <20240920.154700.1207780392961840745.yasu@FreeBSD.org>
In-Reply-To: <084fa85b-7112-4dc5-bdb0-dbf727a28af0@freebsd.org>
References:  <202409192103.48JL3ffi022099@gitrepo.freebsd.org> <084fa85b-7112-4dc5-bdb0-dbf727a28af0@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Charlie Li <vishwin@freebsd.org>
Subject: Re: git: 10746040820e - main - ixgbe: rename VF message type macros
Date: Thu, 19 Sep 2024 23:59:47 -0400

> Build fails:
> /usr/src/sys/dev/ixgbe/if_sriov.c:103:16: error: member reference base
> type 'struct ixgbe_mbx_operations[64]' is not a structure or union
>   103 |         sc->hw.mbx.ops.write(&sc->hw, &msg, 1, vf->pool);
>       |         ~~~~~~~~~~~~~~^~~~~~
> /usr/src/sys/dev/ixgbe/if_sriov.c:377:13: error: member reference base
> type 'struct ixgbe_mbx_operations[64]' is not a structure or union
>   377 | hw->mbx.ops.write(hw, resp, IXGBE_VF_PERMADDR_MSG_LEN,
>   vf->pool);
>       |         ~~~~~~~~~~~^~~~~~
> /usr/src/sys/dev/ixgbe/if_sriov.c:568:13: error: member reference base
> type 'struct ixgbe_mbx_operations[64]' is not a structure or union
>   568 | hw->mbx.ops.write(hw, resp, IXGBE_VF_GET_QUEUES_RESP_LEN,
>   vf->pool);
>       |         ~~~~~~~~~~~^~~~~~
> /usr/src/sys/dev/ixgbe/if_sriov.c:585:21: error: member reference base
> type 'struct ixgbe_mbx_operations[64]' is not a structure or union
>   585 | error = hw->mbx.ops.read(hw, msg, IXGBE_VFMAILBOX_SIZE,
>   vf->pool);
>       |                 ~~~~~~~~~~~^~~~~
> /usr/src/sys/dev/ixgbe/if_sriov.c:646:19: error: member reference base
> type 'struct ixgbe_mbx_operations[64]' is not a structure or union
>   646 | if (hw->mbx.ops.check_for_rst(hw, vf->pool) == 0)
>       |                             ~~~~~~~~~~~^~~~~~~~~~~~~~
> /usr/src/sys/dev/ixgbe/if_sriov.c:649:19: error: member reference base
> type 'struct ixgbe_mbx_operations[64]' is not a structure or union
>   649 | if (hw->mbx.ops.check_for_msg(hw, vf->pool) == 0)
>       |                             ~~~~~~~~~~~^~~~~~~~~~~~~~
> /usr/src/sys/dev/ixgbe/if_sriov.c:652:19: error: member reference base
> type 'struct ixgbe_mbx_operations[64]' is not a structure or union
>   652 | if (hw->mbx.ops.check_for_ack(hw, vf->pool) == 0)
>       |                             ~~~~~~~~~~~^~~~~~~~~~~~~~
> 7 errors generated.
> *** [if_sriov.o] Error code 1

Same here with:

* Commit 420c9844702
* amd64
* Clean build from scratch

---
Yasuhiro Kimura



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240920.154700.1207780392961840745.yasu>