[ovs-dev] [PATCH] ofproto-dpif-trace: Make -generate send packets to controller again.

Justin Pettit jpettit at ovn.org
Fri Aug 24 20:30:24 UTC 2018


> On Aug 24, 2018, at 12:25 PM, Ben Pfaff <blp at ovn.org> wrote:
> 
> +/* Copies ODP actions from 'in' (with length 'size') to 'out', dropping
> + * OVS_ACTION_ATTR_OUTPUT along the way. */
> +static void
> +prune_output_actions(const struct ofpbuf *in, struct ofpbuf *out)

Do you think it's worth clarifying that it's 'in->size'?  Otherwise it sounds like a separate argument.

> +/* Executes all of the datapath actions, except for any OVS_ACTION_ATTR_OUTPUT
> + * actions, in 'actions' on 'packet', which has the given 'flow', on 'dpif'.
> + * The actions have slow path reason 'slow' (if any).  Appends any error
> + * message to 'output'.
> + *
> + * This is mainly useful to execute actions to send a packet to an OpenFlow
> + * controller. */

Does this now generate NetFlow and sFlow events?  If so, do you think it's worth mentioning here and in the commit message?

Thanks for fixing this!

Acked-by: Justin Pettit <jpettit at ovn.org>

--Justin




More information about the dev mailing list