Skip to content

Commit

Permalink
openvswitch.h: Change OVS_KEY_ATTR_TUN_ID from 100 to 63.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jesse Gross <[email protected]>
  • Loading branch information
blp committed Nov 12, 2011
1 parent a1bf209 commit e9b14f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/openvswitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down

0 comments on commit e9b14f9

Please sign in to comment.