summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifeng Sun <pkusunyifeng@gmail.com>2019-01-29 14:18:08 -0800
committerBen Pfaff <blp@ovn.org>2019-02-04 13:42:02 -0800
commit7c84d7f481ccc6426536dbc641e3bffc76ab3322 (patch)
treefc47d73a6c1f50b35835404020940d2002828d2b
parent7c5793e62a024c16a2151a13be91a86b49c10779 (diff)
downloadopenvswitch-7c84d7f481ccc6426536dbc641e3bffc76ab3322.tar.gz
datapath: Add support for kernel 4.18.x
No code changing is necessary to support 4.18.x. Only one kernel test failed and it is in the process of being fixed. Updated .travis.yml to include 4.18.x and also use latest 4.17 version. Updated test files to test 4.18 kernel. Tested-by: Greg Rose <gvrose8192@gmail.com> Reviewed-by: Greg Rose <gvrose8192@gmail.com> Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r--.travis.yml3
-rw-r--r--Documentation/faq/releases.rst1
-rw-r--r--NEWS3
-rw-r--r--acinclude.m44
-rw-r--r--tests/system-traffic.at12
5 files changed, 13 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 2f7746d1d..465876a67 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -38,7 +38,8 @@ env:
- KERNEL=3.16.54 TESTSUITE=1 DPDK=1
- KERNEL=3.16.54 DPDK_SHARED=1
- KERNEL=3.16.54 DPDK_SHARED=1 OPTS="--enable-shared"
- - KERNEL=4.17.14
+ - KERNEL=4.18.20
+ - KERNEL=4.17.19
- KERNEL=4.16.18
- KERNEL=4.15.18
- KERNEL=4.14.63
diff --git a/Documentation/faq/releases.rst b/Documentation/faq/releases.rst
index 96da23c20..86f09e6e2 100644
--- a/Documentation/faq/releases.rst
+++ b/Documentation/faq/releases.rst
@@ -68,6 +68,7 @@ Q: What Linux kernel versions does each Open vSwitch release work with?
2.8.x 3.10 to 4.12
2.9.x 3.10 to 4.13
2.10.x 3.10 to 4.17
+ 2.11.x 3.10 to 4.18
============ ==============
Open vSwitch userspace should also work with the Linux kernel module built
diff --git a/NEWS b/NEWS
index 1200eff18..ecca19cc7 100644
--- a/NEWS
+++ b/NEWS
@@ -52,7 +52,8 @@ v2.11.0 - xx xxx xxxx
- RHEL packaging:
* OVN packages are split from OVS packages. A new spec
file - ovn-fedora.spec.in is added to generate OVN packages.
-
+ - Linux datapath:
+ * Support for the kernel versions 4.18.x
v2.10.0 - 18 Aug 2018
---------------------
diff --git a/acinclude.m4 b/acinclude.m4
index f038fd457..95241b142 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -151,10 +151,10 @@ AC_DEFUN([OVS_CHECK_LINUX], [
AC_MSG_RESULT([$kversion])
if test "$version" -ge 4; then
- if test "$version" = 4 && test "$patchlevel" -le 17; then
+ if test "$version" = 4 && test "$patchlevel" -le 18; then
: # Linux 4.x
else
- AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 4.17.x is not supported (please refer to the FAQ for advice)])
+ AC_ERROR([Linux kernel in $KBUILD is version $kversion, but version newer than 4.18.x is not supported (please refer to the FAQ for advice)])
fi
elif test "$version" = 3 && test "$patchlevel" -ge 10; then
: # Linux 3.x
diff --git a/tests/system-traffic.at b/tests/system-traffic.at
index 43ca32034..e34f7a4fb 100644
--- a/tests/system-traffic.at
+++ b/tests/system-traffic.at
@@ -617,7 +617,7 @@ OVS_TRAFFIC_VSWITCHD_STOP
AT_CLEANUP
AT_SETUP([datapath - ping over gre tunnel by simulated packets])
-OVS_CHECK_KERNEL(3, 10, 4, 17)
+OVS_CHECK_KERNEL(3, 10, 4, 18)
OVS_TRAFFIC_VSWITCHD_START()
AT_CHECK([ovs-vsctl -- set bridge br0 other-config:hwaddr=\"f2:ff:00:00:00:01\"])
@@ -667,7 +667,7 @@ OVS_TRAFFIC_VSWITCHD_STOP
AT_CLEANUP
AT_SETUP([datapath - ping over erspan v1 tunnel by simulated packets])
-OVS_CHECK_KERNEL(3, 10, 4, 17)
+OVS_CHECK_KERNEL(3, 10, 4, 18)
OVS_TRAFFIC_VSWITCHD_START()
AT_CHECK([ovs-vsctl -- set bridge br0 other-config:hwaddr=\"f2:ff:00:00:00:01\"])
@@ -719,7 +719,7 @@ OVS_TRAFFIC_VSWITCHD_STOP
AT_CLEANUP
AT_SETUP([datapath - ping over erspan v2 tunnel by simulated packets])
-OVS_CHECK_KERNEL(3, 10, 4, 17)
+OVS_CHECK_KERNEL(3, 10, 4, 18)
OVS_TRAFFIC_VSWITCHD_START()
AT_CHECK([ovs-vsctl -- set bridge br0 other-config:hwaddr=\"f2:ff:00:00:00:01\"])
@@ -772,7 +772,7 @@ OVS_TRAFFIC_VSWITCHD_STOP
AT_CLEANUP
AT_SETUP([datapath - ping over ip6erspan v1 tunnel by simulated packets])
-OVS_CHECK_KERNEL(3, 10, 4, 17)
+OVS_CHECK_KERNEL(3, 10, 4, 18)
OVS_TRAFFIC_VSWITCHD_START()
AT_CHECK([ovs-vsctl -- set bridge br0 other-config:hwaddr=\"f2:ff:00:00:00:01\"])
@@ -827,7 +827,7 @@ OVS_TRAFFIC_VSWITCHD_STOP
AT_CLEANUP
AT_SETUP([datapath - ping over ip6erspan v2 tunnel by simulated packets])
-OVS_CHECK_KERNEL(3, 10, 4, 17)
+OVS_CHECK_KERNEL(3, 10, 4, 18)
OVS_TRAFFIC_VSWITCHD_START()
AT_CHECK([ovs-vsctl -- set bridge br0 other-config:hwaddr=\"f2:ff:00:00:00:01\"])
@@ -1066,7 +1066,7 @@ dnl ns1: connect to br0, with IP:10.1.1.2
dnl br-underlay: with IP: 172.31.1.100
dnl ns0: connect to br-underlay, with IP: 10.1.1.1
AT_SETUP([datapath - truncate and output to gre tunnel by simulated packets])
-OVS_CHECK_KERNEL(3, 10, 4, 17)
+OVS_CHECK_KERNEL(3, 10, 4, 18)
AT_SKIP_IF([test $HAVE_NC = no])
OVS_TRAFFIC_VSWITCHD_START()