openflow: Table maintenance commands for Geneve options.
[cascardo/ovs.git] / lib / ofp-errors.h
index e6c9211..fbcc641 100644 (file)
@@ -707,6 +707,34 @@ enum ofperr {
     /* OF1.4+(16,7).  Error in output port/group. */
     OFPERR_OFPMOFC_BAD_OUT,
 
+/* ## ----------------------------- ## */
+/* ## OFPET_GENEVE_TABLE_MOD_FAILED ## */
+/* ## ----------------------------- ## */
+
+    /* NX1.0-1.1(1,527), NX1.2+(16).  The Geneve table mod command is not
+     * recognized as a valid operation. */
+    OFPERR_NXGTMFC_BAD_COMMAND,
+
+    /* NX1.0-1.1(1,528), NX1.2+(17).  The option length is not a valid
+     * option size for Geneve. */
+    OFPERR_NXGTMFC_BAD_OPT_LEN,
+
+    /* NX1.0-1.1(1,529), NX1.2+(18).  The field index is out of range for
+     * the supported NX_TUN_METADATA<n> match. */
+    OFPERR_NXGTMFC_BAD_FIELD_IDX,
+
+    /* NX1.0-1.1(1,530), NX1.2+(19).  The total set of configured options
+     * exceeds the maximum supported by the switch. */
+    OFPERR_NXGTMFC_TABLE_FULL,
+
+    /* NX1.0-1.1(1,531), NX1.2+(20).  The controller issued an NXGTMC_ADD
+     * command for a field index that is already mapped. */
+    OFPERR_NXGTMFC_ALREADY_MAPPED,
+
+    /* NX1.0-1.1(1,532), NX1.2+(21).  The Geneve option that is attempting
+     * to be mapped is the same as one assigned to a different field. */
+    OFPERR_NXGTMFC_DUP_ENTRY,
+
 /* ## ------------------ ## */
 /* ## OFPET_EXPERIMENTER ## */
 /* ## ------------------ ## */