On Fri, Feb 14, 2020 at 05:54:26PM +0000, anton.iva...@cambridgegreys.com wrote:
> From: Anton Ivanov <anton.iva...@cambridgegreys.com>
> 
> In order to allow switching between poll and epoll we need to
> switch from the direct use of POLLXXX macros to OVS_POLLXXX which
> can be either POLLXXX or EPOLLXXX depending on the actual backend.
> 
> Signed-off-by: Anton Ivanov <anton.iva...@cambridgegreys.com>

I'm not sure that this level of abstraction is useful or needed,
especially since POLL* and EPOLL* appear to actually have the same
values.  It might be easier to just add some BUILD_ASSERT checks that
this is the case.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to