On Sat, Aug 18, 2012 at 11:10:50AM +0800, Baohua Yang wrote:
> <1> All incoming network packet will be handler
> by ovs_dp_process_received_packet(), right?
> In  ovs_dp_process_received_packet(), for the missing
> packets, ovs_dp_upcall() will be called to send the OVS_PACKET_CMD_MISS
> cmd, and further, the queue_userspace_packet() will be called. But where to
> issue other cmds like  OVS_PACKET_CMD_ACTION ?

OVS_PACKET_CMD_ACTION is emitted by an explicit action that userspace
sets up as part of a flow.

> <2> In queue_userspace_packet(), a nl msg is generated, where would the msg
> be sent to? Or who is the handler? Seems it is a dp_packet_genl_family msg,
> but there is only a handler for the OVS_PACKET_EXECUTE cmd.

To userspace, which receives it from a socket with a system call.

> <3> I grep the entire codes, but who is the handler to  cmds
> like OVS_PACKET_CMD_MISS  and OVS_PACKET_CMD_ACTION. The ovs-vswitchd?

Yes.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to