+20
−15
Loading
Default to using epoll unless __FreeBSD__ is defined. Add macros SPDK_KEVENT and SPDK_EPOLL to indicate whether epoll or kevent is present. The macros match the naming convention for SPDK_ZEROCOPY which controls zero copy in a similar way. Signed-off-by:Nick Connolly <nick.connolly@mayadata.io> Change-Id: I4c46fb94b254cb075427bfe07a8085887254c45a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6466 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>