Following patches adds spport for Geneve tunnel metadata mode. OVS can make use of Geneve net-device with tunnel metadata API from kernel.
This also allows us to consolidate Geneve implementation from two kernel modules geneve_core and geneve to single geneve module. geneve_core module was targeted to share Geneve encap and decap code between Geneve netdevice and OVS Geneve tunnel implementation, Since OVS no longer needs these API, Geneve code can be consolidated into single geneve module. Pravin B Shelar (6): tunnel: introduce udp_tun_rx_dst() geneve: Make dst-port configurable. geneve: Add support to collect tunnel metadata. openvswitch: Use Geneve device. geneve: Consolidate Geneve functionality in single module. geneve: Remove duplicate dev list drivers/net/Kconfig | 2 +- drivers/net/geneve.c | 731 ++++++++++++++++++++++++++++++++++------- drivers/net/vxlan.c | 18 +- include/net/dst_metadata.h | 27 ++ include/net/geneve.h | 35 +- include/net/udp_tunnel.h | 3 + include/uapi/linux/if_link.h | 2 + net/ipv4/Kconfig | 14 - net/ipv4/Makefile | 1 - net/ipv4/geneve_core.c | 447 ------------------------- net/ipv4/ip_gre.c | 21 +- net/ipv4/udp_tunnel.c | 24 +- net/openvswitch/Kconfig | 2 +- net/openvswitch/vport-geneve.c | 179 ++-------- 14 files changed, 719 insertions(+), 787 deletions(-) delete mode 100644 net/ipv4/geneve_core.c -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html