[ovs-discuss] Adding a new OpenFlow action to ovs, ctx->xin->packet is null

Christian Stigen Larsen cslarsen at gmail.com
Sun May 11 19:03:45 UTC 2014


Christian Stigen Larsen <cslarsen at gmail.com>:
> When translating the action, I do:
> 
> struct ofpbuf* odp_actions = &ctx->xout->odp_actions;
> nl_msg_put_unspec(odp_actions, OVS_ACTION_ATTR_FOO,
>                                 &foo, sizeof(struct ovs_action_foo));

This is done in do_xlate_actions, but I haven't added anything to
xlate_actions__. Is this where data is moved to the datapath?

-- 
Christian Stigen Larsen



More information about the discuss mailing list