Re: Kernel compilation fails: error: use of undeclared identifier 'VF_FLAG_INITIALIZED'

From: Michael Grimm <trashcan_at_ellael.org>
Date: Mon, 24 Aug 2026 06:55:54 UTC
Michael Grimm <trashcan@ellael.org> wrote:

> kernel compilation fails:
> 
> mike> git rev-list --count --first-parent stable/15
> 285070
> 
> Error message:
> 
> ===> aesni (all)
> --- ixl_txrx.o ---
> ctfconvert -L VERSION -g ixl_txrx.o
> --- ixl_pf_iov.o ---
> /usr/src/sys/dev/ixl/ixl_pf_iov.c:2086:20: error: use of undeclared identifier 'VF_FLAG_INITIALIZED'
> 2086 |                 vf->vf_flags &= ~VF_FLAG_INITIALIZED;
>      |                                  ^~~~~~~~~~~~~~~~~~~
> /usr/src/sys/dev/ixl/ixl_pf_iov.c:2194:20: error: use of undeclared identifier 'VF_FLAG_INITIALIZED'
> 2194 |                 vf->vf_flags &= ~VF_FLAG_INITIALIZED;
>      |                                  ^~~~~~~~~~~~~~~~~~~
> 2 errors generated.
> *** [ixl_pf_iov.o] Error code 1
> 
> make[2]: stopped making "all" in /usr/obj/usr/src/amd64.amd64/sys/GENERIC
> --- modules-all ---


It is due to:
commit 1319574637fb15f3ce176ce1638e25db05340c9a
Author: Kevin Bowling <kbowling@FreeBSD.org>

Regards and HTH,
Michael