[ovs-dev] [PATCH] netdev: Update comment.

Ben Pfaff blp at nicira.com
Thu Feb 28 19:20:22 UTC 2013


The claim that there's only a single implementation was long obsolete.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/netdev.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/netdev.h b/lib/netdev.h
index a691d70..13105ee 100644
--- a/lib/netdev.h
+++ b/lib/netdev.h
@@ -26,11 +26,12 @@
 extern "C" {
 #endif
 
-/* Generic interface to network devices.
+/* Generic interface to network devices ("netdev"s).
  *
- * Currently, there is a single implementation of this interface that supports
- * Linux.  The interface should be generic enough to be implementable on other
- * operating systems as well. */
+ * Every port on a switch must have a corresponding netdev that must minimally
+ * support a few operations, such as the ability to read the netdev's MTU.
+ * The PORTING file at the top of the source tree has more information in the
+ * "Writing a netdev Provider" section. */
 
 struct ofpbuf;
 struct in_addr;
-- 
1.7.2.5




More information about the dev mailing list