[ovs-dev] [port-renumbering 2/8] ofproto-provider: Add comment on struct ofport.
Ben Pfaff
blp at nicira.com
Wed Dec 11 07:19:58 UTC 2013
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
ofproto/ofproto-provider.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h
index 54d97f1..600b92b 100644
--- a/ofproto/ofproto-provider.h
+++ b/ofproto/ofproto-provider.h
@@ -162,6 +162,8 @@ struct ofport *ofproto_get_port(const struct ofproto *, ofp_port_t ofp_port);
/* An OpenFlow port within a "struct ofproto".
*
+ * The port's name is netdev_get_name(port->netdev).
+ *
* With few exceptions, ofproto implementations may look at these fields but
* should not modify them. */
struct ofport {
--
1.7.10.4
More information about the dev
mailing list