From 37418c8662384e205522fd5827871dea2c96a46a Mon Sep 17 00:00:00 2001 From: Pravin B Shelar Date: Tue, 3 Sep 2013 09:54:51 -0700 Subject: [PATCH] datapath: Drop support for linux pre-2.6.32 kernel. This makes datapath module much close to upstream datapath and make code easy to understand. Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross --- FAQ | 6 +++--- NEWS | 1 + README | 2 +- SubmittingPatches | 2 +- datapath/datapath.c | 4 ++-- debian/changelog | 1 + 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/FAQ b/FAQ index a0eb1cd90..7181484ef 100644 --- a/FAQ +++ b/FAQ @@ -27,7 +27,7 @@ A: Open vSwitch is a production quality open source software switch Q: What virtualization platforms can use Open vSwitch? A: Open vSwitch can currently run on any Linux-based virtualization - platform (kernel 2.6.18 and newer), including: KVM, VirtualBox, Xen, + platform (kernel 2.6.32 and newer), including: KVM, VirtualBox, Xen, Xen Cloud Platform, XenServer. As of Linux 3.3 it is part of the mainline kernel. The bulk of the code is written in platform- independent C and is easily ported to other environments. We welcome @@ -148,13 +148,13 @@ A: The following table lists the Linux kernel versions against which the 1.9.x 2.6.18 to 3.8 1.10.x 2.6.18 to 3.8 1.11.x 2.6.18 to 3.8 - 1.12.x 2.6.18 to 3.10 + 2.x 2.6.32 to 3.10 Open vSwitch userspace should also work with the Linux kernel module built into Linux 3.3 and later. Open vSwitch userspace is not sensitive to the Linux kernel version. - It should build against almost any kernel, certainly against 2.6.18 + It should build against almost any kernel, certainly against 2.6.32 and later. Q: What Linux kernel versions does IPFIX flow monitoring work with? diff --git a/NEWS b/NEWS index 8bdc62114..09c98ebb7 100644 --- a/NEWS +++ b/NEWS @@ -34,6 +34,7 @@ v2.0.0 - xx xxx xxxx * New "ofp-parse" for printing OpenFlow messages read from a file. * New commands for OpenFlow 1.1+ groups. - Added configurable flow caching support to IPFIX exporter. + - Dropped support for Linux pre-2.6.32. v1.11.0 - 28 Aug 2013 diff --git a/README b/README index a57bb621e..db1e3ef00 100644 --- a/README +++ b/README @@ -30,7 +30,7 @@ vSwitch supports the following features: * Transactional configuration database with C and Python bindings * High-performance forwarding using a Linux kernel module -The included Linux kernel module supports Linux 2.6.18 and up, with +The included Linux kernel module supports Linux 2.6.32 and up, with testing focused on 2.6.32 with Centos and Xen patches. Open vSwitch also has special support for Citrix XenServer and Red Hat Enterprise Linux hosts. diff --git a/SubmittingPatches b/SubmittingPatches index cb585d0d3..9b3dd9eb8 100644 --- a/SubmittingPatches +++ b/SubmittingPatches @@ -32,7 +32,7 @@ Testing is also important: - A patch that modifies Linux kernel code should be at least build-tested on various Linux kernel versions before - submission. I suggest versions 2.6.18, 2.6.27, and whatever + submission. I suggest versions 2.6.32 and whatever the current latest release version is at the time. - A patch that modifies the ofproto or vswitchd code should be diff --git a/datapath/datapath.c b/datapath/datapath.c index 27deec8d9..98651a47b 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -61,9 +61,9 @@ #include "vport-internal_dev.h" #include "vport-netdev.h" -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) || \ +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32) || \ LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0) -#error Kernels before 2.6.18 or after 3.9 are not supported by this version of Open vSwitch. +#error Kernels before 2.6.32 or after 3.10 are not supported by this version of Open vSwitch. #endif #define REHASH_FLOW_INTERVAL (10 * 60 * HZ) diff --git a/debian/changelog b/debian/changelog index 63435b23d..cb55e8ed2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -32,6 +32,7 @@ openvswitch (2.0.0-1) unstable; urgency=low - ovs-ofctl: * New "ofp-parse" for printing OpenFlow messages read from a file. - Added configurable flow caching support to IPFIX exporter. + - Dropped support for Linux pre-2.6.32. -- Open vSwitch team Wed, 28 Aug 2013 16:11:32 -0700 -- 2.43.0