openvswitch.h: Change OVS_KEY_ATTR_TUN_ID from 100 to 63.
authorBen Pfaff <blp@nicira.com>
Thu, 10 Nov 2011 00:15:36 +0000 (16:15 -0800)
committerBen Pfaff <blp@nicira.com>
Sat, 12 Nov 2011 20:03:28 +0000 (12:03 -0800)
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@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
include/linux/openvswitch.h

index ea9c6f657c30d66a895027087246a111262f49d2..966ef7a0ae4004873f77f1f5d4ce0fc90b43464f 100644 (file)
@@ -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
 };