[ovs-git] Open vSwitch: datapath: Account for RHEL6.4 backports in compat layer (branch-1.9)

dev at openvswitch.org dev at openvswitch.org
Mon Apr 29 17:25:45 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-1.9 has been updated
       via  b675a3e7b7f4d06eae05ec0b5b693983dd9224eb (commit)
       via  549287885d03db43cd575a3d53a8fca19beb8862 (commit)
      from  588a4a3f8fdfe928eca7fbce687e1bc6aa4294c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b675a3e7b7f4d06eae05ec0b5b693983dd9224eb
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b675a3e7b7f4d06eae05ec0b5b693983dd9224eb
Author: Thomas Graf <tgraf at redhat.com>
		
datapath: Account for RHEL6.4 backports in compat layer
		
Explicitly check the availability of several kernel API functions
instead of relying on the kernel version to account for Red Hat
Enterprise Linux backports.

Signed-off-by: Thomas Graf <tgraf at redhat.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
(cherry picked from commit 42d5dd9595cce35a8825a20be7d71a3a8f6f5640)

Conflicts:
	datapath/linux/compat/include/asm/percpu.h
	datapath/linux/compat/include/linux/netdevice.h


commit 549287885d03db43cd575a3d53a8fca19beb8862
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=549287885d03db43cd575a3d53a8fca19beb8862
Author: Thomas Graf <tgraf at redhat.com>
		
datapath: Use openvswitch_handle_frame hook in >=RHEL6.4 to live side by side with bridging
		
Due to the missing register rx_handler API in the kernel RHEL6 is
based on, the datapath currently falls back to using the bridging
hook with the consequence that bridging and OVS cannot be used in
parallel on any RHEL6 release.

For this purpose, >=RHEL6.4 releases provide a special rx frame hook
to be used by OVS. It captures frames at the same location in the
stack as the rx_handler would do in more recent kernel releases. In
order to store the vport pointer, the net_device's ax25_ptr field is
utilized under the assumption that an AX25 device will never be
attached to an OVS bridge.

Signed-off-by: Thomas Graf <tgraf at redhat.com>
Signed-off-by: Jesse Gross <jesse at nicira.com>
(cherry picked from commit f285d3e715512571c4b2f92a4d1c65022bbcc9d5)

Conflicts:
	datapath/vport-netdev.c


-----------------------------------------------------------------------

Summary of changes:
 acinclude.m4                                |    7 +++++
 datapath/linux/compat/include/net/netlink.h |    8 +++++-
 datapath/linux/compat/netdevice.c           |    2 +
 datapath/vport-netdev.c                     |   34 +++++++++++++++++++++++---
 4 files changed, 46 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list