The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=b0993e3bcaec60701f3ae56df255433eb4bcd091

commit b0993e3bcaec60701f3ae56df255433eb4bcd091
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2024-10-26 23:37:09 +0000
Commit:     Konstantin Belousov <[email protected]>
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;
 

Reply via email to