Skip to content

Commit

Permalink
datapath: Drop support for linux pre-2.6.32 kernel.
Browse files Browse the repository at this point in the history
This makes datapath module much close to upstream datapath and
make code easy to understand.

Signed-off-by: Pravin B Shelar <[email protected]>
Acked-by: Jesse Gross <[email protected]>
  • Loading branch information
Pravin B Shelar committed Sep 6, 2013
1 parent 369ff4e commit 6c5581c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions FAQ
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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?
Expand Down
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ v2.0.0 - xx xxx xxxx
- 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.


v1.11.0 - 28 Aug 2013
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion SubmittingPatches
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions datapath/datapath.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,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 <[email protected]> Wed, 28 Aug 2013 16:11:32 -0700

Expand Down

0 comments on commit 6c5581c

Please sign in to comment.