diff options
| author | Ethan Jackson <ethan@nicira.com> | 2011-07-14 13:53:34 -0700 |
|---|---|---|
| committer | Ethan Jackson <ethan@nicira.com> | 2011-07-19 11:34:25 -0700 |
| commit | e81d293375afe757770d339c8bd0cd57e661a1a0 (patch) | |
| tree | 189e101213ca027dbfe8c1919a398cbabfa8e781 /ofproto | |
| parent | 07817dfe1179dc08b67f37875f2b8a818556fc3d (diff) | |
| download | openvswitch-e81d293375afe757770d339c8bd0cd57e661a1a0.tar.gz | |
ofproto: Don't commit modifiers on OFPP_NONE outputs.
This provides a minor optimization.
Diffstat (limited to 'ofproto')
| -rw-r--r-- | ofproto/ofproto-dpif.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 228b32c35..a4a56abb5 100644 --- 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); |
