Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Add snippet for bpfjit(4) as both i386 and amd64 ar...



details:   https://anonhg.NetBSD.org/src/rev/bf071acdefac
branches:  trunk
changeset: 834360:bf071acdefac
user:      sevan <sevan%NetBSD.org@localhost>
date:      Fri Aug 10 17:54:46 2018 +0000

description:
Add snippet for bpfjit(4) as both i386 and amd64 are listed as supported.
Ideally BPFJIT should be enabled by default for use with NPF but I haven't
raised the question (no access to email at the moment) hence both are disabled.

diffstat:

 sys/arch/amd64/conf/GENERIC |  8 ++++++--
 sys/arch/i386/conf/GENERIC  |  8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (58 lines):

diff -r 0c5e7b8192f2 -r bf071acdefac sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Fri Aug 10 17:47:14 2018 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Fri Aug 10 17:54:46 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.499 2018/08/03 04:35:20 kamil Exp $
+# $NetBSD: GENERIC,v 1.500 2018/08/10 17:54:46 sevan Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.499 $"
+#ident         "GENERIC-$Revision: 1.500 $"
 
 maxusers       64              # estimated number of users
 
@@ -205,6 +205,10 @@
 #options       TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG
 #options       TCP_SIGNATURE   # Enable RFC-2385 TCP md5 signatures
 
+# JIT compiler for bpfilter
+#options       SLJIT
+#options       BPFJIT
+
 #options       ALTQ            # Manipulate network interfaces' output queues
 #options       ALTQ_BLUE       # Stochastic Fair Blue
 #options       ALTQ_CBQ        # Class-Based Queueing
diff -r 0c5e7b8192f2 -r bf071acdefac sys/arch/i386/conf/GENERIC
--- a/sys/arch/i386/conf/GENERIC        Fri Aug 10 17:47:14 2018 +0000
+++ b/sys/arch/i386/conf/GENERIC        Fri Aug 10 17:54:46 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.1185 2018/08/01 16:59:09 maxv Exp $
+# $NetBSD: GENERIC,v 1.1186 2018/08/10 17:54:46 sevan Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.1185 $"
+#ident         "GENERIC-$Revision: 1.1186 $"
 
 maxusers       64              # estimated number of users
 
@@ -196,6 +196,10 @@
 options        PPP_FILTER      # Active filter support for PPP (requires bpf)
 #options       TCP_DEBUG       # Record last TCP_NDEBUG packets with SO_DEBUG
 
+# JIT compiler for bpfilter
+#options       SLJIT
+#options       BPFJIT
+
 #options       ALTQ            # Manipulate network interfaces' output queues
 #options       ALTQ_BLUE       # Stochastic Fair Blue
 #options       ALTQ_CBQ        # Class-Based Queueing



Home | Main Index | Thread Index | Old Index