[ovs-dev] [PATCH 2/2] datapath: Account for RHEL6.4 backports in compat layer

2013-04-25 Thread Thomas Graf
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 --- V2: - Move can_checksum_protocol() back into #ifdef acinclude.m4| 7 +

Re: [ovs-dev] [PATCH 2/2] datapath: Account for RHEL6.4 backports in compat layer

2013-04-23 Thread Thomas Graf
On 04/24/2013 12:06 AM, Jesse Gross wrote: OK, thanks. I was about to apply this but it adds a new warning (on a non-RHEL platform): /home/jgross/openvswitch/datapath/linux/netdevice.c:5:13: warning: ‘can_checksum_protocol’ defined but not used [-Wunused-function] This happens since the code in

Re: [ovs-dev] [PATCH 2/2] datapath: Account for RHEL6.4 backports in compat layer

2013-04-23 Thread Jesse Gross
On Tue, Apr 23, 2013 at 2:27 PM, Thomas Graf wrote: > On 04/23/2013 10:42 PM, Jesse Gross wrote: >> >> On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf wrote: >>> >>> diff --git a/datapath/linux/compat/include/asm/percpu.h >>> b/datapath/linux/compat/include/asm/percpu.h >>> index 404b937..65bce08 10

Re: [ovs-dev] [PATCH 2/2] datapath: Account for RHEL6.4 backports in compat layer

2013-04-23 Thread Thomas Graf
On 04/23/2013 10:42 PM, Jesse Gross wrote: On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf wrote: diff --git a/datapath/linux/compat/include/asm/percpu.h b/datapath/linux/compat/include/asm/percpu.h index 404b937..65bce08 100644 --- a/datapath/linux/compat/include/asm/percpu.h +++ b/datapath/linu

Re: [ovs-dev] [PATCH 2/2] datapath: Account for RHEL6.4 backports in compat layer

2013-04-23 Thread Jesse Gross
On Fri, Apr 19, 2013 at 7:01 AM, Thomas Graf wrote: > diff --git a/datapath/linux/compat/include/asm/percpu.h > b/datapath/linux/compat/include/asm/percpu.h > index 404b937..65bce08 100644 > --- a/datapath/linux/compat/include/asm/percpu.h > +++ b/datapath/linux/compat/include/asm/percpu.h > @@ -

[ovs-dev] [PATCH 2/2] datapath: Account for RHEL6.4 backports in compat layer

2013-04-19 Thread Thomas Graf
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 --- acinclude.m4| 7 +++ datapath/linux/compat/include/asm/percpu.h