On Tue, May 19, 2015 at 09:36:11PM +0200, luc wrote:
> I am new to the openvswitch code, while going through the user space and
> kernel space codes, I have one question which confused me a bit:
> 
> When kernel space can not find a flow entry in its table, it will pop up
> the packet to user space level. After user space knows the corresponding
> rule, does it sends back the forwarding decision to the kernel space again?
> 
> If yes, where can I find such "feedback" forwarding decision in the kernel
> space code?

Yes, userspace uses OVS_PACKET_CMD_EXECUTE to send the packet followed
by OVS_FLOW_CMD_NEW to add a flow to the kernel flow table.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to