[Bug 282777] net/intel-ix-kmod: build error since 1500027 (struct ifnet is now hidden)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Nov 2024 09:41:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282777

            Bug ID: 282777
           Summary: net/intel-ix-kmod: build error since 1500027 (struct
                    ifnet is now hidden)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: olivier@freebsd.org
                CC: freebsd@intel.com
                CC: freebsd@intel.com
             Flags: maintainer-feedback?(freebsd@intel.com)

Hi,

looks like a long due change switch to default on current:
https://lists.freebsd.org/archives/freebsd-net/2024-November/005983.html

In file included from if_ix.c:42:
./ixgbe.h:621:30: error: incomplete definition of type 'struct ifnet'
  621 |         return IFQ_DRV_IS_EMPTY(&ifp->if_snd);
      |                                  ~~~^
/usr/src/sys/net/ifq.h:301:5: note: expanded from macro 'IFQ_DRV_IS_EMPTY'
  301 |         (((ifq)->ifq_drv_len == 0) && ((ifq)->ifq_len == 0))
      |            ^~~

-- 
You are receiving this mail because:
You are the assignee for the bug.