[ovs-discuss] Moving first packet to userspace

Kevin Wilson wkevils at gmail.com
Thu Apr 17 07:19:54 UTC 2014


Hello,
  I have a question regarding the openvswitch code, which I am trying to learn.

Packets are handled by the ovs_dp_process_received_packet() method,
which performs a lookup with ovs_flow_tbl_lookup_stats()
In case the lookup fails, the packet is moved to userspace by
calling queue_userspace_packet(), which creates a generic netlink packet.

AFAIK, this packet triggers adding a corresponding flow in userspace.
My question is about implementation: Who handles this packet in
userspace? is it openvswitchd ? what is the handler method in
userspace  and where is the addition of the flow done in userspace ?

regards,
Kevin



More information about the discuss mailing list