On 24 August 2016 at 00:20, Amrane Ait Zeouay <a.zeouayam...@gmail.com> wrote:
> Hi,
>
> I want to know which function in datapath that receive the flow from
> userspace, and how it cast it to the flow key in datapath, also which
> function send the flow in userspace to the datapath ? because i have a field
> in struct flow and i want to send it  to the datapath I already added the
> field in the struct sw_key (datapath)
> Thank you,

You can see the datapath operations getting assembled in userspace in
handle_upcalls().

The ovs_flow_cmd_* functions in datapath/datapath.c are the linux
entrypoints from userspace. For example, 'new' is for a flow_put;
'execute' is for executing actions.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to