Skip to content

Commit

Permalink
ovn: Use assigned Geneve class.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
jessegross committed Jan 14, 2016
1 parent 3b6565c commit 57d4453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions ovn/controller/physical.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion ovn/ovn-architecture.7.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@

<!-- 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>

Expand Down

0 comments on commit 57d4453

Please sign in to comment.