netdev-dpdk: Do not add vhost-user ports with '/' or '\' in name.
[cascardo/ovs.git] / lib / ofp-errors.h
index fbcc641..a9abc05 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Nicira, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -504,6 +504,9 @@ enum ofperr {
     /* OF1.0(5,2), OF1.1+(9,2).  Permissions error. */
     OFPERR_OFPQOFC_EPERM,
 
+    /* NX1.4+(23).  System error retrieving queue details. */
+    OFPERR_NXQOFC_QUEUE_ERROR,
+
 /* ## -------------------------- ## */
 /* ## OFPET_SWITCH_CONFIG_FAILED ## */
 /* ## -------------------------- ## */
@@ -590,39 +593,61 @@ enum ofperr {
 /* ## OFPET_BAD_PROPERTY ## */
 /* ## ------------------ ## */
 
-    /* OF1.3(13,2), OF1.4+(14,0).  Unknown property type.
+    /* NX1.0-1.1(13,2), NX1.2(25), OF1.3(13,2), OF1.4+(14,0).  Unknown property
+     * type.
      *
      * [Known as OFPTFFC_BAD_TYPE in OF1.3.] */
     OFPERR_OFPBPC_BAD_TYPE,
 
-    /* OF1.3(13,3), OF1.4+(14,1).  Length problem in property.
+    /* NX1.0-1.1(13,3), NX1.2(26), OF1.3(13,3), OF1.4+(14,1).  Length problem
+     * in property.
      *
      * [Known as OFPTFFC_BAD_LEN in OF1.3.] */
     OFPERR_OFPBPC_BAD_LEN,
 
-    /* OF1.3(13,4), OF1.4+(14,2).  Unsupported property value.
+    /* NX1.0-1.1(13,4), NX1.2(27), OF1.3(13,4), OF1.4+(14,2).  Unsupported
+     * property value.
      *
      * [Known as OFPTFFC_BAD_ARGUMENT in OF1.3.] */
     OFPERR_OFPBPC_BAD_VALUE,
 
-    /* ONF1.3(4443), OF1.4+(14,3).  Can't handle this many properties. */
+    /* NX1.0-1.1(14,3), NX1.2(28), ONF1.3(4443), OF1.4+(14,3).  Can't handle
+     * this many properties. */
     OFPERR_OFPBPC_TOO_MANY,
 
-    /* ONF1.3(4444), OF1.4+(14,4).  A property type was duplicated. */
+    /* NX1.0-1.1(14,4), NX1.2(29), ONF1.3(4444), OF1.4+(14,4).  A property type
+     * was duplicated. */
     OFPERR_OFPBPC_DUP_TYPE,
 
-    /* ONF1.3(4445), OF1.4+(14,5).  Unknown experimenter id specified. */
+    /* NX1.0-1.1(14,5), NX1.2(30), ONF1.3(4445), OF1.4+(14,5).  Unknown
+     * experimenter id specified. */
     OFPERR_OFPBPC_BAD_EXPERIMENTER,
 
-    /* ONF1.3(4446), OF1.4+(14,6).  Unknown exp_type for experimenter id. */
+    /* NX1.0-1.1(14,6), NX1.2(31), ONF1.3(4446), OF1.4+(14,6).  Unknown
+     * exp_type for experimenter id. */
     OFPERR_OFPBPC_BAD_EXP_TYPE,
 
-    /* ONF1.3(4447), OF1.4+(14,7).  Unknown value for experimenter id. */
+    /* NX1.0-1.1(14,7), NX1.2(32), ONF1.3(4447), OF1.4+(14,7).  Unknown value
+     * for experimenter id. */
     OFPERR_OFPBPC_BAD_EXP_VALUE,
 
-    /* ONF1.3(4448), OF1.4+(14,8).  Permissions error. */
+    /* NX1.0-1.1(14,8), NX1.2(33), ONF1.3(4448), OF1.4+(14,8).  Permissions
+     * error. */
     OFPERR_OFPBPC_EPERM,
 
+/* ## -------------------------- ## */
+/* ## OFPET_ASYNC_CONFIG_FAILED  ## */
+/* ## -------------------------- ## */
+
+    /* OF1.4+(15,0).  One mask is invalid. */
+    OFPERR_OFPACFC_INVALID,
+
+    /* OF1.4+(15,1).  Requested configuration not supported. */
+    OFPERR_OFPACFC_UNSUPPORTED,
+
+    /* OF1.4+(15,2).  Permissions error. */
+    OFPERR_OFPACFC_EPERM,
+
 /* ## -------------------- ## */
 /* ## OFPET_BUNDLE_FAILED  ## */
 /* ## -------------------- ## */
@@ -675,6 +700,10 @@ enum ofperr {
     /* OF1.4+(17,15).  Bundle is locking the resource. */
     OFPERR_OFPBFC_BUNDLE_IN_PROGRESS,
 
+    /* NX1.4+(22).  In an OFPT_BUNDLE_ADD_MESSAGE, the OpenFlow version in the
+     * inner and outer messages differ. */
+    OFPERR_NXBFC_BAD_VERSION,
+
 /* ## ------------------------- ## */
 /* ## OFPET_FLOW_MONITOR_FAILED ## */
 /* ## ------------------------- ## */
@@ -708,36 +737,46 @@ enum ofperr {
     OFPERR_OFPMOFC_BAD_OUT,
 
 /* ## ----------------------------- ## */
-/* ## OFPET_GENEVE_TABLE_MOD_FAILED ## */
+/* ## OFPET_TLV_TABLE_MOD_FAILED ## */
 /* ## ----------------------------- ## */
 
-    /* NX1.0-1.1(1,527), NX1.2+(16).  The Geneve table mod command is not
+    /* NX1.0-1.1(1,527), NX1.2+(16).  The TLV table mod command is not
      * recognized as a valid operation. */
-    OFPERR_NXGTMFC_BAD_COMMAND,
+    OFPERR_NXTTMFC_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,
+     * option size for TLVs. */
+    OFPERR_NXTTMFC_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,
+    OFPERR_NXTTMFC_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,
+    OFPERR_NXTTMFC_TABLE_FULL,
 
-    /* NX1.0-1.1(1,531), NX1.2+(20).  The controller issued an NXGTMC_ADD
+    /* NX1.0-1.1(1,531), NX1.2+(20).  The controller issued an NXTTMC_ADD
      * command for a field index that is already mapped. */
-    OFPERR_NXGTMFC_ALREADY_MAPPED,
+    OFPERR_NXTTMFC_ALREADY_MAPPED,
 
-    /* NX1.0-1.1(1,532), NX1.2+(21).  The Geneve option that is attempting
+    /* NX1.0-1.1(1,532), NX1.2+(21).  The option TLV that is attempting
      * to be mapped is the same as one assigned to a different field. */
-    OFPERR_NXGTMFC_DUP_ENTRY,
+    OFPERR_NXTTMFC_DUP_ENTRY,
 
-/* ## ------------------ ## */
-/* ## OFPET_EXPERIMENTER ## */
-/* ## ------------------ ## */
+/* ## ---------- ## */
+/* ## NXT_RESUME ## */
+/* ## ---------- ## */
+
+    /* NX1.0-1.1(1,533), NX1.2+(34).  This datapath doesn't support
+     * NXT_RESUME. */
+    OFPERR_NXR_NOT_SUPPORTED,
+
+    /* NX1.0-1.1(1,534), NX1.2+(35).  Continuation is stale: Open vSwitch
+     * process has been restarted or bridge has been destroyed since
+     * continuation was generated, or continuation was not generated by this
+     * Open vSwitch instance. */
+    OFPERR_NXR_STALE,
 };
 
 const char *ofperr_domain_get_name(enum ofp_version);