ovn: Use assigned Geneve class.
authorJesse Gross <jesse@kernel.org>
Thu, 14 Jan 2016 22:25:17 +0000 (14:25 -0800)
committerJesse Gross <jesse@kernel.org>
Thu, 14 Jan 2016 22:47:43 +0000 (14:47 -0800)
The most recent version of the Geneve draft included an option
class assignment for OVN:
https://tools.ietf.org/html/draft-ietf-nvo3-geneve-01

As a result, we can stop using the experimental class and switch to
the allocated one (0x0102).

Signed-off-by: Jesse Gross <jesse@kernel.org>
Acked-by: Ben Pfaff <blp@ovn.org>
ovn/controller/physical.h
ovn/ovn-architecture.7.xml

index a06f759..2906937 100644 (file)
@@ -34,11 +34,9 @@ struct ovsrec_bridge;
 struct simap;
 
 /* OVN Geneve option information.
- *
- * These are placeholders until OVS is assigned a Geneve option class.
  *
  * Keep these in sync with the documentation in ovn-architecture(7). */
-#define OVN_GENEVE_CLASS 0xffff  /* Geneve experimental class. */
+#define OVN_GENEVE_CLASS 0x0102  /* Assigned Geneve class for OVN. */
 #define OVN_GENEVE_TYPE 0
 #define OVN_GENEVE_LEN 4
 
index 318555b..c437b0d 100644 (file)
 
     <!-- Keep the following in sync with ovn/controller/physical.h. -->
     OVN transmits the logical ingress and logical egress ports in a TLV with
-    class 0xffff, type 0, and a 32-bit value encoded as follows, from MSB to
+    class 0x0102, type 0, and a 32-bit value encoded as follows, from MSB to
     LSB:
   </p>