On Tue, 6 Oct 2015 11:55:35 -0700, Pravin Shelar wrote: > We should be able to use lwtunnel devices on 4.3. How about using > tunnel device parameters to detect lwtunnel support. For example in > case of vxlan tunnel IFLA_VXLAN_COLLECT_METADATA flags can confirm > lwtunnel support.
You would have to create the interface first using that flag and then check whether the created interface has the flag set or not. If not, delete the interface. Unfortunately, old kernels will just ignore the flag when creating the interface. That's why I wrote there's no useful way to check it. Jiri -- Jiri Benc -- 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