On Wed, Mar 11, 2015 at 07:14:05PM +0800, Vinllen Chen wrote: > When i read the source code of ovs, i found the userspace receives > netlink message by epoll. But in the explanition of dpif.h, datapath starts > many threads to receiving netlink. > Could anybody give me a definite answer that how does the userspace and > kernel space receive netlink messages.
epoll doesn't receive anything; it doesn't have any functionality for receiving anything. Userspace uses netlink sockets to receive netlink messages from the kernel. It does use multiple threads for that. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss