DF-0547 / build.log
cc -O2 -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wold-style-definition -Wmissing-include-dirs -Wno-pointer-sign -Winit-self -Wundef -Wno-unused-but-set-variable -std=gnu11 -Werror -DKLD_MODULE -nostdinc -I. -Idragonfly -I/usr/obj/usr/src/sys/net/netmap/forwarder_x86_64/include -Idragonfly/../include -Wold-style-declaration -fno-common -ffreestanding -fno-stack-protector -fno-strict-aliasing -fno-strict-overflow -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -mno-fp-ret-in-387 -mindirect-branch=thunk-inline -c /usr/src/sys/net/netmap/netmap.c
In file included from /usr/src/sys/net/netmap/netmap.c:164:
/usr/src/sys/net/netmap/netmap.c: In function 'netmap_set_all_rings':
dragonfly/net/netmap/netmap_kern.h:747:27: error: 'struct ifnet' has no member named 'if_unused7'; did you mean 'if_unused2'?
#define WNA(_ifp) (_ifp)->if_unused7 /* XXX better name ;) */
^~~~~~~~~~
dragonfly/net/netmap/netmap_kern.h:749:44: note: in expansion of macro 'WNA'
#define NA(_ifp) ((struct netmap_adapter *)WNA(_ifp))
^~~
/usr/src/sys/net/netmap/netmap.c:256:7: note: in expansion of macro 'NA'
na = NA(ifp);
^~
/usr/src/sys/net/netmap/netmap.c: In function 'netmap_get_hw_na':
dragonfly/net/netmap/netmap_kern.h:747:27: error: 'struct ifnet' has no member named 'if_unused7'; did you mean 'if_unused2'?
#define WNA(_ifp) (_ifp)->if_unused7 /* XXX better name ;) */
^~~~~~~~~~
dragonfly/net/netmap/netmap_kern.h:749:44: note: in expansion of macro 'WNA'
#define NA(_ifp) ((struct netmap_adapter *)WNA(_ifp))
^~~
dragonfly/net/netmap/netmap_kern.h:758:30: note: in expansion of macro 'NA'
#define NETMAP_CAPABLE(ifp) (NA(ifp) && \
^~
/usr/src/sys/net/netmap/netmap.c:971:6: note: in expansion of macro 'NETMAP_CAPABLE'
if (NETMAP_CAPABLE(ifp)) {
^~~~~~~~~~~~~~
dragonfly/net/netmap/netmap_kern.h:747:27: error: 'struct ifnet' has no member named 'if_unused7'; did you mean 'if_unused2'?
#define WNA(_ifp) (_ifp)->if_unused7 /* XXX better name ;) */
^~~~~~~~~~
dragonfly/net/netmap/netmap_kern.h:365:35: note: in definition of macro 'NETMAP_OWNED_BY_KERN'
#define NETMAP_OWNED_BY_KERN(na) (na->na_private)