projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23adee4
)
ofproto-dpif: Avoid unnecessary ODP-to-OFP port conversion.
author
Ben Pfaff
<blp@nicira.com>
Tue, 17 May 2011 22:46:32 +0000
(15:46 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 17 May 2011 22:46:32 +0000
(15:46 -0700)
ofproto/ofproto-dpif.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index 82bb0e0c2b4c597461914becbc216ebaaef64886..0e4f8cb5695819b1d47625172941d8f8409ceb90 100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-990,7
+990,7
@@
bundle_set(struct ofproto *ofproto_, void *aux,
LIST_FOR_EACH_SAFE (port, next_port, bundle_node, &bundle->ports) {
for (i = 0; i < s->n_slaves; i++) {
- if (s->slaves[i] ==
odp_port_to_ofp_port(port->odp_port)
) {
+ if (s->slaves[i] ==
port->up.ofp_port
) {
goto found;
}
}