On Fri, Feb 19, 2016 at 12:40:19PM -0800, Andy Zhou wrote: > Poll group is a new poll class that sits between application and > the stream class. Poll group compliments the poll loop facility and the > stream class to make main loop more efficient when dealing with > large number of current connections. > > See comments in poll-group-provider.h for more details. > > Signed-off-by: Andy Zhou <az...@ovn.org>
Usually we build a provider interface when we expect there to be more than one implementation on a given platform. For example, netdevs have a provider interface because a single system might have system network devices, and DPDK network devices, and tunnel network devices, and so on. Similarly, dpifs have a provider interface because a single system can have netlink and netdev dpifs at the same time. But in other cases we don't have a provider interface even though there is implementation diversity, because a given system has only one implementation and we know which one it is at compile time. The daemon and latch libraries are examples. Do we expect there to be more than one implementation of poll groups on a given system? _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev