summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-06-09 15:18:21 -0700
committerBen Pfaff <blp@nicira.com>2011-06-10 09:03:22 -0700
commitd1e9b9bf30de1cdcac4d4da74d2a5c017f41519d (patch)
tree764967afceec6496dba31220a9be4b41f119fd2a /include
parent6c222e55fa4222c6724094e1e7a0a69addf6b030 (diff)
downloadopenvswitch-d1e9b9bf30de1cdcac4d4da74d2a5c017f41519d.tar.gz
nicira-ext: Renumber NXT_FLOW_MOD_TABLE_ID.
We don't know of anyone using this command in production yet, so it seems reasonable to give it a new number instead of coping with it having a conflicting number.
Diffstat (limited to 'include')
-rw-r--r--include/openflow/nicira-ext.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h
index 4270c1654..c516b9f2b 100644
--- a/include/openflow/nicira-ext.h
+++ b/include/openflow/nicira-ext.h
@@ -141,19 +141,15 @@ enum nicira_type {
NXT_ROLE_REQUEST,
NXT_ROLE_REPLY,
- /* Use the upper 8 bits of the 'command' member in struct ofp_flow_mod to
- * designate the table to which a flow is to be added? See the big comment
- * on struct nxt_flow_mod_table_id for more information.
- *
- * A screwup caused this extension to be assigned the same value as
- * NXT_SET_FLOW_FORMAT (see below). The two extensions do have different
- * lengths, so they can still be distinguished. */
- NXT_FLOW_MOD_TABLE_ID,
-
/* Flexible flow specification (aka NXM = Nicira Extended Match). */
- NXT_SET_FLOW_FORMAT = NXT_FLOW_MOD_TABLE_ID, /* Set flow format. */
+ NXT_SET_FLOW_FORMAT, /* Set flow format. */
NXT_FLOW_MOD, /* Analogous to OFPT_FLOW_MOD. */
- NXT_FLOW_REMOVED /* Analogous to OFPT_FLOW_REMOVED. */
+ NXT_FLOW_REMOVED, /* Analogous to OFPT_FLOW_REMOVED. */
+
+ /* Use the upper 8 bits of the 'command' member in struct ofp_flow_mod to
+ * designate the table to which a flow is to be added? See the big comment
+ * on struct nxt_flow_mod_table_id for more information. */
+ NXT_FLOW_MOD_TABLE_ID
};
/* Header for Nicira vendor stats request and reply messages. */