netdev-dpdk: fix mbuf leaks
[cascardo/ovs.git] / lib / ofp-errors.h
index 4f59acf..d40ca38 100644 (file)
@@ -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 ## */
 /* ## -------------------------- ## */
@@ -649,55 +652,59 @@ enum ofperr {
 /* ## OFPET_BUNDLE_FAILED  ## */
 /* ## -------------------- ## */
 
-    /* OF1.4+(17,0).  Unspecified error. */
+    /* ONF1.3(2300), OF1.4+(17,0).  Unspecified error. */
     OFPERR_OFPBFC_UNKNOWN,
 
-    /* OF1.4+(17,1).  Permissions error. */
+    /* ONF1.3(2301), OF1.4+(17,1).  Permissions error. */
     OFPERR_OFPBFC_EPERM,
 
-    /* OF1.4+(17,2).  Bundle ID doesn't exist. */
+    /* ONF1.3(2302), OF1.4+(17,2).  Bundle ID doesn't exist. */
     OFPERR_OFPBFC_BAD_ID,
 
-    /* OF1.4+(17,3).  Bundle ID already exists. */
+    /* ONF1.3(2303), OF1.4+(17,3).  Bundle ID already exists. */
     OFPERR_OFPBFC_BUNDLE_EXIST,
 
-    /* OF1.4+(17,4).  Bundle ID is closed. */
+    /* ONF1.3(2304), OF1.4+(17,4).  Bundle ID is closed. */
     OFPERR_OFPBFC_BUNDLE_CLOSED,
 
-    /* OF1.4+(17,5).  Too many bundle IDs. */
+    /* ONF1.3(2305), OF1.4+(17,5).  Too many bundle IDs. */
     OFPERR_OFPBFC_OUT_OF_BUNDLES,
 
-    /* OF1.4+(17,6).  Unsupported of unknown message control type. */
+    /* ONF1.3(2306), OF1.4+(17,6).  Unsupported of unknown message control
+     * type. */
     OFPERR_OFPBFC_BAD_TYPE,
 
-    /* OF1.4+(17,7).  Unsupported, unknown, or inconsistent flags. */
+    /* ONF1.3(2307), OF1.4+(17,7).  Unsupported, unknown, or inconsistent
+     * flags. */
     OFPERR_OFPBFC_BAD_FLAGS,
 
-    /* OF1.4+(17,8).  Length problem in included message. */
+    /* ONF1.3(2308), OF1.4+(17,8).  Length problem in included message. */
     OFPERR_OFPBFC_MSG_BAD_LEN,
 
-    /* OF1.4+(17,9).  Inconsistent or duplicate XID. */
+    /* ONF1.3(2309), OF1.4+(17,9).  Inconsistent or duplicate XID. */
     OFPERR_OFPBFC_MSG_BAD_XID,
 
-    /* OF1.4+(17,10).  Unsupported message in this bundle. */
+    /* ONF1.3(2310), OF1.4+(17,10).  Unsupported message in this bundle. */
     OFPERR_OFPBFC_MSG_UNSUP,
 
-    /* OF1.4+(17,11).  Unsupported message combination in this bundle. */
+    /* ONF1.3(2311), OF1.4+(17,11).  Unsupported message combination in this
+     * bundle. */
     OFPERR_OFPBFC_MSG_CONFLICT,
 
-    /* OF1.4+(17,12).  Cant handle this many messages in bundle. */
+    /* ONF1.3(2312), OF1.4+(17,12).  Cant handle this many messages in
+     * bundle. */
     OFPERR_OFPBFC_MSG_TOO_MANY,
 
-    /* OF1.4+(17,13).  One message in bundle failed. */
+    /* ONF1.3(2313), OF1.4+(17,13).  One message in bundle failed. */
     OFPERR_OFPBFC_MSG_FAILED,
 
-    /* OF1.4+(17,14).  Bundle is taking too long. */
+    /* ONF1.3(2314), OF1.4+(17,14).  Bundle is taking too long. */
     OFPERR_OFPBFC_TIMEOUT,
 
-    /* OF1.4+(17,15).  Bundle is locking the resource. */
+    /* ONF1.3(2315), 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
+    /* NX1.3+(22).  In an OFPT_BUNDLE_ADD_MESSAGE, the OpenFlow version in the
      * inner and outer messages differ. */
     OFPERR_NXBFC_BAD_VERSION,
 
@@ -761,9 +768,19 @@ enum ofperr {
      * to be mapped is the same as one assigned to a different field. */
     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);