diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2015-12-03 11:40:53 -0800 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2015-12-03 16:30:21 -0800 |
commit | e23775f20e1a4c193c22f3fc78fb41ebcd93eeac (patch) | |
tree | 000e3d9413a5a83ffa70a4da57c9d06775974651 /datapath/Modules.mk | |
parent | 1b43cf9e68f4dd0dab4f9d3fa9dd80aeb642c139 (diff) | |
download | openvswitch-e23775f20e1a4c193c22f3fc78fb41ebcd93eeac.tar.gz |
datapath: Add support for lwtunnel
Following patch adds support for lwtunnel to OVS datapath.
With this change OVS datapath detect lwtunnel support and
make use of new APIs if available. On older kernel where the
support is not there the backported tunnel modules are used.
These backported tunnel devices acts as lwtunnel devices.
I tried to keep backported module same as upstream for easier
bug-fix backport. Since STT and LISP are not upstream OVS
always needs to use respective modules from tunnel compat layer.
To make it work on kernel 4.3 I have converted STT and LISP
modules to lwtunnel API model.
lwtunnel make use of skb-dst to pass tunnel information to the
tunnel module. On older kernel this is not possible. So the in
case of old kernel metadata ref is stored in OVS_CB and direct
call to tunnel transmit function is made by respective tunnel
vport modules. Similarly on receive side tunnel recv directly
call netdev-vport-receive to pass the skb to OVS.
Major backported components include:
Geneve, GRE, VXLAN, ip_tunnel, udp-tunnels GRO.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Joe Stringer <joe@ovn.org>
Acked-by: Jesse Gross <jesse@kernel.org>
Diffstat (limited to 'datapath/Modules.mk')
-rw-r--r-- | datapath/Modules.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/datapath/Modules.mk b/datapath/Modules.mk index 8dc3415c6..c06eafc1e 100644 --- a/datapath/Modules.mk +++ b/datapath/Modules.mk @@ -42,8 +42,7 @@ openvswitch_headers = \ vlan.h \ vport.h \ vport-internal_dev.h \ - vport-netdev.h \ - vport-vxlan.h + vport-netdev.h openvswitch_extras = \ README.md |