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

dev at openvswitch.org dev at openvswitch.org
Thu Apr 25 20:28:21 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, master has been updated
       via  42d5dd9595cce35a8825a20be7d71a3a8f6f5640 (commit)
       via  f285d3e715512571c4b2f92a4d1c65022bbcc9d5 (commit)
      from  3c8399a2b8a4cb90173a00d29dcd2658175733d9 (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 42d5dd9595cce35a8825a20be7d71a3a8f6f5640
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=42d5dd9595cce35a8825a20be7d71a3a8f6f5640
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>


commit f285d3e715512571c4b2f92a4d1c65022bbcc9d5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f285d3e715512571c4b2f92a4d1c65022bbcc9d5
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>


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

Summary of changes:
 acinclude.m4                                    |   10 ++++++
 datapath/linux/compat/include/asm/percpu.h      |    2 +-
 datapath/linux/compat/include/linux/netdevice.h |    2 +-
 datapath/linux/compat/include/net/netlink.h     |    8 ++++-
 datapath/linux/compat/netdevice.c               |    2 +
 datapath/vport-netdev.c                         |   36 ++++++++++++++++++++--
 6 files changed, 53 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list