On Mon, Jun 20, 2016 at 07:00:56PM -0700, Jesse Gross wrote: > >> > >> Hi, Yi Yang. > >> > >> Before adding the OVS_VXLAN_EXT_GPE extension to the out-of-tree module, > >> you > >> should send it to the mainline kernel. Besides, you need a very good > >> justification why you can't wait for my patchset to be accepted and have > >> VXLAN-GPE enabled using rtnetlink. > > > > Will add VS_VXLAN_EXT_GPE to include/uapi/linux/openvswitch.h and send a > > kernel patch, but ovs and net-next kernel also can work together. > > I think that you might have misunderstood the gist of the suggestion - > please do not add this extension. This is pure compatibility code for > existing, old features and should not be extended with new things > unless there is a very, very good reason (which would almost certainly > be related to fixing bugs, not new functionality) - especially since > there's already an existing mechanism to do this.
I'm confused, kernel has this header file include/uapi/linux/openvswitch.h, but ovs also has this header file datapath/linux/compat/include/linux/openvswitch.h, both of them included this enumeration definition: enum { OVS_VXLAN_EXT_UNSPEC, OVS_VXLAN_EXT_GBP, /* Flag or __u32 */ __OVS_VXLAN_EXT_MAX, }; Don't we need to make sure they are consistent with the below line? OVS_VXLAN_EXT_GPE, /* Flag, Generic Protocol Extension */ _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev