projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07817df
)
ofproto: Don't commit modifiers on OFPP_NONE outputs.
author
Ethan Jackson
<ethan@nicira.com>
Thu, 14 Jul 2011 20:53:34 +0000
(13:53 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Tue, 19 Jul 2011 18:34:25 +0000
(11:34 -0700)
This provides a minor optimization.
ofproto/ofproto-dpif.c
patch
|
blob
|
history
diff --git
a/ofproto/ofproto-dpif.c
b/ofproto/ofproto-dpif.c
index 228b32c35416cfb1839ef0b3bf98069821be2d54..a4a56abb5649c7fa156c0d387fdd4f28f3cfc26a 100644
(file)
--- a/
ofproto/ofproto-dpif.c
+++ b/
ofproto/ofproto-dpif.c
@@
-2935,6
+2935,8
@@
xlate_output_action__(struct action_xlate_ctx *ctx,
case OFPP_LOCAL:
add_output_action(ctx, OFPP_LOCAL);
break;
+ case OFPP_NONE:
+ break;
default:
if (port != ctx->flow.in_port) {
add_output_action(ctx, port);