in kernel mode, ovs use a hook function(netdev_frame_hook) to receive pkts from 
kernel and then   process pkts use other function(netdev_port_receive). all of 
these functions are in single thread as I can't see any thread create code in 
kernel pkt process. it means that only after pkt process complete the hook 
function can return. only in this way another pkt can enter the hook function. 
it means the pkt process in kernel mode is single thread. if not, how does 
multi thread realize?

Thanks
Tony Sun


发自我的 iPhone




_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to