git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390eada
)
ofproto-provider: Add comment on struct ofport.
author
Ben Pfaff
<blp@nicira.com>
Wed, 11 Dec 2013 00:34:07 +0000
(16:34 -0800)
committer
Ben 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
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-provider.h
b/ofproto/ofproto-provider.h
index
54d97f1
..
600b92b
100644
(file)
--- a/
ofproto/ofproto-provider.h
+++ b/
ofproto/ofproto-provider.h
@@
-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. */