diff options
author | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2021-01-10 14:42:49 +0000 |
---|---|---|
committer | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2021-01-10 14:43:58 +0000 |
commit | 8aa8484cbf06bb26ad87177fe4aebcaf1519f138 (patch) | |
tree | 97ae4c9358e3bc9a0173b5bbf5523eb22f4d8736 | |
parent | bb714db6d39583a9fbf5d11849c5e2365e7c0d80 (diff) | |
download | src-8aa8484cbf06bb26ad87177fe4aebcaf1519f138.tar.gz src-8aa8484cbf06bb26ad87177fe4aebcaf1519f138.zip |
iflib: fix build failure in case DEV_NETMAP is not defined
This addresses the build failure introduced by
3d65fd97e85ab807f3baa62.
MFC with: 3d65fd97e85ab807f3baa62
-rw-r--r-- | sys/net/iflib.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |