[ovs-dev] [encap 2/4] openvswitch.h: Change OVS_KEY_ATTR_TUN_ID from 100 to 63.

Ben Pfaff blp at nicira.com
Fri Nov 11 22:26:57 UTC 2011


It's useful to be able to track sets of attributes by using their values as
bit indexes.  That's easier if the values are all in the range of a basic
C integer type.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 include/linux/openvswitch.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h
index ea9c6f6..966ef7a 100644
--- a/include/linux/openvswitch.h
+++ b/include/linux/openvswitch.h
@@ -277,7 +277,7 @@ enum ovs_key_attr {
 	OVS_KEY_ATTR_ICMPV6,    /* struct ovs_key_icmpv6 */
 	OVS_KEY_ATTR_ARP,       /* struct ovs_key_arp */
 	OVS_KEY_ATTR_ND,        /* struct ovs_key_nd */
-	OVS_KEY_ATTR_TUN_ID = 100, /* be64 tunnel ID */
+	OVS_KEY_ATTR_TUN_ID = 63, /* be64 tunnel ID */
 	__OVS_KEY_ATTR_MAX
 };
 
-- 
1.7.4.4




More information about the dev mailing list