[ovs-dev] [PATCH 00/10] Support layer3 VXLAN-GPE and GRE in kernel datapath

Thomas Morin thomas.morin at orange.com
Wed Jul 12 12:17:38 UTC 2017


Hi Eric,

> 2017-07-11, Eric Garver:
>> Inserting an important note for reviewers/testers.
[...]
>> 
>> Note: This depends on vport-netdev changes to allow L3 netdev ports,
>> kernel commit 217ac77a3c25 ("openvswitch: allow L3 netdev ports"). So
>> you either need a 4.10+ kernel or use the modules provided with OVS.


I was able to successfully do MPLS/GRE (without TEB, ie. 
options:packet_type=legacy_l3) with this patch series, on a 4.11 kernel 
with the openvswitch kernel module provided with OVS (DKMS compiled), 
and with the kernel openvswitch module as well.

It is really great to this this work today!

However, as per our discussion on irc yesterday [1], I wasn't able to 
have this working (issue on reception) on an 4.8.x kernel, even with the 
openvswitch kernel module provided with OVS. Is it possible that another 
kernel fix/modification is needed that is not in 4.8.x ?

-Thomas

[1] https://botbot.me/freenode/openvswitch/2017-07-11/?msg=88419890&page=1

> 
>>
>> Eric Garver (10):
>>    netlink: Add function to filter nlattrs
>>    dpif-netlink: For non-Ethernet, use Ethertype from packet_type
>>    dpif-netlink-rtnl: Support VXLAN-GPE
>>    dpif-netlink-rtnl: Support layer3 GRE
>>    system-common-macros: Allow passing config to ADD_OVS_TUNNEL
>>    system-common-macros: Add macro to check for ip-route encap support
>>    system-common-macros: Add macro to check for VXLAN-GPE support
>>    system-layer3-tunnels: Add basic VXLAN-GPE ping test case
>>    system-common-macros: Add macro to check for L3 GRE support
>>    system-layer3-tunnels: Add basic GRE ping test case
>>
>>   lib/dpif-netlink-rtnl.c             | 34 +++++++++----
>>   lib/dpif-netlink.c                  | 48 ++++++++++++------
>>   lib/netlink.c                       | 20 ++++++++
>>   lib/netlink.h                       |  1 +
>>   tests/automake.mk                   |  1 +
>>   tests/system-common-macros.at       | 21 ++++++--
>>   tests/system-kmod-testsuite.at      |  1 +
>>   tests/system-layer3-tunnels.at      | 99 +++++++++++++++++++++++++++++++++++++
>>   tests/system-userspace-testsuite.at |  1 +
>>   9 files changed, 197 insertions(+), 29 deletions(-)
>>   create mode 100644 tests/system-layer3-tunnels.at
>>
>> -- 
>> 2.12.0
>>
>> _______________________________________________
>> dev mailing list
>> dev at openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-dev


More information about the dev mailing list