Skip to content

Commit

Permalink
recirculation: Adjust ovs_key_attr ABI
Browse files Browse the repository at this point in the history
Jesse helped to clarify how to maintain the ABI. Making the
adjustment accordingly and add some comments.

Signed-off-by: Andy Zhou <[email protected]>
Acked-by: Jesse Gross <[email protected]>
  • Loading branch information
azhou-nicira committed Mar 28, 2014
1 parent 317e49b commit 0962036
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/linux/openvswitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,13 @@ enum ovs_key_attr {
OVS_KEY_ATTR_TUNNEL, /* Nested set of ovs_tunnel attributes */
OVS_KEY_ATTR_SCTP, /* struct ovs_key_sctp */
OVS_KEY_ATTR_TCP_FLAGS, /* be16 TCP flags. */
OVS_KEY_ATTR_DP_HASH, /* u32 hash value */
OVS_KEY_ATTR_RECIRC_ID, /* u32 recirc id */
#ifdef __KERNEL__
/* Only used within kernel data path. */
OVS_KEY_ATTR_IPV4_TUNNEL, /* struct ovs_key_ipv4_tunnel */
#endif

OVS_KEY_ATTR_DP_HASH = 20, /* u32 hash value */
OVS_KEY_ATTR_RECIRC_ID, /* u32 recirc id */
/* Experimental */

OVS_KEY_ATTR_MPLS = 62, /* array of struct ovs_key_mpls.
* The implementation may restrict
Expand Down

0 comments on commit 0962036

Please sign in to comment.