[ovs-dev] [PATCH v2] datapath: Add support for 3.6 kernel.

Pravin Shelar pshelar at nicira.com
Tue Oct 30 03:49:02 UTC 2012


On Mon, Oct 29, 2012 at 7:21 PM, Jesse Gross <jesse at nicira.com> wrote:
> On Mon, Oct 29, 2012 at 2:32 PM, Pravin B Shelar <pshelar at nicira.com> wrote:
>> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
>> ---
>>  datapath/datapath.c |    4 ++--
>>  datapath/tunnel.c   |   33 +++++++++++++++++++--------------
>>  2 files changed, 21 insertions(+), 16 deletions(-)
>>
>> diff --git a/datapath/datapath.c b/datapath/datapath.c
>> index 65f4dc8..9c253e1 100644
>> --- a/datapath/datapath.c
>> +++ b/datapath/datapath.c
>> @@ -61,8 +61,8 @@
>>  #include "vport-internal_dev.h"
>>
>>  #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18) || \
>> -    LINUX_VERSION_CODE >= KERNEL_VERSION(3,6,0)
>> -#error Kernels before 2.6.18 or after 3.5 are not supported by this version of Open vSwitch.
>> +    LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0)
>> +#error Kernels before 2.6.18 or after 3.6 are not supported by this version of Open vSwitch.
>>  #endif
>>
>>  #define REHASH_FLOW_INTERVAL (10 * 60 * HZ)
>
> Isn't this missing the Netlink PID renames in datapath.c or macros to
> handle it?  Did I miss a patch somewhere?

I forgot to mention that those changes are in kernel 3.7, so I dropped those.



More information about the dev mailing list