aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Roethlisberger <daniel@roe.ch>2024-02-06 15:26:13 +0000
committerMark Johnston <markj@FreeBSD.org>2024-03-09 04:28:01 +0000
commit465fe46da51080950bf0063f984c52b8cf6fb144 (patch)
tree9b7af9049b32bc4ab17c531834ff9de1e4b4276d
parent2de742797b5fbcb1b7bf8c3e8dc36dddd051abb0 (diff)
arm64: Add netmap(4) to default kernel config
Allows the development, testing and deployment of netmap(4)-based code on arm64 without having to recompile the kernel. netmap(4) is already in the amd64 and powerpc64 default configs, so it does not seem unreasonable to also provide it on arm64 by default. Note that netmap(4) is useful even on systems without NIC that fully support it. Reviewed by: vmaffione MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D43702 (cherry picked from commit df64d7c8c82d59958cb546b23ba240ab97dc5033)
-rw-r--r--sys/arm64/conf/std.dev3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm64/conf/std.dev b/sys/arm64/conf/std.dev
index 74d2407e0aec..0c0ede38ed2b 100644
--- a/sys/arm64/conf/std.dev
+++ b/sys/arm64/conf/std.dev
@@ -87,6 +87,9 @@ device miibus # MII bus support
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
+# Netmap provides direct access to TX/RX rings on supported NICs
+device netmap # netmap(4) support
+
# USB support
options USB_DEBUG # enable debug msgs
options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.