With the recent flow based tunneling changes, VXLAN support was broken. These patches address this by enabling VXLAN to work as it did before flow based tunneling was pushed upstream.
Kyle Mestery (6): Modify netdev_vport_get_dpif_port() to return a name for VXLAN ports which includes the destination UDP port number as a part of the name. Modify dpif_linux_port_add() to set the destination port for VXLAN ports. Add utility functions to the simap structure. These are used by future patches in this seris. The functions added are. Move dpif_backer->tnl_backers from a "struct sset" to a "struct simap". Store odp_port in the new map. This will make it easier to access the odp_port for future patches. In tnl_set_config(), when determining if a tunnel port already exists, make sure to also check the destination port. For VXLAN, this can be different and allows multiple VXLAN ports in the datapath to be created. Garbage collect tnl_backers during type_run(). Add new tnl_backers if a VXLAN ports UDP port changes. datapath/tunnel.c | 18 ++++++- lib/dpif-linux.c | 11 ++++ lib/netdev-vport.c | 36 +++++++++++-- lib/simap.c | 19 +++++++ lib/simap.h | 2 + ofproto/ofproto-dpif.c | 133 +++++++++++++++++++++++++++++-------------------- 6 files changed, 161 insertions(+), 58 deletions(-) -- 1.8.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev