ofproto-provider: Add comment on struct ofport.
authorBen Pfaff <blp@nicira.com>
Wed, 11 Dec 2013 00:34:07 +0000 (16:34 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 11 Dec 2013 19:08:32 +0000 (11:08 -0800)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
ofproto/ofproto-provider.h

index 54d97f1..600b92b 100644 (file)
@@ -161,6 +161,8 @@ struct ofproto *ofproto_lookup(const char *name);
 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. */