[ovs-git] [openvswitch/ovs] 63171f: userspace: L3 tunnel support for GRE and LISP
GitHub
noreply at github.com
Fri Jun 2 21:40:57 UTC 2017
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 63171f047fe20ef62ce0c42c4b9da2114ddd4bff
https://github.com/openvswitch/ovs/commit/63171f047fe20ef62ce0c42c4b9da2114ddd4bff
Author: Jan Scheurich <jan.scheurich at ericsson.com>
Date: 2017-06-02 (Fri, 02 Jun 2017)
Changed paths:
M NEWS
M lib/netdev-native-tnl.c
M lib/netdev-vport.c
M ofproto/tunnel.c
M tests/tunnel-push-pop-ipv6.at
M tests/tunnel-push-pop.at
M vswitchd/vswitch.xml
Log Message:
-----------
userspace: L3 tunnel support for GRE and LISP
Add a boolean "layer3" configuration option for tunnel vports.
The layer3 option defaults to false for all ports except LISP.
GRE ports accept both true and false for "layer3".
A tunnel vport configured with layer3=true receives L3 packets.
which are then converted to Ethernet packets by pushing a dummy
Ethernet heder at the ingress of the OpenFlow pipeline. The
Ethernet header of a packet is stripped before sending to a
layer3 tunnel vport.
Presently a single GRE vport cannot carry both L2 and L3 packets.
But it is possible to create two GRE vports representing the same
GRE tunel, one with layer3=false, the other with layer3=true.
L2 packet from the tunnel are received on the first vport, L3
packets on the second. The controller must send packets to the
layer3 GRE vport to tunnel them without their Ethernet header.
Units tests have been added to check the L3 tunnel handling.
LISP tunnels are not yet supported by the netdev userspace datapath.
Signed-off-by: Simon Horman <simon.horman at netronome.com>
Signed-off-by: Jiri Benc <jbenc at redhat.com>
Signed-off-by: Yi Yang <yi.y.yang at intel.com>
Signed-off-by: Jan Scheurich <jan.scheurich at ericsson.com>
Co-authored-by: Zoltan Balogh <zoltan.balogh at ericsson.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list