summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-08-20 10:33:02 -0700
committerBen Pfaff <blp@nicira.com>2010-11-05 09:25:37 -0700
commit422bb884ec461dcbdff95013909812d0e36664ba (patch)
tree1084a524595d7e2e8e045364615c7d67aa5e57d9 /include
parent217f48c61bbfe1422f00830f36d2d255d3622446 (diff)
downloadopenvswitch-422bb884ec461dcbdff95013909812d0e36664ba.tar.gz
Sync Nicira error number assignments with "wdp" branch.
This adds the error numbers that the "wdp" branch added, without adding any uses of them (because they are not needed on "master" yet).
Diffstat (limited to 'include')
-rw-r--r--include/openflow/nicira-ext.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h
index fcdbba4f4..70b450276 100644
--- a/include/openflow/nicira-ext.h
+++ b/include/openflow/nicira-ext.h
@@ -69,6 +69,24 @@ struct nx_vendor_error {
/* Followed by at least the first 64 bytes of the failed request. */
};
+/* Specific Nicira extension error numbers.
+ *
+ * These are the "code" values used in nx_vendor_error. So far, the "type"
+ * values in nx_vendor_error are the same as those in ofp_error_msg. That is,
+ * at Nicira so far we've only needed additional vendor-specific 'code' values,
+ * so we're using the existing 'type' values to avoid having to invent new ones
+ * that duplicate the current ones' meanings. */
+
+/* Additional "code" values for OFPET_FLOW_MOD_FAILED. */
+enum {
+ /* Generic hardware error. */
+ NXFMFC_HARDWARE = 0x100,
+
+ /* A nonexistent table ID was specified in the "command" field of struct
+ * ofp_flow_mod, when the nxt_flow_mod_table_id extension is enabled. */
+ NXFMFC_BAD_TABLE_ID
+};
+
/* Nicira vendor requests and replies. */
enum nicira_type {