summaryrefslogtreecommitdiff
path: root/lib/dpif-provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dpif-provider.h')
-rw-r--r--lib/dpif-provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/dpif-provider.h b/lib/dpif-provider.h
index 56b88f93d..d3b2bb91d 100644
--- a/lib/dpif-provider.h
+++ b/lib/dpif-provider.h
@@ -176,6 +176,10 @@ struct dpif_class {
* If 'port' is not null, stores information about the port into
* '*port' if successful.
*
+ * If the port doesn't exist, the provider must return ENODEV. Other
+ * error numbers means that something wrong happened and will be
+ * treated differently by upper layers.
+ *
* If 'port' is not null, the caller takes ownership of data in
* 'port' and must free it with dpif_port_destroy() when it is no
* longer needed. */