Jesse helped to clarify how to maintain the ABI. Making the adjustment accordingly and add some comments.
Signed-off-by: Andy Zhou <az...@nicira.com> --- include/linux/openvswitch.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h index 3fc4978..a88f6f1 100644 --- a/include/linux/openvswitch.h +++ b/include/linux/openvswitch.h @@ -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 -- 1.7.9.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev