[ovs-dev] [RFC: add openvswitch actions using BPF 1/9] hack: Do not compile datapath

Andy Zhou azhou at nicira.com
Wed Feb 4 22:49:15 UTC 2015


The OVS eBPF patch sets are developed against master 'net-next' tree,
which is currently targeting for kernel version 3.19.

The datapath in OVS mater does not currently support 3.19 kernel.
But we should not really using OVS datapath, The changes in the
follow patches are only changes in user space programs, which should
work with the kernel module built from the 'net-next' tree.

This patch disables building of the datapath and disables the
configuration time kernel version check.

Signed-off-by: Andy Zhou <azhou at nicira.com>
---
 Makefile.am  | 3 ++-
 acinclude.m4 | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 3e5e0b2..1363abe 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,7 +7,8 @@
 
 AUTOMAKE_OPTIONS = foreign subdir-objects
 ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = datapath
+# SUBDIRS = datapath
+SUBDIRS =
 
 AM_CPPFLAGS = $(SSL_CFLAGS)
 AM_LDFLAGS = $(SSL_LDFLAGS)
diff --git a/acinclude.m4 b/acinclude.m4
index cb3e148..f419056 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -134,7 +134,7 @@ AC_DEFUN([OVS_CHECK_LINUX], [
     AC_MSG_RESULT([$kversion])
 
     if test "$version" -ge 3; then
-       if test "$version" = 3 && test "$patchlevel" -le 18; then
+       if test "$version" = 3 && test "$patchlevel" -le 19; then
           : # Linux 3.x
        else
          AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 3.18.x is not supported (please refer to the FAQ for advice)])
-- 
1.9.1




More information about the dev mailing list