Date: Sat, 26 Oct 2024 23:45:30 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: b0993e3bcaec - main - if_ixv: fix build without NETMAP Message-ID: <202410262345.49QNjUfc067582@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b0993e3bcaec60701f3ae56df255433eb4bcd091 commit b0993e3bcaec60701f3ae56df255433eb4bcd091 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-10-26 23:37:09 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-10-26 23:42:48 +0000 if_ixv: fix build without NETMAP Sponsored by: The FreeBSD Foundation --- sys/dev/ixgbe/if_ixv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c index d5fe1a5c6b30..467a56e7269f 100644 --- a/sys/dev/ixgbe/if_ixv.c +++ b/sys/dev/ixgbe/if_ixv.c @@ -1373,7 +1373,9 @@ ixv_initialize_receive_units(if_ctx_t ctx) struct ixgbe_softc *sc = iflib_get_softc(ctx); if_softc_ctx_t scctx; struct ixgbe_hw *hw = &sc->hw; +#ifdef DEV_NETMAP if_t ifp = iflib_get_ifp(ctx); +#endif struct ix_rx_queue *que = sc->rx_queues; u32 bufsz, psrtype;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410262345.49QNjUfc067582>