[ovs-dev] [PATCH] Genericize/simplify kernel sFlow implementation
Jesse Gross
jesse at nicira.com
Tue Sep 13 16:57:01 UTC 2011
One more thing:
On Tue, Aug 30, 2011 at 6:59 PM, Pravin Shelar <pshelar at 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.
More information about the dev
mailing list