On Wed, Oct 1, 2014 at 1:02 AM, Andy Zhou <az...@nicira.com> wrote: > OVS_VPORT_TYPE_GENEVE is currently hard coded to 6. This is not > necessary since slot 5 has not been taken yet. Drop the hard > coded value to before upstreaming GENEVE support to Linux kernel. > > Signed-off-by: Andy Zhou <az...@nicira.com> looks good.
Acked-by: Pravin B Shelar <pshe...@nicira.com> > --- > datapath/linux/compat/include/linux/openvswitch.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/datapath/linux/compat/include/linux/openvswitch.h > b/datapath/linux/compat/include/linux/openvswitch.h > index 306ea86..5d40da5 100644 > --- a/datapath/linux/compat/include/linux/openvswitch.h > +++ b/datapath/linux/compat/include/linux/openvswitch.h > @@ -222,7 +222,7 @@ enum ovs_vport_type { > OVS_VPORT_TYPE_INTERNAL, /* network device implemented by datapath */ > OVS_VPORT_TYPE_GRE, /* GRE tunnel. */ > OVS_VPORT_TYPE_VXLAN, /* VXLAN tunnel */ > - OVS_VPORT_TYPE_GENEVE = 6, /* Geneve tunnel */ > + OVS_VPORT_TYPE_GENEVE, /* Geneve tunnel */ > OVS_VPORT_TYPE_GRE64 = 104, /* GRE tunnel with 64-bit keys */ > OVS_VPORT_TYPE_LISP = 105, /* LISP tunnel */ > __OVS_VPORT_TYPE_MAX > -- > 1.9.1 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev