Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2021 14:45:14 GMT
From:      Vincenzo Maffione <vmaffione@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 8aa8484cbf06 - main - iflib: fix build failure in case DEV_NETMAP is not defined
Message-ID:  <202101101445.10AEjEjx091868@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vmaffione:

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

commit 8aa8484cbf06bb26ad87177fe4aebcaf1519f138
Author:     Vincenzo Maffione <vmaffione@FreeBSD.org>
AuthorDate: 2021-01-10 14:42:49 +0000
Commit:     Vincenzo Maffione <vmaffione@FreeBSD.org>
CommitDate: 2021-01-10 14:43:58 +0000

    iflib: fix build failure in case DEV_NETMAP is not defined
    
    This addresses the build failure introduced by
    3d65fd97e85ab807f3baa62.
    
    MFC with: 3d65fd97e85ab807f3baa62
---
 sys/net/iflib.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/net/iflib.c b/sys/net/iflib.c
index e53c5031d3a7..0a40a0825a95 100644
--- a/sys/net/iflib.c
+++ b/sys/net/iflib.c
@@ -1293,6 +1293,8 @@ iflib_netmap_timer(void *arg)
 #define iflib_netmap_txq_init(ctx, txq) (0)
 #define iflib_netmap_rxq_init(ctx, rxq) (0)
 #define iflib_netmap_detach(ifp)
+#define netmap_enable_all_rings(ifp)
+#define netmap_disable_all_rings(ifp)
 
 #define iflib_netmap_attach(ctx) (0)
 #define netmap_rx_irq(ifp, qid, budget) (0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101101445.10AEjEjx091868>