[ovs-discuss] Flow miss.

Bhargav Bhikkaji bhargav.ietf at gmail.com
Tue Apr 15 18:34:14 UTC 2014


When a flow is missed in datapath (kernel), queue_userspace_packet calls
genlmsg_unicast to transfer skb to userspace. In userspace context, 2
threads are of interest, udpif_dispatcher & udpif_upcall_handler.

udpif_upcall_handle seems to check semantics about missed flow and
subsequtently installs a new flow in datapath (if required) thro'
udpif_upcall_handle-->handle_upcalls-->dpif_operate-->dpif_linux_operate-->dpif_linux_operate_-->netlink
msg with OVS_FLOW_CMD_NEW

What is the purpose of dpif_linux_recv ?. It is seems to called thro'
thread udpif_dispatcher and parses the received packet using
parse_odp_packet.

-Bhargav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20140415/f2140659/attachment-0002.html>


More information about the discuss mailing list