One more thing:

On Tue, Aug 30, 2011 at 6:59 PM, Pravin Shelar <pshe...@nicira.com> wrote:
> diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
> index f09c230..fa70be6 100644
> --- a/ofproto/ofproto-dpif.c
> +++ b/ofproto/ofproto-dpif.c
> @@ -2903,6 +3023,8 @@ add_output_action(struct action_xlate_ctx *ctx, 
> uint16_t ofp_port)
>     commit_odp_actions(ctx);
>     nl_msg_put_u32(ctx->odp_actions, OVS_ACTION_ATTR_OUTPUT, odp_port);
>     ctx->nf_output_iface = ofp_port;
> +    ctx->sflow_odp_port = ofp_port;

We're keeping track of the ODP port but assign OFP port here.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to